time="2024-09-18T16:20:58Z" level=warning msg="/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/integration-test/docker-compose.yaml: `version` is obsolete" Container integration-test-experiment-1 Creating Container integration-test-federation-1 Creating Container integration-test-authentication-1 Creating Container integration-test-device-1 Creating Container integration-test-forwarding-1 Creating Container integration-test-gateway-1 Creating Container integration-test-authorization-1 Creating Container integration-test-gateway-1 Created Container integration-test-forwarding-1 Created Container integration-test-device-1 Created Container integration-test-federation-1 Created Container integration-test-experiment-1 Created Container integration-test-authentication-1 Created Container integration-test-authorization-1 Created Attaching to authentication-1, authorization-1, device-1, experiment-1, federation-1, forwarding-1, gateway-1 gateway-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration gateway-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ gateway-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh gateway-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf gateway-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf gateway-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh gateway-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-create_config.sh gateway-1 | 20-create_config.sh: Running envsubst on /etc/nginx/templates/authorization_service.conf to /etc/nginx/authorization_service.conf gateway-1 | 20-create_config.sh: Running envsubst on /etc/nginx/templates/nginx.conf to /etc/nginx/nginx.conf gateway-1 | 20-create_config.sh: Running envsubst on /etc/nginx/templates/device_service.conf to /etc/nginx/device_service.conf gateway-1 | 20-create_config.sh: Running envsubst on /etc/nginx/templates/experiment_service.conf to /etc/nginx/experiment_service.conf gateway-1 | 20-create_config.sh: Running envsubst on /etc/nginx/templates/auth_service.conf to /etc/nginx/auth_service.conf gateway-1 | 20-create_config.sh: Running envsubst on /etc/nginx/templates/federation_service.conf to /etc/nginx/federation_service.conf gateway-1 | 20-create_config.sh: Running envsubst on /etc/nginx/templates/api_json_errors.conf to /etc/nginx/api_json_errors.conf gateway-1 | 20-create_config.sh: Running envsubst on /etc/nginx/templates/forwarding_service.conf to /etc/nginx/forwarding_service.conf gateway-1 | 20-create_config.sh: Running envsubst on /etc/nginx/templates/api_backends.conf to /etc/nginx/api_backends.conf gateway-1 | 20-create_config.sh: Running envsubst on /etc/nginx/templates/api_gateway.conf to /etc/nginx/api_gateway.conf gateway-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh gateway-1 | /docker-entrypoint.sh: Configuration complete; ready for start up forwarding-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} forwarding-1 | {"level":"info","message":"Forwarding Service started successfully"} authorization-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} federation-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} authentication-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} experiment-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} federation-1 | {"level":"info","message":"Federation Service started successfully"} authorization-1 | {"addrs":["localhost:3011"],"diagnostic-addrs":[],"level":"info","msg":"Initializing server.","subsystem":"opa","time":"2024-09-18T16:21:39Z"} device-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} experiment-1 | {"level":"info","message":"Experiment Service started successfully"} authorization-1 | {"client_addr":"127.0.0.1:51824","level":"info","msg":"Received request.","req_id":1,"req_method":"GET","req_path":"/","subsystem":"opa","time":"2024-09-18T16:21:40Z"} authorization-1 | {"client_addr":"127.0.0.1:51824","level":"info","msg":"Sent response.","req_id":1,"req_method":"GET","req_path":"/","resp_bytes":1424,"resp_duration":0.281659,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:40Z"} device-1 | {"level":"info","message":"Device Service started successfully"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"๐Ÿงช experimental features enabled: []","subsystem":"openfga","timestamp":1726676500.2287152} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"using 'memory' storage engine","subsystem":"openfga","timestamp":1726676500.2288232} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"warn","message":"authentication is disabled","subsystem":"openfga","timestamp":1726676500.2288454} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"warn","message":"grpc TLS is disabled, serving connections using insecure plaintext","subsystem":"openfga","timestamp":1726676500.2288725} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"๐Ÿ“ˆ starting metrics server on '0.0.0.0:2112'","subsystem":"openfga","timestamp":1726676500.228897} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","date":"2023-06-30T20:11:20Z","go-version":"go1.20.5","level":"info","message":"๐Ÿš€ starting openfga service...","subsystem":"openfga","timestamp":1726676500.2289557,"version":"v1.2.0"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"grpc server listening on 'localhost:3012'...","subsystem":"openfga","timestamp":1726676500.2295778} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"HTTP server listening on 'localhost:3013'...","subsystem":"openfga","timestamp":1726676500.2305639} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"CreateStore","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"name":"crosslab"},"raw_response":{"created_at":"2024-09-18T16:21:40.247571004Z","id":"01J82Z0ZRQX54QPANANXRRAA61","name":"crosslab","updated_at":"2024-09-18T16:21:40.247571004Z"},"request_id":"5054c6fc-2d33-47f3-a16e-446d9771261a","subsystem":"openfga","timestamp":1726676500.247698} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"WriteAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"schema_version":"1.1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]},"raw_response":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2"},"request_id":"7ea9a0ac-49e2-410c-acb8-e9f4bfe6b84f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676500.2913377} authentication-1 | {"level":"info","message":"Authentication Service started successfully"} authorization-1 | {"client_addr":"127.0.0.1:51824","level":"info","msg":"Received request.","req_id":2,"req_method":"PUT","req_path":"/v1/data/jwt_secret","subsystem":"opa","time":"2024-09-18T16:21:40Z"} authorization-1 | {"client_addr":"127.0.0.1:51824","level":"info","msg":"Sent response.","req_id":2,"req_method":"PUT","req_path":"/v1/data/jwt_secret","resp_bytes":0,"resp_duration":0.212711,"resp_status":204,"subsystem":"opa","time":"2024-09-18T16:21:40Z"} authorization-1 | {"level":"info","message":"Authorization Service started successfully"} authorization-1 | {"current_version":"0.54.0","download_opa":"https://openpolicyagent.org/downloads/v0.68.0/opa_linux_amd64","latest_version":"0.68.0","level":"info","msg":"OPA is out of date.","release_notes":"https://github.com/open-policy-agent/opa/releases/tag/v0.68.0","subsystem":"opa","time":"2024-09-18T16:21:41Z"} gateway-1 | {"time_local":"18/Sep/2024:16:21:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"HEAD /auth/status HTTP/1.1","status": "200","body_bytes_sent":"0","request_time":"0.028","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"6465adf83e185e2875cf0ba04c46f250"} authentication-1 | {"level":"info","message":"HEAD /auth/status 200 18ms","method":"HEAD","requestID":"6465adf83e185e2875cf0ba04c46f250","responseTime":18,"status":200,"url":"/auth/status"} gateway-1 | {"time_local":"18/Sep/2024:16:21:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"HEAD /device/status HTTP/1.1","status": "200","body_bytes_sent":"0","request_time":"0.030","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"7fd4bf2266d2119cab40e6e088ba7dba"} device-1 | {"level":"info","message":"HEAD /device/status 200 20ms","method":"HEAD","requestID":"17ed1b30-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/device/status"} gateway-1 | {"time_local":"18/Sep/2024:16:21:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"HEAD /authorization/status HTTP/1.1","status": "200","body_bytes_sent":"0","request_time":"0.010","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"7caaac504a4cb51954ebee2a0ecb5023"} authorization-1 | {"level":"info","message":"HEAD /authorization/status 200 7ms","method":"HEAD","requestID":"7caaac504a4cb51954ebee2a0ecb5023","responseTime":7,"status":200,"url":"/authorization/status"} gateway-1 | {"time_local":"18/Sep/2024:16:21:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"HEAD /federation/status HTTP/1.1","status": "200","body_bytes_sent":"0","request_time":"0.016","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"4dec8bed1d734dd8a887d6ee3c8eff08"} federation-1 | {"level":"info","message":"HEAD /federation/status 200 11ms","method":"HEAD","requestID":"17f4e360-75da-11ef-aca7-f15db7d85a09","responseTime":11,"status":200,"url":"/federation/status"} gateway-1 | {"time_local":"18/Sep/2024:16:21:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"HEAD /experiment/status HTTP/1.1","status": "200","body_bytes_sent":"0","request_time":"0.016","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"058a1b0d696ace5f284cb1abc6bd9db8"} experiment-1 | {"level":"info","message":"HEAD /experiment/status 200 10ms","method":"HEAD","requestID":"17f88ce0-75da-11ef-86b4-b34f5f24b00f","responseTime":10,"status":200,"url":"/experiment/status"} gateway-1 | {"time_local":"18/Sep/2024:16:21:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"HEAD /forwarding/status HTTP/1.1","status": "200","body_bytes_sent":"0","request_time":"0.014","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"57ffefa1c85bc1d0121f925f703266ec"} forwarding-1 | {"level":"info","message":"HEAD /forwarding/status 200 8ms","method":"HEAD","requestID":"17fbc130-75da-11ef-9672-db8da4810e4b","responseTime":8,"status":200,"url":"/forwarding/status"} gateway-1 | {"time_local":"18/Sep/2024:16:21:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /login HTTP/1.1","status": "201","body_bytes_sent":"88","request_time":"0.165","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f1a5494c43b132b1b69bafd61e4d07a1"} authentication-1 | {"level":"info","message":"POST /login 201 144ms","method":"POST","requestID":"f1a5494c43b132b1b69bafd61e4d07a1","responseTime":144,"status":201,"url":"/login"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwNn0.mbKH6sQg8bM7kiopyCkZF3zOIXF3nKfdsT3iufPY9P8","level":"info","message":"auth send jwt","requestID":"0ef3874ee9fa902c9484ce248c7bd3b0"} authentication-1 | {"level":"info","message":"GET /auth 200 23ms","method":"GET","requestID":"0ef3874ee9fa902c9484ce248c7bd3b0","responseTime":23,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"0ef3874ee9fa902c9484ce248c7bd3b0"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":3,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:46Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":3,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":2.792628,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:46Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0ef3874ee9fa902c9484ce248c7bd3b0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676506,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwNn0.mbKH6sQg8bM7kiopyCkZF3zOIXF3nKfdsT3iufPY9P8"} authorization-1 | {"level":"info","message":"POST /authorize 200 34ms","method":"POST","requestID":"0ef3874ee9fa902c9484ce248c7bd3b0","responseTime":34,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"830c66c6-2c38-4cee-ac98-2c50154f51b6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676506.8020236} authorization-1 | {"level":"info","message":"POST /relations/query 200 12ms","method":"POST","requestID":"0ef3874ee9fa902c9484ce248c7bd3b0","responseTime":12,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"53e6da64-0217-4a8f-9911-6438baf4c768","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676506.8202095} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"0ef3874ee9fa902c9484ce248c7bd3b0","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"165a02e0-7364-4e5e-bbf8-be303cef06f0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676506.8397212} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4010d8c7-bf7a-40bb-8340-0e955a6aeca8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676506.840428} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"0ef3874ee9fa902c9484ce248c7bd3b0","responseTime":24,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:46.839701493Z"}]},"request_id":"f709b573-93d6-4086-aeed-6eb89ced14e3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676506.8489995} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0ef3874ee9fa902c9484ce248c7bd3b0","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"0ef3874ee9fa902c9484ce248c7bd3b0"} gateway-1 | {"time_local":"18/Sep/2024:16:21:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.308","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0ef3874ee9fa902c9484ce248c7bd3b0"} device-1 | {"level":"info","message":"POST /devices? 201 259ms","method":"POST","requestID":"0ef3874ee9fa902c9484ce248c7bd3b0","responseTime":259,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwNn0.mbKH6sQg8bM7kiopyCkZF3zOIXF3nKfdsT3iufPY9P8","level":"info","message":"auth send jwt","requestID":"456b7cf28d1a0f1ba111dfb4c078881b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"456b7cf28d1a0f1ba111dfb4c078881b","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"456b7cf28d1a0f1ba111dfb4c078881b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":4,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:46Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":4,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.692845,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:46Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"456b7cf28d1a0f1ba111dfb4c078881b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676506,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwNn0.mbKH6sQg8bM7kiopyCkZF3zOIXF3nKfdsT3iufPY9P8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"456b7cf28d1a0f1ba111dfb4c078881b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"649ae1e4-8fdc-45ad-8b3d-03221721ad01","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676506.9093406} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"456b7cf28d1a0f1ba111dfb4c078881b","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3525b190-e117-4063-8eaf-c4cb2196ac7a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676506.9211736} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"456b7cf28d1a0f1ba111dfb4c078881b","responseTime":7,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"71ce90f6-f759-433c-8036-e1774378183b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676506.9370117} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"98812e33-9a7c-4aaa-b78b-2ce0ee443a0c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676506.937693} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"456b7cf28d1a0f1ba111dfb4c078881b","responseTime":22,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:46.936994679Z"}]},"request_id":"92361195-d9eb-4094-9722-99aefc8ca8f5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676506.9507604} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"456b7cf28d1a0f1ba111dfb4c078881b","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"456b7cf28d1a0f1ba111dfb4c078881b"} gateway-1 | {"time_local":"18/Sep/2024:16:21:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.077","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"456b7cf28d1a0f1ba111dfb4c078881b"} device-1 | {"level":"info","message":"POST /devices? 201 70ms","method":"POST","requestID":"456b7cf28d1a0f1ba111dfb4c078881b","responseTime":70,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"54988e0bb736c2af96efe97e640443bf","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"54988e0bb736c2af96efe97e640443bf","responseTime":3,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9d90f3414db4e854d7e97fcea4e78589","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"9d90f3414db4e854d7e97fcea4e78589","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:21:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.009","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"54988e0bb736c2af96efe97e640443bf"} device-1 | {"level":"info","message":"OPTIONS /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11/websocket 200 2ms","method":"OPTIONS","requestID":"54988e0bb736c2af96efe97e640443bf","responseTime":2,"status":200,"url":"/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:21:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.012","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"9d90f3414db4e854d7e97fcea4e78589"} device-1 | {"level":"info","message":"OPTIONS /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1/websocket 200 2ms","method":"OPTIONS","requestID":"9d90f3414db4e854d7e97fcea4e78589","responseTime":2,"status":200,"url":"/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o","level":"info","message":"auth send jwt","requestID":"9c9d3727335901a2eaac2ff1e4e41727"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"9c9d3727335901a2eaac2ff1e4e41727","responseTime":8,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o","level":"info","message":"auth send jwt","requestID":"d49d8122f509c9fea0a32e18d0de4f39"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"d49d8122f509c9fea0a32e18d0de4f39","responseTime":8,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"9c9d3727335901a2eaac2ff1e4e41727"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"d49d8122f509c9fea0a32e18d0de4f39"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":5,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":5,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.815811,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:49Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9c9d3727335901a2eaac2ff1e4e41727","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676509,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 13ms","method":"POST","requestID":"9c9d3727335901a2eaac2ff1e4e41727","responseTime":13,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Received request.","req_id":6,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Sent response.","req_id":6,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.80773,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:49Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d49d8122f509c9fea0a32e18d0de4f39","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676509,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"d49d8122f509c9fea0a32e18d0de4f39","responseTime":12,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"d49d8122f509c9fea0a32e18d0de4f39"} gateway-1 | {"time_local":"18/Sep/2024:16:21:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.058","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d49d8122f509c9fea0a32e18d0de4f39"} device-1 | {"level":"info","message":"POST /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1/websocket 200 43ms","method":"POST","requestID":"d49d8122f509c9fea0a32e18d0de4f39","responseTime":43,"status":200,"url":"/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"9c9d3727335901a2eaac2ff1e4e41727"} gateway-1 | {"time_local":"18/Sep/2024:16:21:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.076","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"9c9d3727335901a2eaac2ff1e4e41727"} device-1 | {"level":"info","message":"POST /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11/websocket 200 66ms","method":"POST","requestID":"9c9d3727335901a2eaac2ff1e4e41727","responseTime":66,"status":200,"url":"/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cd0b5c5a2055c315b000748a7d6125dc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"cd0b5c5a2055c315b000748a7d6125dc","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"52e6d23fb5a8aabd82f3dcf361318204","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} gateway-1 | {"time_local":"18/Sep/2024:16:21:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"cd0b5c5a2055c315b000748a7d6125dc"} device-1 | {"level":"info","message":"OPTIONS /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11? 200 1ms","method":"OPTIONS","requestID":"cd0b5c5a2055c315b000748a7d6125dc","responseTime":1,"status":200,"url":"/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11?"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"52e6d23fb5a8aabd82f3dcf361318204","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:21:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.007","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"52e6d23fb5a8aabd82f3dcf361318204"} device-1 | {"level":"info","message":"OPTIONS /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1? 200 1ms","method":"OPTIONS","requestID":"52e6d23fb5a8aabd82f3dcf361318204","responseTime":1,"status":200,"url":"/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o","level":"info","message":"auth send jwt","requestID":"2833b1c2830af514557731edaf6b2bbd"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"2833b1c2830af514557731edaf6b2bbd","responseTime":6,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o","level":"info","message":"auth send jwt","requestID":"4645fc77d75ba08e164b72bd208ca4a8"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"4645fc77d75ba08e164b72bd208ca4a8","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"2833b1c2830af514557731edaf6b2bbd"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"4645fc77d75ba08e164b72bd208ca4a8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":7,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":7,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.131084,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Received request.","req_id":8,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Sent response.","req_id":8,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.959467,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:49Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2833b1c2830af514557731edaf6b2bbd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676509,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"2833b1c2830af514557731edaf6b2bbd","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4645fc77d75ba08e164b72bd208ca4a8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676509,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"4645fc77d75ba08e164b72bd208ca4a8","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:46.936994679Z"}]},"request_id":"3a954c9e-a8b3-4f77-8222-befb4147e0d7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676509.5709484} authorization-1 | {"level":"info","message":"POST /relations/query 200 11ms","method":"POST","requestID":"2833b1c2830af514557731edaf6b2bbd","responseTime":11,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:46.839701493Z"}]},"request_id":"ec25e741-6eec-4d75-afb6-6a58b94cc974","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676509.574972} authorization-1 | {"level":"info","message":"POST /relations/query 200 11ms","method":"POST","requestID":"4645fc77d75ba08e164b72bd208ca4a8","responseTime":11,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"85e95965-65f7-4ca2-a4bd-490977029d91","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676509.58771} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"2833b1c2830af514557731edaf6b2bbd","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f88b2e6e-5916-4790-9f0e-c260cd5969db","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676509.593393} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"4645fc77d75ba08e164b72bd208ca4a8","responseTime":10,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:46.839701493Z"}]},"request_id":"79674bf9-00c3-4d07-b8ca-55fea25456e3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676509.6064446} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"4645fc77d75ba08e164b72bd208ca4a8","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"4645fc77d75ba08e164b72bd208ca4a8"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:46.936994679Z"}]},"request_id":"361d9164-041f-46dd-81a1-38036435403f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676509.6125753} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2833b1c2830af514557731edaf6b2bbd","responseTime":4,"status":200,"url":"/relations/query"} gateway-1 | {"time_local":"18/Sep/2024:16:21:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.095","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4645fc77d75ba08e164b72bd208ca4a8"} device-1 | {"level":"info","message":"PATCH /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1? 200 78ms","method":"PATCH","requestID":"4645fc77d75ba08e164b72bd208ca4a8","responseTime":78,"status":200,"url":"/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1?"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"2833b1c2830af514557731edaf6b2bbd"} gateway-1 | {"time_local":"18/Sep/2024:16:21:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.101","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"2833b1c2830af514557731edaf6b2bbd"} device-1 | {"level":"info","message":"PATCH /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11? 200 93ms","method":"PATCH","requestID":"2833b1c2830af514557731edaf6b2bbd","responseTime":93,"status":200,"url":"/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o","level":"info","message":"auth send jwt","requestID":"7629450f0830bee1034e01c6fc7ad1b3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7629450f0830bee1034e01c6fc7ad1b3","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7629450f0830bee1034e01c6fc7ad1b3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":9,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":9,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.814507,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7629450f0830bee1034e01c6fc7ad1b3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676509,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7629450f0830bee1034e01c6fc7ad1b3","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:46.839701493Z"}]},"request_id":"814a3b69-d385-497d-8d60-bd778abf775e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676509.6544445} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"7629450f0830bee1034e01c6fc7ad1b3","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7629450f0830bee1034e01c6fc7ad1b3"} gateway-1 | {"time_local":"18/Sep/2024:16:21:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.036","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7629450f0830bee1034e01c6fc7ad1b3"} device-1 | {"level":"info","message":"GET /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1? 200 29ms","method":"GET","requestID":"7629450f0830bee1034e01c6fc7ad1b3","responseTime":29,"status":200,"url":"/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o","level":"info","message":"auth send jwt","requestID":"367b7d91be93d7b11ab7ea4d97c7f171"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"367b7d91be93d7b11ab7ea4d97c7f171","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"367b7d91be93d7b11ab7ea4d97c7f171"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":10,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":10,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.317954,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"367b7d91be93d7b11ab7ea4d97c7f171","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676509,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"367b7d91be93d7b11ab7ea4d97c7f171","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:46.936994679Z"}]},"request_id":"b334b41a-3a9f-4937-b414-d688432a1dac","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676509.6943138} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"367b7d91be93d7b11ab7ea4d97c7f171","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"367b7d91be93d7b11ab7ea4d97c7f171"} gateway-1 | {"time_local":"18/Sep/2024:16:21:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.030","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"367b7d91be93d7b11ab7ea4d97c7f171"} device-1 | {"level":"info","message":"GET /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11? 200 24ms","method":"GET","requestID":"367b7d91be93d7b11ab7ea4d97c7f171","responseTime":24,"status":200,"url":"/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o","level":"info","message":"auth send jwt","requestID":"5385737da734a50b085b6cf12005b4d7"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"5385737da734a50b085b6cf12005b4d7","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"5385737da734a50b085b6cf12005b4d7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":11,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":11,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.785475,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:49Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5385737da734a50b085b6cf12005b4d7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676509,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5385737da734a50b085b6cf12005b4d7","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"},"level":"info","message":"Attempting to run experiment","requestID":"5385737da734a50b085b6cf12005b4d7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"},"level":"info","message":"Attempting to book experiment","requestID":"5385737da734a50b085b6cf12005b4d7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"},"level":"info","message":"Successfully booked experiment","requestID":"5385737da734a50b085b6cf12005b4d7"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1ba9ae00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1ba9fc20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":12,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":12,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.908118,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1ba9ae00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676509,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"1ba9ae00-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Received request.","req_id":13,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Sent response.","req_id":13,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.599768,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1ba9fc20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676509,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"1ba9fc20-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:46.839701493Z"}]},"request_id":"d02badec-bf16-4abb-baef-b1aaf6ca6bdc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676509.9327931} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"1ba9ae00-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:46.936994679Z"}]},"request_id":"2264d7b1-c238-4085-b8e2-951e7d55b1e2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676509.9350126} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1ba9fc20-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1ba9ae00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1? 200 20ms","method":"GET","requestID":"1ba9ae00-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1ba9fc20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11? 200 19ms","method":"GET","requestID":"1ba9fc20-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"},"level":"info","message":"Setting up experiment","requestID":"5385737da734a50b085b6cf12005b4d7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"5385737da734a50b085b6cf12005b4d7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"},"level":"info","message":"Successfully locked booking for experiment","requestID":"5385737da734a50b085b6cf12005b4d7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"5385737da734a50b085b6cf12005b4d7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"5385737da734a50b085b6cf12005b4d7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"},"level":"info","message":"Attempting to update booking for experiment","requestID":"5385737da734a50b085b6cf12005b4d7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"},"level":"info","message":"Successfully updated booking for experiment","requestID":"5385737da734a50b085b6cf12005b4d7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"},"level":"info","message":"Successfully set up experiment","requestID":"5385737da734a50b085b6cf12005b4d7"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1bb8f040-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1bb93e60-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":14,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":14,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.209536,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Received request.","req_id":15,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"},"level":"info","message":"Successfully running experiment","requestID":"5385737da734a50b085b6cf12005b4d7"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1bb8f040-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676509,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1bb8f040-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Sent response.","req_id":15,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.797706,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1bb98c80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1bb93e60-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676509,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"1bb93e60-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":16,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"01bd1df4-477f-43b8-8cbd-a7cfc957ce5d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.0344594} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:46.839701493Z"}]},"request_id":"f0583f01-b0b0-410c-92a3-bd6814df52c0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.035331} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:46.936994679Z"}]},"request_id":"8f03a479-1418-42bd-833e-37c874a2c518","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.0367005} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":16,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.87353,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1bb98c80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"1bb98c80-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"1bb8f040-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"1bb93e60-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fedff6333-332b-4c0a-8508-6d6a42a74c1c#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fedff6333-332b-4c0a-8508-6d6a42a74c1c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"cdac31d1-f7cf-4d30-96b2-368c50d3a501","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.0442472} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9cb0319d-82e1-4f2b-9e8b-2f588da3ffcf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.044485} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1bb98c80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"5385737da734a50b085b6cf12005b4d7","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"POST /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1/signaling 200 26ms","method":"POST","requestID":"1bb98c80-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":200,"url":"/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1bb8f040-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1? 200 31ms","method":"GET","requestID":"1bb8f040-75da-11ef-ba7c-09eaa4331ae1","responseTime":31,"status":200,"url":"/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1bb93e60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11? 200 31ms","method":"GET","requestID":"1bb93e60-75da-11ef-ba7c-09eaa4331ae1","responseTime":31,"status":200,"url":"/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1bbee3b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":17,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1bbfa700-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"69672582-2bb6-4123-8257-a8ddb25a807d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.065184} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":17,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.88929,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1bbee3b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"5385737da734a50b085b6cf12005b4d7"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"1bbee3b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":18,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1bbee3b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11/signaling 200 13ms","method":"POST","requestID":"1bbee3b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d70d42b8-1ffa-4e01-956a-4e0f5176ea63","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.07192} experiment-1 | {"level":"info","message":"POST /experiments? 201 329ms","method":"POST","requestID":"5385737da734a50b085b6cf12005b4d7","responseTime":329,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":18,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.788144,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1bbfa700-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"1bbfa700-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:21:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"808","request_time":"0.360","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5385737da734a50b085b6cf12005b4d7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1bbfa700-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1/signaling 200 14ms","method":"POST","requestID":"1bbfa700-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1bc26620-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMH0._rnd33-Y1f0hEVOLKnfSDMo291-XOe_3ZkA5q2rqosk","level":"info","message":"auth send jwt","requestID":"3044e8eb9332fab348a089111dd173db"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3044e8eb9332fab348a089111dd173db","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3044e8eb9332fab348a089111dd173db"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":19,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3151cf23-52a5-40f0-b7f2-7720bd6a0215","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.0873468} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":19,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.317314,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Received request.","req_id":20,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1bc26620-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"1bc26620-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Sent response.","req_id":20,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.636273,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3044e8eb9332fab348a089111dd173db","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676510,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMH0._rnd33-Y1f0hEVOLKnfSDMo291-XOe_3ZkA5q2rqosk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3044e8eb9332fab348a089111dd173db","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1bc26620-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11/signaling 200 12ms","method":"POST","requestID":"1bc26620-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:46.839701493Z"}]},"request_id":"2ffbb67f-929a-40d8-9a75-2a63b2174d64","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.094822} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"5385737da734a50b085b6cf12005b4d7"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"3044e8eb9332fab348a089111dd173db","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3044e8eb9332fab348a089111dd173db"} gateway-1 | {"time_local":"18/Sep/2024:16:21:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3044e8eb9332fab348a089111dd173db"} device-1 | {"level":"info","message":"GET /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1? 200 15ms","method":"GET","requestID":"3044e8eb9332fab348a089111dd173db","responseTime":15,"status":200,"url":"/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1?"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1bc54c50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1bc57360-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMH0._rnd33-Y1f0hEVOLKnfSDMo291-XOe_3ZkA5q2rqosk","level":"info","message":"auth send jwt","requestID":"5402c2e7c218f54a1cb9760bfa37c04d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":21,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":21,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.706054,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Received request.","req_id":22,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5402c2e7c218f54a1cb9760bfa37c04d","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1bc54c50-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676509,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5402c2e7c218f54a1cb9760bfa37c04d"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1bc54c50-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Sent response.","req_id":22,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.628512,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1bc57360-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676509,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1bc57360-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":23,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":23,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.417118,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5402c2e7c218f54a1cb9760bfa37c04d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676510,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMH0._rnd33-Y1f0hEVOLKnfSDMo291-XOe_3ZkA5q2rqosk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5402c2e7c218f54a1cb9760bfa37c04d","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:46.839701493Z"}]},"request_id":"9e00b474-e290-41b5-9c1e-63a7ab50db4c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.1125867} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:46.936994679Z"}]},"request_id":"dd11906f-e9a3-4685-b5eb-c9c4ab1160d3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.1134708} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"1bc54c50-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"1bc57360-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:46.936994679Z"}]},"request_id":"dcce0d94-78db-4724-82e1-2f17f30b719e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.1186852} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1bc54c50-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5402c2e7c218f54a1cb9760bfa37c04d","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1? 200 19ms","method":"GET","requestID":"1bc54c50-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1bc57360-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11? 200 18ms","method":"GET","requestID":"1bc57360-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5402c2e7c218f54a1cb9760bfa37c04d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"},"level":"info","message":"Building connection plan","requestID":"5385737da734a50b085b6cf12005b4d7"} gateway-1 | {"time_local":"18/Sep/2024:16:21:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5402c2e7c218f54a1cb9760bfa37c04d"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"dfe9905e-a07b-4675-ac81-7e606b45d214"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"6bcc46c0-7905-45b9-b4e5-30d9adbbb45a"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"d7b12bcf-e45e-41fd-92d8-7d638f4842db"}]},"level":"info","message":"Built pairwise service configurations","requestID":"5385737da734a50b085b6cf12005b4d7"} device-1 | {"level":"info","message":"GET /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11? 200 17ms","method":"GET","requestID":"5402c2e7c218f54a1cb9760bfa37c04d","responseTime":17,"status":200,"url":"/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11?"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"5385737da734a50b085b6cf12005b4d7"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"1bc9b920-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":24,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":24,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.22093,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1bc9b920-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676509,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUwOX0.Q-f_3znWsgTYBLZmJ_1CzhOpD439atQwuklUJ-NqD6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1bc9b920-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"8b3765cf-5d33-4578-ae2e-6c789e6b7352","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.153321} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"45128eeb-47d5-498f-86a9-3f9a3a0214b8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.1535923} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"1bc9b920-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"1bc9b920-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"1bc9b920-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/6e519433-42ca-433b-8caa-64c5a9780642'","requestID":"1bc9b920-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/6e519433-42ca-433b-8caa-64c5a9780642'","requestID":"1bc9b920-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"1bc9b920-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 42ms","method":"POST","requestID":"1bc9b920-75da-11ef-ba7c-09eaa4331ae1","responseTime":42,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"1bc9b920-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"5385737da734a50b085b6cf12005b4d7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1bd68a60-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":25,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5c3223ea-cef9-4121-bd46-121364fccfe2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.218635} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":25,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.294049,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1bd68a60-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1bd68a60-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1bd68a60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1/signaling 200 9ms","method":"POST","requestID":"1bd68a60-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1bd85f20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":26,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"11f1acd9-a642-4cd9-872c-43e70670c2af","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.2304752} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":26,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.190688,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1bd85f20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1bd85f20-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1bd85f20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11/signaling 200 9ms","method":"POST","requestID":"1bd85f20-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11/signaling"} device-1 | {"device":"55484dae-b9ca-489a-bfd5-4015c6c79b11","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"55484dae-b9ca-489a-bfd5-4015c6c79b11","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"f540cb13-60c4-4767-bc67-ed91cc6da8a1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"f540cb13-60c4-4767-bc67-ed91cc6da8a1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 2636554959236380318 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:Suya\r\na=ice-pwd:hjiCvD4dgo9+Ot38TeII8oh7\r\na=ice-options:trickle\r\na=fingerprint:sha-256 92:40:4E:BA:AD:37:93:EA:DE:4A:05:96:20:23:CA:30:FB:9B:8F:08:34:CD:5F:F9:A2:1A:0F:CF:CB:B2:F4:8D\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"f540cb13-60c4-4767-bc67-ed91cc6da8a1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 5785919282558664732 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:QIJo\r\na=ice-pwd:hKstOAlVRbcZWHF0aYdtK96k\r\na=ice-options:trickle\r\na=fingerprint:sha-256 2A:5D:6E:13:12:79:10:03:5D:22:60:2E:03:09:09:75:A6:B3:E9:40:10:E0:C5:8E:D4:6A:97:99:87:12:72:14\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"55484dae-b9ca-489a-bfd5-4015c6c79b11","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1565477432 1 udp 2113937151 c01982bf-0ecb-4c86-88ff-98a094ae3c34.local 36871 typ host generation 0 ufrag QIJo network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"55484dae-b9ca-489a-bfd5-4015c6c79b11","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11'"} device-1 | {"content":{"candidate":"candidate:3647086663 1 udp 1677729535 141.24.211.56 36871 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag QIJo network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"55484dae-b9ca-489a-bfd5-4015c6c79b11","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3026289086 1 udp 2113937151 a0fee278-9d87-4678-99ce-314a676aa125.local 55351 typ host generation 0 ufrag Suya network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"f540cb13-60c4-4767-bc67-ed91cc6da8a1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:810347457 1 udp 1677729535 141.24.211.56 55351 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag Suya network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"f540cb13-60c4-4767-bc67-ed91cc6da8a1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1'"} device-1 | {"device":"f540cb13-60c4-4767-bc67-ed91cc6da8a1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"f540cb13-60c4-4767-bc67-ed91cc6da8a1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"55484dae-b9ca-489a-bfd5-4015c6c79b11","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"55484dae-b9ca-489a-bfd5-4015c6c79b11","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/6e519433-42ca-433b-8caa-64c5a9780642' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"6e519433-42ca-433b-8caa-64c5a9780642","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"f540cb13-60c4-4767-bc67-ed91cc6da8a1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"55484dae-b9ca-489a-bfd5-4015c6c79b11","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"55484dae-b9ca-489a-bfd5-4015c6c79b11","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"66b07c64ab29823c8073df6adabaa4f8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"66b07c64ab29823c8073df6adabaa4f8","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/6e519433-42ca-433b-8caa-64c5a9780642"}}},"level":"info","message":"received a callback","requestID":"66b07c64ab29823c8073df6adabaa4f8"} device-1 | {"data":{"peerconnection":"6e519433-42ca-433b-8caa-64c5a9780642","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 13ms","method":"POST","requestID":"66b07c64ab29823c8073df6adabaa4f8","responseTime":13,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:21:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch","requestID":"66b07c64ab29823c8073df6adabaa4f8"} device-1 | {"data":{"peerconnection":"6e519433-42ca-433b-8caa-64c5a9780642","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/6e519433-42ca-433b-8caa-64c5a9780642' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"6e519433-42ca-433b-8caa-64c5a9780642","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"38776b982527911b27d8d502d1b4175d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"38776b982527911b27d8d502d1b4175d","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/6e519433-42ca-433b-8caa-64c5a9780642"}}},"level":"info","message":"received a callback","requestID":"38776b982527911b27d8d502d1b4175d"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"1becf890-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":27,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F6e519433-42ca-433b-8caa-64c5a9780642","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"60686120-c003-4ccc-bc99-cfd38b8a0375","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.3658433} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":27,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.100098,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/6e519433-42ca-433b-8caa-64c5a9780642","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1becf890-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/6e519433-42ca-433b-8caa-64c5a9780642","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1becf890-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"1becf890-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/6e519433-42ca-433b-8caa-64c5a9780642 200 10ms","method":"GET","requestID":"1becf890-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/peerconnections/6e519433-42ca-433b-8caa-64c5a9780642"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 35ms","method":"POST","requestID":"38776b982527911b27d8d502d1b4175d","responseTime":35,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:21:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.039","http_referrer":"","http_user_agent":"node-fetch","requestID":"38776b982527911b27d8d502d1b4175d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1bf16560-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":28,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d0517797-4f9a-446a-8dc3-4b88dd07c38f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.3960161} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":28,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.790993,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMH0._rnd33-Y1f0hEVOLKnfSDMo291-XOe_3ZkA5q2rqosk","level":"info","message":"auth send jwt","requestID":"0dccd25274e8b8b0eab8dab5952c9d34"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1bf16560-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0dccd25274e8b8b0eab8dab5952c9d34","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"1bf16560-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c","requestID":"0dccd25274e8b8b0eab8dab5952c9d34"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1bf16560-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11/signaling 200 12ms","method":"POST","requestID":"1bf16560-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":29,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":29,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.674953,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0dccd25274e8b8b0eab8dab5952c9d34","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676510,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMH0._rnd33-Y1f0hEVOLKnfSDMo291-XOe_3ZkA5q2rqosk"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1bf3d660-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0dccd25274e8b8b0eab8dab5952c9d34","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":30,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8be5fecd-c3fb-4d51-ad6f-566fb9f689e9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.412072} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":30,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.66189,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1bf3d660-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"1bf3d660-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c","requestID":"0dccd25274e8b8b0eab8dab5952c9d34"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1bf3d660-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1/signaling 200 11ms","method":"POST","requestID":"1bf3d660-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1/signaling"} gateway-1 | {"time_local":"18/Sep/2024:16:21:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c HTTP/1.1","status": "200","body_bytes_sent":"881","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0dccd25274e8b8b0eab8dab5952c9d34"} experiment-1 | {"level":"info","message":"GET /experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c 200 18ms","method":"GET","requestID":"0dccd25274e8b8b0eab8dab5952c9d34","responseTime":18,"status":200,"url":"/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMH0._rnd33-Y1f0hEVOLKnfSDMo291-XOe_3ZkA5q2rqosk","level":"info","message":"auth send jwt","requestID":"c2347fb90092847d8f8bc11884cab668"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c2347fb90092847d8f8bc11884cab668","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c","requestID":"c2347fb90092847d8f8bc11884cab668"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":31,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":31,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.721217,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c2347fb90092847d8f8bc11884cab668","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676510,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMH0._rnd33-Y1f0hEVOLKnfSDMo291-XOe_3ZkA5q2rqosk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c2347fb90092847d8f8bc11884cab668","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"},"level":"info","message":"Attempting to finish experiment","requestID":"c2347fb90092847d8f8bc11884cab668"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"1bf8df70-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":32,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":32,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.718816,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/6e519433-42ca-433b-8caa-64c5a9780642","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1bf8df70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/6e519433-42ca-433b-8caa-64c5a9780642","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676510,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMH0._rnd33-Y1f0hEVOLKnfSDMo291-XOe_3ZkA5q2rqosk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1bf8df70-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/6e519433-42ca-433b-8caa-64c5a9780642","device":"55484dae-b9ca-489a-bfd5-4015c6c79b11","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/6e519433-42ca-433b-8caa-64c5a9780642","device":"f540cb13-60c4-4767-bc67-ed91cc6da8a1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/6e519433-42ca-433b-8caa-64c5a9780642' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/6e519433-42ca-433b-8caa-64c5a9780642' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"6e519433-42ca-433b-8caa-64c5a9780642","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"98e5967e00c9e4b960d66257fa0bee48","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"98e5967e00c9e4b960d66257fa0bee48","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ac4aedcbd00c4ebd8a74b3ad67842a9b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/6e519433-42ca-433b-8caa-64c5a9780642"}}},"level":"info","message":"received a callback","requestID":"98e5967e00c9e4b960d66257fa0bee48"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ac4aedcbd00c4ebd8a74b3ad67842a9b","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/6e519433-42ca-433b-8caa-64c5a9780642"}}},"level":"info","message":"received a callback","requestID":"ac4aedcbd00c4ebd8a74b3ad67842a9b"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F6e519433-42ca-433b-8caa-64c5a9780642': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F6e519433-42ca-433b-8caa-64c5a9780642","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"6b172607-ea94-492a-9265-5d471eb115a5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.4682665} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bd608066-d946-4044-a25f-d3258177425a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.4684584} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"1bf8df70-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"6e519433-42ca-433b-8caa-64c5a9780642","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"1bf8df70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/6e519433-42ca-433b-8caa-64c5a9780642 204 46ms","method":"DELETE","requestID":"1bf8df70-75da-11ef-ba7c-09eaa4331ae1","responseTime":46,"status":204,"url":"/peerconnections/6e519433-42ca-433b-8caa-64c5a9780642"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"},"level":"info","message":"Successfully finished experiment","requestID":"c2347fb90092847d8f8bc11884cab668"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1c02f190-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":33,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55484dae-b9ca-489a-bfd5-4015c6c79b11","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ab08da0f-aa25-4d38-a770-c80778ba4051","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.5160828} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":33,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.934967,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1c02f190-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"1c02f190-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1c02f190-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/55484dae-b9ca-489a-bfd5-4015c6c79b11/signaling 200 16ms","method":"POST","requestID":"1c02f190-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fedff6333-332b-4c0a-8508-6d6a42a74c1c': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fedff6333-332b-4c0a-8508-6d6a42a74c1c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"83b9162d-a582-44e7-b6a3-b2f9214df0cf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.5243113} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7b6d5771-5a68-404f-80fb-16cb7bb1cac7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.5247474} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1c05fed0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"c2347fb90092847d8f8bc11884cab668","responseTime":22,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":34,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff540cb13-60c4-4767-bc67-ed91cc6da8a1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e73d1976-cbc6-4cf1-8754-7e10dc5d9205","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.5309722} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":34,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.003282,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1c05fed0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"1c05fed0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1c05fed0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1/signaling 200 11ms","method":"POST","requestID":"1c05fed0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c","requestID":"c2347fb90092847d8f8bc11884cab668"} gateway-1 | {"time_local":"18/Sep/2024:16:21:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.182","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c2347fb90092847d8f8bc11884cab668"} experiment-1 | {"level":"info","message":"DELETE /experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c 204 180ms","method":"DELETE","requestID":"c2347fb90092847d8f8bc11884cab668","responseTime":180,"status":204,"url":"/experiments/edff6333-332b-4c0a-8508-6d6a42a74c1c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMH0._rnd33-Y1f0hEVOLKnfSDMo291-XOe_3ZkA5q2rqosk","level":"info","message":"auth send jwt","requestID":"d574246b1f247d85a06d82b7e5afd692"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 146ms","method":"POST","requestID":"98e5967e00c9e4b960d66257fa0bee48","responseTime":146,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:21:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.150","http_referrer":"","http_user_agent":"node-fetch","requestID":"98e5967e00c9e4b960d66257fa0bee48"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d574246b1f247d85a06d82b7e5afd692","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 146ms","method":"POST","requestID":"ac4aedcbd00c4ebd8a74b3ad67842a9b","responseTime":146,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:21:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.150","http_referrer":"","http_user_agent":"node-fetch","requestID":"ac4aedcbd00c4ebd8a74b3ad67842a9b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":35,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} device-1 | {"level":"info","message":"postDevices called","requestID":"d574246b1f247d85a06d82b7e5afd692"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":35,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.736941,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} gateway-1 | {"time_local":"18/Sep/2024:16:21:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3079","request_time":"1.139","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f508b07a9d4edb4dbaedb853fe123ede"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d574246b1f247d85a06d82b7e5afd692","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676510,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMH0._rnd33-Y1f0hEVOLKnfSDMo291-XOe_3ZkA5q2rqosk"} gateway-1 | {"time_local":"18/Sep/2024:16:21:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3078","request_time":"1.129","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"bee19da4c38a6fc26666e6bfe1504dc6"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d574246b1f247d85a06d82b7e5afd692","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/f540cb13-60c4-4767-bc67-ed91cc6da8a1' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/55484dae-b9ca-489a-bfd5-4015c6c79b11' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"0df16073-8ca1-4d69-9aa8-ff21ee708056","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.636601} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d574246b1f247d85a06d82b7e5afd692","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1f25315f-d888-46f6-853b-3cdc8d30e550","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.641595} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"d574246b1f247d85a06d82b7e5afd692","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"012ccb96-3d1e-43ea-a377-d2b033a8bdef","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.6542952} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b7a8acc1-1a71-46cf-93dc-d96efc427e8b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.6549873} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"d574246b1f247d85a06d82b7e5afd692","responseTime":15,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:50.654280953Z"}]},"request_id":"52d01978-395b-4f2d-9a9e-975122340656","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.659324} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d574246b1f247d85a06d82b7e5afd692","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d574246b1f247d85a06d82b7e5afd692"} device-1 | {"level":"info","message":"POST /devices? 201 49ms","method":"POST","requestID":"d574246b1f247d85a06d82b7e5afd692","responseTime":49,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:21:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.055","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d574246b1f247d85a06d82b7e5afd692"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMH0._rnd33-Y1f0hEVOLKnfSDMo291-XOe_3ZkA5q2rqosk","level":"info","message":"auth send jwt","requestID":"1eb51a7d3103117bf598facd8d1d807d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1eb51a7d3103117bf598facd8d1d807d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"1eb51a7d3103117bf598facd8d1d807d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":36,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":36,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.964948,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:50Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1eb51a7d3103117bf598facd8d1d807d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676510,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMH0._rnd33-Y1f0hEVOLKnfSDMo291-XOe_3ZkA5q2rqosk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1eb51a7d3103117bf598facd8d1d807d","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"9a379fcc-1c7b-47fc-96f8-ca2cc8d0523d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.6851842} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1eb51a7d3103117bf598facd8d1d807d","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7871b5ef-5add-4ea7-8315-e580de0e4ec7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.6910326} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"1eb51a7d3103117bf598facd8d1d807d","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"b2967f4b-e2c9-4eb5-a76d-524f0c0c7372","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.704351} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"df229d6b-b7c9-42dd-a247-e400927f8e1b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.7044804} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"1eb51a7d3103117bf598facd8d1d807d","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:50.704340684Z"}]},"request_id":"9c0faa8d-315e-4450-af9c-e6ce1472c483","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676510.710041} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1eb51a7d3103117bf598facd8d1d807d","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"1eb51a7d3103117bf598facd8d1d807d"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"1eb51a7d3103117bf598facd8d1d807d","responseTime":45,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:21:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1eb51a7d3103117bf598facd8d1d807d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMX0.amijLhvuI7NyJMWXeBiOiGl9pn0hsyHXJRR5UXQTRiE","level":"info","message":"auth send jwt","requestID":"29166317704290eb02e807590c96411d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"29166317704290eb02e807590c96411d","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"29166317704290eb02e807590c96411d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":37,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:51Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":37,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.929938,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:51Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29166317704290eb02e807590c96411d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676511,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMX0.amijLhvuI7NyJMWXeBiOiGl9pn0hsyHXJRR5UXQTRiE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"29166317704290eb02e807590c96411d","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:50.704340684Z"}]},"request_id":"d4457768-d1c0-4f30-a0ab-70e1fee0e4f2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676511.2563937} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"29166317704290eb02e807590c96411d","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2bdf4fcd-6432-4785-8e21-fe5933b84f71","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676511.262651} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"29166317704290eb02e807590c96411d","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:50.704340684Z"}]},"request_id":"1d0b88b2-b9b6-4079-b8ab-edfd6c8841c6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676511.2816288} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"29166317704290eb02e807590c96411d","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"29166317704290eb02e807590c96411d"} gateway-1 | {"time_local":"18/Sep/2024:16:21:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/8d1ef56e-6aa8-47e2-9857-cf963037f389 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.049","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"29166317704290eb02e807590c96411d"} device-1 | {"level":"info","message":"PATCH /devices/8d1ef56e-6aa8-47e2-9857-cf963037f389 200 42ms","method":"PATCH","requestID":"29166317704290eb02e807590c96411d","responseTime":42,"status":200,"url":"/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMX0.amijLhvuI7NyJMWXeBiOiGl9pn0hsyHXJRR5UXQTRiE","level":"info","message":"auth send jwt","requestID":"55d152e65f8cd1b716267c2af242ed67"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"55d152e65f8cd1b716267c2af242ed67","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"55d152e65f8cd1b716267c2af242ed67"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":38,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:51Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":38,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.236851,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:51Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"55d152e65f8cd1b716267c2af242ed67","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676511,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMX0.amijLhvuI7NyJMWXeBiOiGl9pn0hsyHXJRR5UXQTRiE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"55d152e65f8cd1b716267c2af242ed67","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"55d152e65f8cd1b716267c2af242ed67"} gateway-1 | {"time_local":"18/Sep/2024:16:21:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/8d1ef56e-6aa8-47e2-9857-cf963037f389/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.030","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"55d152e65f8cd1b716267c2af242ed67"} device-1 | {"level":"info","message":"POST /devices/8d1ef56e-6aa8-47e2-9857-cf963037f389/websocket 200 23ms","method":"POST","requestID":"55d152e65f8cd1b716267c2af242ed67","responseTime":23,"status":200,"url":"/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"31d1244a623a5cb24908f3c36bf0b3ab","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"31d1244a623a5cb24908f3c36bf0b3ab","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:21:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"31d1244a623a5cb24908f3c36bf0b3ab"} device-1 | {"level":"info","message":"OPTIONS /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54/websocket 200 2ms","method":"OPTIONS","requestID":"31d1244a623a5cb24908f3c36bf0b3ab","responseTime":2,"status":200,"url":"/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMn0.5u1GUvzi0yh3TUwnvinJ8_7N3GWPvU4C9we0XgQ5YvU","level":"info","message":"auth send jwt","requestID":"fd73b8ec4b27294cf9c196122b52ee21"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"fd73b8ec4b27294cf9c196122b52ee21","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"fd73b8ec4b27294cf9c196122b52ee21"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":39,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":39,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.754463,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:52Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"fd73b8ec4b27294cf9c196122b52ee21","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676512,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMn0.5u1GUvzi0yh3TUwnvinJ8_7N3GWPvU4C9we0XgQ5YvU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"fd73b8ec4b27294cf9c196122b52ee21","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"fd73b8ec4b27294cf9c196122b52ee21"} gateway-1 | {"time_local":"18/Sep/2024:16:21:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.033","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"fd73b8ec4b27294cf9c196122b52ee21"} device-1 | {"level":"info","message":"POST /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54/websocket 200 25ms","method":"POST","requestID":"fd73b8ec4b27294cf9c196122b52ee21","responseTime":25,"status":200,"url":"/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"794274263c368095f07dd1fa75fdd8bc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"794274263c368095f07dd1fa75fdd8bc","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:21:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"794274263c368095f07dd1fa75fdd8bc"} device-1 | {"level":"info","message":"OPTIONS /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54? 200 1ms","method":"OPTIONS","requestID":"794274263c368095f07dd1fa75fdd8bc","responseTime":1,"status":200,"url":"/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMn0.5u1GUvzi0yh3TUwnvinJ8_7N3GWPvU4C9we0XgQ5YvU","level":"info","message":"auth send jwt","requestID":"d8f8df092e7d0ceafa599f98b899d505"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"d8f8df092e7d0ceafa599f98b899d505","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"d8f8df092e7d0ceafa599f98b899d505"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":40,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":40,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.237065,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:52Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d8f8df092e7d0ceafa599f98b899d505","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676512,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMn0.5u1GUvzi0yh3TUwnvinJ8_7N3GWPvU4C9we0XgQ5YvU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d8f8df092e7d0ceafa599f98b899d505","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:50.654280953Z"}]},"request_id":"609c7083-f6c2-4ed1-8a0d-c2e0543ef5b1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676512.7581732} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"d8f8df092e7d0ceafa599f98b899d505","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e6427cef-34c5-4fdf-a906-bae6fe879836","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676512.768272} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"d8f8df092e7d0ceafa599f98b899d505","responseTime":11,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:50.654280953Z"}]},"request_id":"f9882ebe-57eb-4b51-b08a-644c8a008e13","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676512.778222} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d8f8df092e7d0ceafa599f98b899d505","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"d8f8df092e7d0ceafa599f98b899d505"} gateway-1 | {"time_local":"18/Sep/2024:16:21:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.048","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d8f8df092e7d0ceafa599f98b899d505"} device-1 | {"level":"info","message":"PATCH /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54? 200 41ms","method":"PATCH","requestID":"d8f8df092e7d0ceafa599f98b899d505","responseTime":41,"status":200,"url":"/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMn0.5u1GUvzi0yh3TUwnvinJ8_7N3GWPvU4C9we0XgQ5YvU","level":"info","message":"auth send jwt","requestID":"825b0338db57e287f2dc327b0b2c961e"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"825b0338db57e287f2dc327b0b2c961e","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"825b0338db57e287f2dc327b0b2c961e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":41,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":41,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.361272,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"825b0338db57e287f2dc327b0b2c961e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676512,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMn0.5u1GUvzi0yh3TUwnvinJ8_7N3GWPvU4C9we0XgQ5YvU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"825b0338db57e287f2dc327b0b2c961e","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:50.654280953Z"}]},"request_id":"aeb96a78-c0f4-4fa7-8ca6-d68c12f6f019","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676512.8115246} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"825b0338db57e287f2dc327b0b2c961e","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"825b0338db57e287f2dc327b0b2c961e"} device-1 | {"level":"info","message":"GET /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54? 200 20ms","method":"GET","requestID":"825b0338db57e287f2dc327b0b2c961e","responseTime":20,"status":200,"url":"/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54?"} gateway-1 | {"time_local":"18/Sep/2024:16:21:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"825b0338db57e287f2dc327b0b2c961e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMn0.5u1GUvzi0yh3TUwnvinJ8_7N3GWPvU4C9we0XgQ5YvU","level":"info","message":"auth send jwt","requestID":"81473978e08bd9b9eb8c44db1e651edf"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"81473978e08bd9b9eb8c44db1e651edf","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"81473978e08bd9b9eb8c44db1e651edf"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":42,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":42,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.2909,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"81473978e08bd9b9eb8c44db1e651edf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676512,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMn0.5u1GUvzi0yh3TUwnvinJ8_7N3GWPvU4C9we0XgQ5YvU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"81473978e08bd9b9eb8c44db1e651edf","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:50.704340684Z"}]},"request_id":"1e4ddf19-debf-450f-989e-4eb1e71d125f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676512.841017} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"81473978e08bd9b9eb8c44db1e651edf","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"81473978e08bd9b9eb8c44db1e651edf"} gateway-1 | {"time_local":"18/Sep/2024:16:21:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8d1ef56e-6aa8-47e2-9857-cf963037f389? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"81473978e08bd9b9eb8c44db1e651edf"} device-1 | {"level":"info","message":"GET /devices/8d1ef56e-6aa8-47e2-9857-cf963037f389? 200 19ms","method":"GET","requestID":"81473978e08bd9b9eb8c44db1e651edf","responseTime":19,"status":200,"url":"/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMn0.5u1GUvzi0yh3TUwnvinJ8_7N3GWPvU4C9we0XgQ5YvU","level":"info","message":"auth send jwt","requestID":"451f80e29832308266250f92624c21a2"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"451f80e29832308266250f92624c21a2","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"451f80e29832308266250f92624c21a2"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":43,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":43,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.061963,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:52Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"451f80e29832308266250f92624c21a2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676512,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMn0.5u1GUvzi0yh3TUwnvinJ8_7N3GWPvU4C9we0XgQ5YvU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"451f80e29832308266250f92624c21a2","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"},"level":"info","message":"Attempting to run experiment","requestID":"451f80e29832308266250f92624c21a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"},"level":"info","message":"Attempting to book experiment","requestID":"451f80e29832308266250f92624c21a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"},"level":"info","message":"Successfully booked experiment","requestID":"451f80e29832308266250f92624c21a2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1d728720-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1d72d540-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":44,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":44,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.079356,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Received request.","req_id":45,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1d728720-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676512,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMn0.5u1GUvzi0yh3TUwnvinJ8_7N3GWPvU4C9we0XgQ5YvU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1d728720-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Sent response.","req_id":45,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.214216,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1d72d540-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676512,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMn0.5u1GUvzi0yh3TUwnvinJ8_7N3GWPvU4C9we0XgQ5YvU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"1d72d540-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:50.654280953Z"}]},"request_id":"5a9cd44b-6257-443d-a47d-4dcb89acf201","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676512.9273431} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"1d728720-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:50.704340684Z"}]},"request_id":"3a69ab0d-475f-4df5-897d-c5c9cf547503","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676512.9286144} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"1d72d540-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1d728720-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54? 200 23ms","method":"GET","requestID":"1d728720-75da-11ef-ba7c-09eaa4331ae1","responseTime":23,"status":200,"url":"/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1d72d540-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/8d1ef56e-6aa8-47e2-9857-cf963037f389? 200 22ms","method":"GET","requestID":"1d72d540-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"},"level":"info","message":"Setting up experiment","requestID":"451f80e29832308266250f92624c21a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"451f80e29832308266250f92624c21a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"},"level":"info","message":"Successfully locked booking for experiment","requestID":"451f80e29832308266250f92624c21a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"451f80e29832308266250f92624c21a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"451f80e29832308266250f92624c21a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"},"level":"info","message":"Attempting to update booking for experiment","requestID":"451f80e29832308266250f92624c21a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"},"level":"info","message":"Successfully updated booking for experiment","requestID":"451f80e29832308266250f92624c21a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"},"level":"info","message":"Successfully set up experiment","requestID":"451f80e29832308266250f92624c21a2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1d7d3580-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1d7d83a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1d7df8d0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"},"level":"info","message":"Successfully running experiment","requestID":"451f80e29832308266250f92624c21a2"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":46,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":46,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.450438,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Received request.","req_id":47,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1d7d3580-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676512,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMn0.5u1GUvzi0yh3TUwnvinJ8_7N3GWPvU4C9we0XgQ5YvU"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"1d7d3580-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Sent response.","req_id":47,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.690473,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1d7d83a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676512,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMn0.5u1GUvzi0yh3TUwnvinJ8_7N3GWPvU4C9we0XgQ5YvU"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"1d7d83a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:50.654280953Z"}]},"request_id":"954c4101-3a44-4460-b574-24cc76e11ae8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676513.0038733} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"1d7d3580-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:50.704340684Z"}]},"request_id":"612ef20c-d0e4-4442-b2d9-a069ec38b2dc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676513.0060637} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"1d7d83a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:35940","level":"info","msg":"Received request.","req_id":48,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:53Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1d7d3580-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ba82f2cb-954a-40db-a860-c313d64a7c8b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676513.014591} device-1 | {"level":"info","message":"GET /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54? 200 32ms","method":"GET","requestID":"1d7d3580-75da-11ef-ba7c-09eaa4331ae1","responseTime":32,"status":200,"url":"/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54?"} authorization-1 | {"client_addr":"127.0.0.1:35940","level":"info","msg":"Sent response.","req_id":48,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":7.943047,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1d7df8d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 24ms","method":"POST","requestID":"1d7df8d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1d7d83a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/8d1ef56e-6aa8-47e2-9857-cf963037f389? 200 34ms","method":"GET","requestID":"1d7d83a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":34,"status":200,"url":"/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F2fba256f-da16-46a5-b450-2fa6f84be2f9#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F2fba256f-da16-46a5-b450-2fa6f84be2f9","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"f679a67a-6f74-4115-9f2e-da746c984bbb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676513.0237544} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1d839e20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"00da7b82-2906-413c-9be3-6e788503b142","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676513.0244303} authorization-1 | {"level":"info","message":"POST /relations/update 200 29ms","method":"POST","requestID":"451f80e29832308266250f92624c21a2","responseTime":29,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1d7df8d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54/signaling 200 40ms","method":"POST","requestID":"1d7df8d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":40,"status":200,"url":"/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":49,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"67d724ac-3a38-4d2e-ba94-e494c8efccc2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676513.0339758} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":49,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.421806,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1d839e20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"1d839e20-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1d854bd0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"451f80e29832308266250f92624c21a2"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":50,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:53Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1d839e20-75da-11ef-ba7c-09eaa4331ae1"} gateway-1 | {"time_local":"18/Sep/2024:16:21:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"812","request_time":"0.191","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"451f80e29832308266250f92624c21a2"} experiment-1 | {"level":"info","message":"POST /experiments? 201 183ms","method":"POST","requestID":"451f80e29832308266250f92624c21a2","responseTime":183,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"POST /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54/signaling 200 17ms","method":"POST","requestID":"1d839e20-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8027509b-f6b9-421c-a27a-6c241ff69415","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676513.0444045} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":50,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.134103,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1d854bd0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"1d854bd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1d86f980-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxM30.JnQx4zHidmvEWDRn0kXgRDgpz48hhhR8KGi6MUjDn_M","level":"info","message":"auth send jwt","requestID":"5b7b7916e36ad8e277334eeb5ae2b1ca"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"5b7b7916e36ad8e277334eeb5ae2b1ca","responseTime":5,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":51,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:53Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5b7b7916e36ad8e277334eeb5ae2b1ca"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1d854bd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/8d1ef56e-6aa8-47e2-9857-cf963037f389/signaling 200 21ms","method":"POST","requestID":"1d854bd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":21,"status":200,"url":"/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"592d930a-05dc-45ba-9af7-6dd2a55b5ebb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676513.0556564} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":51,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.439311,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Received request.","req_id":52,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1d86f980-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"1d86f980-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Sent response.","req_id":52,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.179468,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b7b7916e36ad8e277334eeb5ae2b1ca","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676513,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxM30.JnQx4zHidmvEWDRn0kXgRDgpz48hhhR8KGi6MUjDn_M"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"5b7b7916e36ad8e277334eeb5ae2b1ca","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1d86f980-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/8d1ef56e-6aa8-47e2-9857-cf963037f389/signaling 200 20ms","method":"POST","requestID":"1d86f980-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:50.654280953Z"}]},"request_id":"76211b4f-e916-43c7-a789-497edc2ba9d1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676513.068584} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"5b7b7916e36ad8e277334eeb5ae2b1ca","responseTime":5,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"451f80e29832308266250f92624c21a2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1d8aca10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1d8b1830-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5b7b7916e36ad8e277334eeb5ae2b1ca"} gateway-1 | {"time_local":"18/Sep/2024:16:21:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.033","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5b7b7916e36ad8e277334eeb5ae2b1ca"} device-1 | {"level":"info","message":"GET /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54? 200 25ms","method":"GET","requestID":"5b7b7916e36ad8e277334eeb5ae2b1ca","responseTime":25,"status":200,"url":"/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":53,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":53,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.289996,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Received request.","req_id":54,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1d8aca10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676512,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMn0.5u1GUvzi0yh3TUwnvinJ8_7N3GWPvU4C9we0XgQ5YvU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1d8aca10-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33652","level":"info","msg":"Sent response.","req_id":54,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.212515,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1d8b1830-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676512,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMn0.5u1GUvzi0yh3TUwnvinJ8_7N3GWPvU4C9we0XgQ5YvU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1d8b1830-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxM30.JnQx4zHidmvEWDRn0kXgRDgpz48hhhR8KGi6MUjDn_M","level":"info","message":"auth send jwt","requestID":"9d7c375a770dc92cca1d46b9c66f9faf"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9d7c375a770dc92cca1d46b9c66f9faf","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9d7c375a770dc92cca1d46b9c66f9faf"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:50.654280953Z"}]},"request_id":"69e36745-0ed1-4304-9ed1-b4cb6c5243dc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676513.0859854} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"1d8aca10-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:50.704340684Z"}]},"request_id":"bef38200-19b5-404a-b701-e2922792f8ac","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676513.0876615} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"1d8b1830-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":55,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":55,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.965992,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9d7c375a770dc92cca1d46b9c66f9faf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676513,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxM30.JnQx4zHidmvEWDRn0kXgRDgpz48hhhR8KGi6MUjDn_M"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9d7c375a770dc92cca1d46b9c66f9faf","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1d8aca10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54? 200 24ms","method":"GET","requestID":"1d8aca10-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1d8b1830-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:50.704340684Z"}]},"request_id":"203398f1-5145-44cb-a75c-8de1856f9c19","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676513.0990517} device-1 | {"level":"info","message":"GET /devices/8d1ef56e-6aa8-47e2-9857-cf963037f389? 200 24ms","method":"GET","requestID":"1d8b1830-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9d7c375a770dc92cca1d46b9c66f9faf","responseTime":4,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"},"level":"info","message":"Building connection plan","requestID":"451f80e29832308266250f92624c21a2"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"1ff73bc3-b315-4f52-830c-85b9e465e1ed"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"21de7078-1079-4d12-a776-ffea892191ec"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"0d7fbf53-1419-468c-9f96-9760a746f6cd"}]},"level":"info","message":"Built pairwise service configurations","requestID":"451f80e29832308266250f92624c21a2"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"451f80e29832308266250f92624c21a2"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"1d8f5df0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9d7c375a770dc92cca1d46b9c66f9faf"} gateway-1 | {"time_local":"18/Sep/2024:16:21:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8d1ef56e-6aa8-47e2-9857-cf963037f389? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9d7c375a770dc92cca1d46b9c66f9faf"} device-1 | {"level":"info","message":"GET /devices/8d1ef56e-6aa8-47e2-9857-cf963037f389? 200 20ms","method":"GET","requestID":"9d7c375a770dc92cca1d46b9c66f9faf","responseTime":20,"status":200,"url":"/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":56,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":56,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.130993,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1d8f5df0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676512,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxMn0.5u1GUvzi0yh3TUwnvinJ8_7N3GWPvU4C9we0XgQ5YvU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1d8f5df0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"1188ac01-dc8b-41d2-bfbe-6ed6dee15bb3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676513.117704} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e7f529bc-a10c-48b4-871a-affff0bd58bf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676513.1180499} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"1d8f5df0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"1d8f5df0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"1d8f5df0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60'","requestID":"1d8f5df0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60'","requestID":"1d8f5df0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"1d8f5df0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 29ms","method":"POST","requestID":"1d8f5df0-75da-11ef-ba7c-09eaa4331ae1","responseTime":29,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"1d8f5df0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"451f80e29832308266250f92624c21a2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1d98fae0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":57,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fdbf194b-bfa8-4a33-97a2-07edd49144dc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676513.171871} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":57,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.015586,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1d98fae0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"1d98fae0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1d98fae0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54/signaling 200 11ms","method":"POST","requestID":"1d98fae0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54/signaling"} device-1 | {"device":"48be7bb4-d59d-4c55-b9cf-c574db573c54","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"48be7bb4-d59d-4c55-b9cf-c574db573c54","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1d9b6be0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":58,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"675c2c08-e1c8-4ab9-aa1e-15c3bb0e99b8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676513.188072} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":58,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.20079,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1d9b6be0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"1d9b6be0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1d9b6be0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/8d1ef56e-6aa8-47e2-9857-cf963037f389/signaling 200 11ms","method":"POST","requestID":"1d9b6be0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389/signaling"} device-1 | {"device":"8d1ef56e-6aa8-47e2-9857-cf963037f389","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"435157e1-1df5-480b-be4f-8b1c9d12ac60","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 344164324675900110 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:DXT8\r\na=ice-pwd:TdLbg6YuQn8BZBns6TCGvTOF\r\na=ice-options:trickle\r\na=fingerprint:sha-256 43:9F:A8:8E:37:11:C6:F6:12:A5:C2:0D:92:DD:55:91:08:1C:C0:2C:8D:C5:D5:00:3D:22:B1:7E:EB:93:D4:45\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"48be7bb4-d59d-4c55-b9cf-c574db573c54","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:75295570 1 udp 2113937151 25405852-ebd5-4cc4-aac8-31fc9dd71e84.local 47097 typ host generation 0 ufrag DXT8 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"48be7bb4-d59d-4c55-b9cf-c574db573c54","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"48be7bb4-d59d-4c55-b9cf-c574db573c54","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:2152825133 1 udp 1677729535 141.24.211.56 47097 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag DXT8 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"48be7bb4-d59d-4c55-b9cf-c574db573c54","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"48be7bb4-d59d-4c55-b9cf-c574db573c54","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54'"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"435157e1-1df5-480b-be4f-8b1c9d12ac60","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54'"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"52e03f362bc84a6825ebf27e3392db8d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"52e03f362bc84a6825ebf27e3392db8d","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60"}}},"level":"info","message":"received a callback","requestID":"52e03f362bc84a6825ebf27e3392db8d"} device-1 | {"device":"8d1ef56e-6aa8-47e2-9857-cf963037f389","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"8d1ef56e-6aa8-47e2-9857-cf963037f389","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"8d1ef56e-6aa8-47e2-9857-cf963037f389","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 7ms","method":"POST","requestID":"52e03f362bc84a6825ebf27e3392db8d","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:21:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"52e03f362bc84a6825ebf27e3392db8d"} device-1 | {"data":{"peerconnection":"435157e1-1df5-480b-be4f-8b1c9d12ac60","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"8d1ef56e-6aa8-47e2-9857-cf963037f389","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"48be7bb4-d59d-4c55-b9cf-c574db573c54","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"8d1ef56e-6aa8-47e2-9857-cf963037f389","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"435157e1-1df5-480b-be4f-8b1c9d12ac60","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"48be7bb4-d59d-4c55-b9cf-c574db573c54","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"435157e1-1df5-480b-be4f-8b1c9d12ac60","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cb7d4aa6f608ff7a8e9d6700ec30b865","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"cb7d4aa6f608ff7a8e9d6700ec30b865","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60"}}},"level":"info","message":"received a callback","requestID":"cb7d4aa6f608ff7a8e9d6700ec30b865"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"1ed831a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":59,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F435157e1-1df5-480b-be4f-8b1c9d12ac60","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c3f1c090-24c5-42d8-bcc6-2ad57457455e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.2640815} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":59,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.890387,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1ed831a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1ed831a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"1ed831a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60 200 10ms","method":"GET","requestID":"1ed831a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 46ms","method":"POST","requestID":"cb7d4aa6f608ff7a8e9d6700ec30b865","responseTime":46,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:21:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch","requestID":"cb7d4aa6f608ff7a8e9d6700ec30b865"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1ede7330-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":60,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7b3b0839-e5a5-4b46-896e-dd114f0d120b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.3067572} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":60,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.669939,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1ede7330-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"1ede7330-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1ede7330-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54/signaling 200 14ms","method":"POST","requestID":"1ede7330-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1ee10b40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":61,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cf965f48-08fc-40f2-a22a-61b3af7ece98","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.3232768} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":61,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.174228,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1ee10b40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"1ee10b40-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1ee10b40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/8d1ef56e-6aa8-47e2-9857-cf963037f389/signaling 200 14ms","method":"POST","requestID":"1ee10b40-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxNX0.rafwumuBKw7GBVfnnSqJniavYOvkbv-3T-8YWCmjRKk","level":"info","message":"auth send jwt","requestID":"628b9ca79f3b34c9d66d63c6babd8eaa"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"628b9ca79f3b34c9d66d63c6babd8eaa","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9","requestID":"628b9ca79f3b34c9d66d63c6babd8eaa"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":62,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":62,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.816963,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"628b9ca79f3b34c9d66d63c6babd8eaa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676515,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxNX0.rafwumuBKw7GBVfnnSqJniavYOvkbv-3T-8YWCmjRKk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"628b9ca79f3b34c9d66d63c6babd8eaa","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9","requestID":"628b9ca79f3b34c9d66d63c6babd8eaa"} gateway-1 | {"time_local":"18/Sep/2024:16:21:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9 HTTP/1.1","status": "200","body_bytes_sent":"885","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"628b9ca79f3b34c9d66d63c6babd8eaa"} experiment-1 | {"level":"info","message":"GET /experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9 200 18ms","method":"GET","requestID":"628b9ca79f3b34c9d66d63c6babd8eaa","responseTime":18,"status":200,"url":"/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxNX0.rafwumuBKw7GBVfnnSqJniavYOvkbv-3T-8YWCmjRKk","level":"info","message":"auth send jwt","requestID":"9318afe71b9510a5023ec0fb2cc0526d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"9318afe71b9510a5023ec0fb2cc0526d","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9","requestID":"9318afe71b9510a5023ec0fb2cc0526d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":63,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":63,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.428002,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9318afe71b9510a5023ec0fb2cc0526d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676515,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxNX0.rafwumuBKw7GBVfnnSqJniavYOvkbv-3T-8YWCmjRKk"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"9318afe71b9510a5023ec0fb2cc0526d","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"},"level":"info","message":"Attempting to finish experiment","requestID":"9318afe71b9510a5023ec0fb2cc0526d"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"1eeccb10-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":64,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":64,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.69339,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1eeccb10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676515,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxNX0.rafwumuBKw7GBVfnnSqJniavYOvkbv-3T-8YWCmjRKk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1eeccb10-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60","device":"48be7bb4-d59d-4c55-b9cf-c574db573c54","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"8d1ef56e-6aa8-47e2-9857-cf963037f389","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"8d1ef56e-6aa8-47e2-9857-cf963037f389","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"8d1ef56e-6aa8-47e2-9857-cf963037f389","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"435157e1-1df5-480b-be4f-8b1c9d12ac60","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F435157e1-1df5-480b-be4f-8b1c9d12ac60': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F435157e1-1df5-480b-be4f-8b1c9d12ac60","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"80bba1bb-7211-4fa5-afb8-8d0163b82da3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.4255276} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dcc8d552-336a-4964-a0de-b810f777170c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.4261134} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b6990ee81e24a5502ad51275cfde3417","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b6990ee81e24a5502ad51275cfde3417","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0a52a7c95aa40b2a287a47ea2fc6400a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"1eeccb10-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0a52a7c95aa40b2a287a47ea2fc6400a","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60"}}},"level":"info","message":"received a callback","requestID":"b6990ee81e24a5502ad51275cfde3417"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60"}}},"level":"info","message":"received a callback","requestID":"0a52a7c95aa40b2a287a47ea2fc6400a"} device-1 | {"data":{"peerconnection":"435157e1-1df5-480b-be4f-8b1c9d12ac60","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"1eeccb10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60 204 57ms","method":"DELETE","requestID":"1eeccb10-75da-11ef-ba7c-09eaa4331ae1","responseTime":57,"status":204,"url":"/peerconnections/435157e1-1df5-480b-be4f-8b1c9d12ac60"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"},"level":"info","message":"Successfully finished experiment","requestID":"9318afe71b9510a5023ec0fb2cc0526d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1ef9ea70-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":65,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F48be7bb4-d59d-4c55-b9cf-c574db573c54","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"608c1187-1069-4a40-8a82-7c9bb98a5ab6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.4868288} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":65,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.968267,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1ef9ea70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"1ef9ea70-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1ef9ea70-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F2fba256f-da16-46a5-b450-2fa6f84be2f9': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F2fba256f-da16-46a5-b450-2fa6f84be2f9","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"32589c0d-f71a-4251-955f-abc168d967ce","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.4949303} device-1 | {"level":"info","message":"POST /devices/48be7bb4-d59d-4c55-b9cf-c574db573c54/signaling 200 16ms","method":"POST","requestID":"1ef9ea70-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e01aa466-2b89-4461-b3af-5e1a5a211065","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.4956653} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"9318afe71b9510a5023ec0fb2cc0526d","responseTime":23,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1efd1ec0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":66,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d1ef56e-6aa8-47e2-9857-cf963037f389","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5d09083e-a6f1-4600-b477-0b572d07f5e7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.5077393} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":66,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.036038,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1efd1ec0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"1efd1ec0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1efd1ec0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/8d1ef56e-6aa8-47e2-9857-cf963037f389/signaling 200 16ms","method":"POST","requestID":"1efd1ec0-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9","requestID":"9318afe71b9510a5023ec0fb2cc0526d"} gateway-1 | {"time_local":"18/Sep/2024:16:21:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.211","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9318afe71b9510a5023ec0fb2cc0526d"} gateway-1 | {"time_local":"18/Sep/2024:16:21:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3027","request_time":"4.259","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"a337b343a154b5f2431b751664c1101c"} experiment-1 | {"level":"info","message":"DELETE /experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9 204 206ms","method":"DELETE","requestID":"9318afe71b9510a5023ec0fb2cc0526d","responseTime":206,"status":204,"url":"/experiments/2fba256f-da16-46a5-b450-2fa6f84be2f9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 153ms","method":"POST","requestID":"b6990ee81e24a5502ad51275cfde3417","responseTime":153,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:21:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.159","http_referrer":"","http_user_agent":"node-fetch","requestID":"b6990ee81e24a5502ad51275cfde3417"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 151ms","method":"POST","requestID":"0a52a7c95aa40b2a287a47ea2fc6400a","responseTime":151,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:21:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.160","http_referrer":"","http_user_agent":"node-fetch","requestID":"0a52a7c95aa40b2a287a47ea2fc6400a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxNX0.rafwumuBKw7GBVfnnSqJniavYOvkbv-3T-8YWCmjRKk","level":"info","message":"auth send jwt","requestID":"3e9ef6682173586f0474aa02ea8705f8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3e9ef6682173586f0474aa02ea8705f8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"3e9ef6682173586f0474aa02ea8705f8"} gateway-1 | {"time_local":"18/Sep/2024:16:21:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2891","request_time":"2.892","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"6140aa92634e9fe4cfaf5d6abd6f42ce"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/8d1ef56e-6aa8-47e2-9857-cf963037f389' closed"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":67,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":67,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.275756,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3e9ef6682173586f0474aa02ea8705f8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676515,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxNX0.rafwumuBKw7GBVfnnSqJniavYOvkbv-3T-8YWCmjRKk"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3e9ef6682173586f0474aa02ea8705f8","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"b52dff03-1ce7-43d3-97f4-a952a828c49b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.6042755} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3e9ef6682173586f0474aa02ea8705f8","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/48be7bb4-d59d-4c55-b9cf-c574db573c54' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"95ecd8b4-b0bc-430b-bfeb-3f6d989f4fbf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.6105862} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"3e9ef6682173586f0474aa02ea8705f8","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"c7641b59-5c26-4dd9-b4b8-e1734bb77667","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.620296} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5f6e217d-193a-4623-9156-ec03baf38bf8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.6214035} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"3e9ef6682173586f0474aa02ea8705f8","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:55.620279454Z"}]},"request_id":"f98a18eb-f4ab-4ec9-89c9-91c4fe560947","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.627476} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3e9ef6682173586f0474aa02ea8705f8","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"3e9ef6682173586f0474aa02ea8705f8"} gateway-1 | {"time_local":"18/Sep/2024:16:21:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3e9ef6682173586f0474aa02ea8705f8"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"3e9ef6682173586f0474aa02ea8705f8","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxNX0.rafwumuBKw7GBVfnnSqJniavYOvkbv-3T-8YWCmjRKk","level":"info","message":"auth send jwt","requestID":"d7e10caf7c3d57f8983999cf3b94dfda"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d7e10caf7c3d57f8983999cf3b94dfda","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d7e10caf7c3d57f8983999cf3b94dfda"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":68,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":68,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.791418,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:55Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d7e10caf7c3d57f8983999cf3b94dfda","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676515,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxNX0.rafwumuBKw7GBVfnnSqJniavYOvkbv-3T-8YWCmjRKk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d7e10caf7c3d57f8983999cf3b94dfda","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"210a4486-b197-4b2a-a768-920252aa1093","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.6553586} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d7e10caf7c3d57f8983999cf3b94dfda","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"534e4697-9eca-461c-9687-ecdc8f7409b1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.6606994} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"d7e10caf7c3d57f8983999cf3b94dfda","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"44a5cb12-71b6-4821-9cb7-07fc4c353677","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.6762977} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5fdaf6cc-30ad-4a59-9e03-479950fe68c3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.676476} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"d7e10caf7c3d57f8983999cf3b94dfda","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:55.676284018Z"}]},"request_id":"8e1a21cc-094c-4474-86a6-8b7753ddf5bb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676515.6819546} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d7e10caf7c3d57f8983999cf3b94dfda","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d7e10caf7c3d57f8983999cf3b94dfda"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"d7e10caf7c3d57f8983999cf3b94dfda","responseTime":47,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:21:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.052","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d7e10caf7c3d57f8983999cf3b94dfda"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxNn0.AjedoJQKN4f7JGs2BcMbk2CF9shFpMV307dG3zPwfW8","level":"info","message":"auth send jwt","requestID":"7d2f398ed125e69598bf0142c90db29c"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"7d2f398ed125e69598bf0142c90db29c","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"7d2f398ed125e69598bf0142c90db29c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":69,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:56Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":69,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.971157,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:56Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7d2f398ed125e69598bf0142c90db29c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676516,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxNn0.AjedoJQKN4f7JGs2BcMbk2CF9shFpMV307dG3zPwfW8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7d2f398ed125e69598bf0142c90db29c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:55.620279454Z"}]},"request_id":"f3cc07b6-6951-4f66-b552-fccfebf14163","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676516.1772177} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"7d2f398ed125e69598bf0142c90db29c","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3fd98abf-ed99-4d85-b175-8536a350f263","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676516.1858196} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"7d2f398ed125e69598bf0142c90db29c","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:55.620279454Z"}]},"request_id":"33ee3c03-4762-4000-9f34-a44d63f3446b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676516.1964123} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7d2f398ed125e69598bf0142c90db29c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"7d2f398ed125e69598bf0142c90db29c"} gateway-1 | {"time_local":"18/Sep/2024:16:21:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/f85cb014-e354-4097-b4b5-b80617f61b7c HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.044","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"7d2f398ed125e69598bf0142c90db29c"} device-1 | {"level":"info","message":"PATCH /devices/f85cb014-e354-4097-b4b5-b80617f61b7c 200 37ms","method":"PATCH","requestID":"7d2f398ed125e69598bf0142c90db29c","responseTime":37,"status":200,"url":"/devices/f85cb014-e354-4097-b4b5-b80617f61b7c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxNn0.AjedoJQKN4f7JGs2BcMbk2CF9shFpMV307dG3zPwfW8","level":"info","message":"auth send jwt","requestID":"97108789100b7e33cdd5ddc18528b70f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"97108789100b7e33cdd5ddc18528b70f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"97108789100b7e33cdd5ddc18528b70f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":70,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:56Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":70,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.852423,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:56Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"97108789100b7e33cdd5ddc18528b70f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676516,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxNn0.AjedoJQKN4f7JGs2BcMbk2CF9shFpMV307dG3zPwfW8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"97108789100b7e33cdd5ddc18528b70f","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"97108789100b7e33cdd5ddc18528b70f"} gateway-1 | {"time_local":"18/Sep/2024:16:21:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f85cb014-e354-4097-b4b5-b80617f61b7c/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.029","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"97108789100b7e33cdd5ddc18528b70f"} device-1 | {"level":"info","message":"POST /devices/f85cb014-e354-4097-b4b5-b80617f61b7c/websocket 200 24ms","method":"POST","requestID":"97108789100b7e33cdd5ddc18528b70f","responseTime":24,"status":200,"url":"/devices/f85cb014-e354-4097-b4b5-b80617f61b7c/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bb21b7e01ee4d3f3a8a73d3f2a8fe85a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"bb21b7e01ee4d3f3a8a73d3f2a8fe85a","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:21:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"bb21b7e01ee4d3f3a8a73d3f2a8fe85a"} device-1 | {"level":"info","message":"OPTIONS /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391/websocket 200 1ms","method":"OPTIONS","requestID":"bb21b7e01ee4d3f3a8a73d3f2a8fe85a","responseTime":1,"status":200,"url":"/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxN30.tsLNDDRdLzhvUZs4OHWmdnDGwXpnZTpDOHq2iIH_qB4","level":"info","message":"auth send jwt","requestID":"b5a52e29608867b09d13c0682715fa74"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b5a52e29608867b09d13c0682715fa74","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"b5a52e29608867b09d13c0682715fa74"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":71,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:57Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":71,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.242145,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:57Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b5a52e29608867b09d13c0682715fa74","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676517,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxN30.tsLNDDRdLzhvUZs4OHWmdnDGwXpnZTpDOHq2iIH_qB4"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"b5a52e29608867b09d13c0682715fa74","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"b5a52e29608867b09d13c0682715fa74"} gateway-1 | {"time_local":"18/Sep/2024:16:21:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.031","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"b5a52e29608867b09d13c0682715fa74"} device-1 | {"level":"info","message":"POST /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391/websocket 200 25ms","method":"POST","requestID":"b5a52e29608867b09d13c0682715fa74","responseTime":25,"status":200,"url":"/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"19a535f123df0b753e618cd209a64c04","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"19a535f123df0b753e618cd209a64c04","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:21:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"19a535f123df0b753e618cd209a64c04"} device-1 | {"level":"info","message":"OPTIONS /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391? 200 1ms","method":"OPTIONS","requestID":"19a535f123df0b753e618cd209a64c04","responseTime":1,"status":200,"url":"/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxN30.tsLNDDRdLzhvUZs4OHWmdnDGwXpnZTpDOHq2iIH_qB4","level":"info","message":"auth send jwt","requestID":"e80aead099281fc04b44318f46212c70"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e80aead099281fc04b44318f46212c70","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e80aead099281fc04b44318f46212c70"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":72,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:57Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":72,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.245447,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:57Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e80aead099281fc04b44318f46212c70","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676517,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxN30.tsLNDDRdLzhvUZs4OHWmdnDGwXpnZTpDOHq2iIH_qB4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e80aead099281fc04b44318f46212c70","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:55.676284018Z"}]},"request_id":"a1e660c6-e471-4e10-a3d3-f25ce812ae9e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676517.7619755} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"e80aead099281fc04b44318f46212c70","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bd5250cd-89e4-43cc-a752-ec765df146ea","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676517.7709444} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"e80aead099281fc04b44318f46212c70","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:55.676284018Z"}]},"request_id":"cd0643f0-241d-4b6d-843e-be8efcf11ccb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676517.7837186} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e80aead099281fc04b44318f46212c70","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e80aead099281fc04b44318f46212c70"} gateway-1 | {"time_local":"18/Sep/2024:16:21:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.049","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e80aead099281fc04b44318f46212c70"} device-1 | {"level":"info","message":"PATCH /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391? 200 42ms","method":"PATCH","requestID":"e80aead099281fc04b44318f46212c70","responseTime":42,"status":200,"url":"/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxN30.tsLNDDRdLzhvUZs4OHWmdnDGwXpnZTpDOHq2iIH_qB4","level":"info","message":"auth send jwt","requestID":"d1203c6a753b599e5fd2c81c42bdf57f"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"d1203c6a753b599e5fd2c81c42bdf57f","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d1203c6a753b599e5fd2c81c42bdf57f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":73,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:57Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":73,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.389006,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d1203c6a753b599e5fd2c81c42bdf57f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676517,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxN30.tsLNDDRdLzhvUZs4OHWmdnDGwXpnZTpDOHq2iIH_qB4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d1203c6a753b599e5fd2c81c42bdf57f","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:55.620279454Z"}]},"request_id":"4709801a-8728-49ed-8a7b-c2387433854a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676517.815793} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d1203c6a753b599e5fd2c81c42bdf57f","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d1203c6a753b599e5fd2c81c42bdf57f"} gateway-1 | {"time_local":"18/Sep/2024:16:21:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f85cb014-e354-4097-b4b5-b80617f61b7c? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.027","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d1203c6a753b599e5fd2c81c42bdf57f"} device-1 | {"level":"info","message":"GET /devices/f85cb014-e354-4097-b4b5-b80617f61b7c? 200 20ms","method":"GET","requestID":"d1203c6a753b599e5fd2c81c42bdf57f","responseTime":20,"status":200,"url":"/devices/f85cb014-e354-4097-b4b5-b80617f61b7c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxN30.tsLNDDRdLzhvUZs4OHWmdnDGwXpnZTpDOHq2iIH_qB4","level":"info","message":"auth send jwt","requestID":"89951407c3e7b02cebd491ca81beebf1"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"89951407c3e7b02cebd491ca81beebf1","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"89951407c3e7b02cebd491ca81beebf1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":74,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:57Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":74,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.225018,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"89951407c3e7b02cebd491ca81beebf1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676517,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxN30.tsLNDDRdLzhvUZs4OHWmdnDGwXpnZTpDOHq2iIH_qB4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"89951407c3e7b02cebd491ca81beebf1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:55.676284018Z"}]},"request_id":"beb9f2af-a4ec-4fb1-9087-ff1dfc0849c1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676517.845036} authorization-1 | {"level":"info","message":"POST /relations/query 200 10ms","method":"POST","requestID":"89951407c3e7b02cebd491ca81beebf1","responseTime":10,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"89951407c3e7b02cebd491ca81beebf1"} gateway-1 | {"time_local":"18/Sep/2024:16:21:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.032","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"89951407c3e7b02cebd491ca81beebf1"} device-1 | {"level":"info","message":"GET /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391? 200 26ms","method":"GET","requestID":"89951407c3e7b02cebd491ca81beebf1","responseTime":26,"status":200,"url":"/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxN30.tsLNDDRdLzhvUZs4OHWmdnDGwXpnZTpDOHq2iIH_qB4","level":"info","message":"auth send jwt","requestID":"87960958e3b6576ae600589beabc43c4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"87960958e3b6576ae600589beabc43c4","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"87960958e3b6576ae600589beabc43c4"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":75,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:57Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":75,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.31049,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"87960958e3b6576ae600589beabc43c4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676517,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxN30.tsLNDDRdLzhvUZs4OHWmdnDGwXpnZTpDOHq2iIH_qB4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"87960958e3b6576ae600589beabc43c4","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"},"level":"info","message":"Attempting to run experiment","requestID":"87960958e3b6576ae600589beabc43c4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"},"level":"info","message":"Attempting to book experiment","requestID":"87960958e3b6576ae600589beabc43c4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"},"level":"info","message":"Successfully booked experiment","requestID":"87960958e3b6576ae600589beabc43c4"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"206d2980-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"206d77a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":76,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:57Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":76,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.096133,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"206d2980-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676517,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxN30.tsLNDDRdLzhvUZs4OHWmdnDGwXpnZTpDOHq2iIH_qB4"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"206d2980-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Received request.","req_id":77,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:57Z"} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Sent response.","req_id":77,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.129893,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"206d77a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676517,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxN30.tsLNDDRdLzhvUZs4OHWmdnDGwXpnZTpDOHq2iIH_qB4"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"206d77a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:55.620279454Z"}]},"request_id":"4e1c44e6-2cef-41ef-bdf8-fb87da7d9a0b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676517.9270809} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"206d2980-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:55.676284018Z"}]},"request_id":"25fc8ca1-dacf-4eb7-9aaf-e89731c1d6c8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676517.9336662} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"206d2980-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"206d77a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/f85cb014-e354-4097-b4b5-b80617f61b7c? 200 23ms","method":"GET","requestID":"206d2980-75da-11ef-ba7c-09eaa4331ae1","responseTime":23,"status":200,"url":"/devices/f85cb014-e354-4097-b4b5-b80617f61b7c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"206d77a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391? 200 27ms","method":"GET","requestID":"206d77a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":200,"url":"/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"},"level":"info","message":"Setting up experiment","requestID":"87960958e3b6576ae600589beabc43c4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"87960958e3b6576ae600589beabc43c4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"},"level":"info","message":"Successfully locked booking for experiment","requestID":"87960958e3b6576ae600589beabc43c4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"87960958e3b6576ae600589beabc43c4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"87960958e3b6576ae600589beabc43c4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"},"level":"info","message":"Attempting to update booking for experiment","requestID":"87960958e3b6576ae600589beabc43c4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"},"level":"info","message":"Successfully updated booking for experiment","requestID":"87960958e3b6576ae600589beabc43c4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"},"level":"info","message":"Successfully set up experiment","requestID":"87960958e3b6576ae600589beabc43c4"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"207b8160-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"207bf690-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"207c44b0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"},"level":"info","message":"Successfully running experiment","requestID":"87960958e3b6576ae600589beabc43c4"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":78,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":78,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.280219,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Received request.","req_id":79,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"207b8160-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676517,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxN30.tsLNDDRdLzhvUZs4OHWmdnDGwXpnZTpDOHq2iIH_qB4"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"207b8160-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Sent response.","req_id":79,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.020619,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"207bf690-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676517,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxN30.tsLNDDRdLzhvUZs4OHWmdnDGwXpnZTpDOHq2iIH_qB4"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"207bf690-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35958","level":"info","msg":"Received request.","req_id":80,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:55.676284018Z"}]},"request_id":"5b8c40e9-bfc3-477b-8a63-198fd1e083c7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676518.0271122} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"44114819-d5e4-4313-9ef8-ae7f2de76c59","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676518.027262} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"207bf690-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:35958","level":"info","msg":"Sent response.","req_id":80,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.904513,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"207c44b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 16ms","method":"POST","requestID":"207c44b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:55.620279454Z"}]},"request_id":"3c3027db-6bec-45d2-a920-7e97ac7da368","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676518.0288384} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"207b8160-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"207bf690-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391? 200 28ms","method":"GET","requestID":"207bf690-75da-11ef-ba7c-09eaa4331ae1","responseTime":28,"status":200,"url":"/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"207c44b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f85cb014-e354-4097-b4b5-b80617f61b7c/signaling 200 27ms","method":"POST","requestID":"207c44b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":200,"url":"/devices/f85cb014-e354-4097-b4b5-b80617f61b7c/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"207b8160-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F20fc62a8-06a9-4626-a9aa-a3d71646d10e#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F20fc62a8-06a9-4626-a9aa-a3d71646d10e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"7371c420-0b30-44bb-9c68-5cd72fca5354","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676518.039559} device-1 | {"level":"info","message":"GET /devices/f85cb014-e354-4097-b4b5-b80617f61b7c? 200 34ms","method":"GET","requestID":"207b8160-75da-11ef-ba7c-09eaa4331ae1","responseTime":34,"status":200,"url":"/devices/f85cb014-e354-4097-b4b5-b80617f61b7c?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"93b296b9-6703-4d66-93a1-8c4bb8352dd4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676518.0399573} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"87960958e3b6576ae600589beabc43c4","responseTime":21,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2080ffa0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":81,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:58Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"208174d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eef04b2c-ddf8-4ad7-9e82-fe3aaf806bea","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676518.0485878} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Received request.","req_id":82,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":81,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.986003,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2080ffa0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"2080ffa0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ad24ef81-d875-4641-9de5-dc08b4161c66","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676518.0520897} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Sent response.","req_id":82,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.938705,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"208174d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"87960958e3b6576ae600589beabc43c4"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"208174d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:21:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"812","request_time":"0.195","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"87960958e3b6576ae600589beabc43c4"} experiment-1 | {"level":"info","message":"POST /experiments? 201 187ms","method":"POST","requestID":"87960958e3b6576ae600589beabc43c4","responseTime":187,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2080ffa0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391/signaling 200 15ms","method":"POST","requestID":"2080ffa0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"208174d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f85cb014-e354-4097-b4b5-b80617f61b7c/signaling 200 14ms","method":"POST","requestID":"208174d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/f85cb014-e354-4097-b4b5-b80617f61b7c/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxOH0.JvbR52tst2DLl0qwxK8qlu31NuakslEOMXeWY6cqhHw","level":"info","message":"auth send jwt","requestID":"221fec8ad51414880d575063c3165fb4"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"221fec8ad51414880d575063c3165fb4","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"20840ce0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"221fec8ad51414880d575063c3165fb4"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":83,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Received request.","req_id":84,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Sent response.","req_id":84,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.999727,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"221fec8ad51414880d575063c3165fb4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676518,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxOH0.JvbR52tst2DLl0qwxK8qlu31NuakslEOMXeWY6cqhHw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"221fec8ad51414880d575063c3165fb4","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dd5daebf-b499-43ec-b50e-dfdf53fcf0e7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676518.0694811} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":83,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.757092,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"20840ce0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"20840ce0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"20840ce0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391/signaling 200 14ms","method":"POST","requestID":"20840ce0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:55.620279454Z"}]},"request_id":"a24ee142-517f-4766-8140-a69d8eaa27f5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676518.0765362} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"221fec8ad51414880d575063c3165fb4","responseTime":4,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"87960958e3b6576ae600589beabc43c4"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2086a4f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2086f310-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":85,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:58Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"221fec8ad51414880d575063c3165fb4"} device-1 | {"level":"info","message":"GET /devices/f85cb014-e354-4097-b4b5-b80617f61b7c? 200 19ms","method":"GET","requestID":"221fec8ad51414880d575063c3165fb4","responseTime":19,"status":200,"url":"/devices/f85cb014-e354-4097-b4b5-b80617f61b7c?"} gateway-1 | {"time_local":"18/Sep/2024:16:21:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f85cb014-e354-4097-b4b5-b80617f61b7c? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"221fec8ad51414880d575063c3165fb4"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":85,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.742101,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Received request.","req_id":86,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2086a4f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676517,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxN30.tsLNDDRdLzhvUZs4OHWmdnDGwXpnZTpDOHq2iIH_qB4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2086a4f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Sent response.","req_id":86,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.621713,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2086f310-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676517,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxN30.tsLNDDRdLzhvUZs4OHWmdnDGwXpnZTpDOHq2iIH_qB4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2086f310-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxOH0.JvbR52tst2DLl0qwxK8qlu31NuakslEOMXeWY6cqhHw","level":"info","message":"auth send jwt","requestID":"69e643ab6ab038e36e033cdd25f0148e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"69e643ab6ab038e36e033cdd25f0148e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"69e643ab6ab038e36e033cdd25f0148e"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:55.620279454Z"}]},"request_id":"9d915c8c-3961-4ba2-878c-3d6f8b3dcee8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676518.088301} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2086a4f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:55.676284018Z"}]},"request_id":"2ad9eff4-4e59-48c3-9623-2fe5aff625ab","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676518.0895936} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2086a4f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"2086f310-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":87,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":87,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.685553,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:58Z"} device-1 | {"level":"info","message":"GET /devices/f85cb014-e354-4097-b4b5-b80617f61b7c? 200 13ms","method":"GET","requestID":"2086a4f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/f85cb014-e354-4097-b4b5-b80617f61b7c?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"69e643ab6ab038e36e033cdd25f0148e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676518,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxOH0.JvbR52tst2DLl0qwxK8qlu31NuakslEOMXeWY6cqhHw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"69e643ab6ab038e36e033cdd25f0148e","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2086f310-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391? 200 15ms","method":"GET","requestID":"2086f310-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:21:55.676284018Z"}]},"request_id":"dedff9c9-108e-4db9-8653-5b16f0c2c090","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676518.0970085} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"},"level":"info","message":"Building connection plan","requestID":"87960958e3b6576ae600589beabc43c4"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"4f558a75-3071-4dd6-a79e-88536cd8f20a"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"9e310c5f-382e-4aec-aa28-a65e498ac7f1"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"83d93df3-1d19-4899-96f8-9abe9ee80594"}]},"level":"info","message":"Built pairwise service configurations","requestID":"87960958e3b6576ae600589beabc43c4"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"87960958e3b6576ae600589beabc43c4"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"69e643ab6ab038e36e033cdd25f0148e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"2089d940-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"69e643ab6ab038e36e033cdd25f0148e"} gateway-1 | {"time_local":"18/Sep/2024:16:21:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"69e643ab6ab038e36e033cdd25f0148e"} device-1 | {"level":"info","message":"GET /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391? 200 14ms","method":"GET","requestID":"69e643ab6ab038e36e033cdd25f0148e","responseTime":14,"status":200,"url":"/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":88,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":88,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.916217,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2089d940-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676517,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUxN30.tsLNDDRdLzhvUZs4OHWmdnDGwXpnZTpDOHq2iIH_qB4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2089d940-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"8228f51e-8310-4874-a188-e708a6152cbe","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676518.112542} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5603d20b-f122-4bb1-a134-f4bd9bc6d7b7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676518.1128232} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"2089d940-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"2089d940-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"2089d940-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600'","requestID":"2089d940-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600'","requestID":"2089d940-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"2089d940-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 28ms","method":"POST","requestID":"2089d940-75da-11ef-ba7c-09eaa4331ae1","responseTime":28,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"2089d940-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"87960958e3b6576ae600589beabc43c4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"20939d40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":89,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bbe70f6e-1a64-4541-a9da-dff3c61ed2c9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676518.16888} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":89,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.779397,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"20939d40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"20939d40-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"20939d40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f85cb014-e354-4097-b4b5-b80617f61b7c/signaling 200 9ms","method":"POST","requestID":"20939d40-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/f85cb014-e354-4097-b4b5-b80617f61b7c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"20954af0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":90,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cde7fa09-2e51-4d25-8fcc-19d9717e1c5e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676518.1807146} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":90,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.853276,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:21:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"20954af0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"20954af0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"20954af0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391/signaling 200 10ms","method":"POST","requestID":"20954af0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391/signaling"} device-1 | {"device":"a8278eb8-5f5f-4847-b50c-17dac4a72391","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"a8278eb8-5f5f-4847-b50c-17dac4a72391","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 325447317286597715 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:yR8l\r\na=ice-pwd:TCVKn6kzLdMUPNS2ZSGRqdPO\r\na=ice-options:trickle\r\na=fingerprint:sha-256 4C:03:C9:5F:EE:B0:E4:22:83:EB:6E:A1:4F:0D:D2:12:FB:D1:3D:03:1C:BD:7D:F8:A6:94:6E:AB:AB:E9:AC:16\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"a8278eb8-5f5f-4847-b50c-17dac4a72391","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"device":"a8278eb8-5f5f-4847-b50c-17dac4a72391","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"f85cb014-e354-4097-b4b5-b80617f61b7c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"ffd69544-2789-4ebc-8845-77d23ba5a600","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"f85cb014-e354-4097-b4b5-b80617f61b7c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"f85cb014-e354-4097-b4b5-b80617f61b7c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"f85cb014-e354-4097-b4b5-b80617f61b7c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"f85cb014-e354-4097-b4b5-b80617f61b7c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ffd69544-2789-4ebc-8845-77d23ba5a600","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4681219f5a1c9c43a526e07cf2cba15b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"4681219f5a1c9c43a526e07cf2cba15b","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600"}}},"level":"info","message":"received a callback","requestID":"4681219f5a1c9c43a526e07cf2cba15b"} device-1 | {"content":{"candidate":"candidate:3009552122 1 udp 2113937151 ad1e9868-312c-4ce8-874e-b5b792ace946.local 35108 typ host generation 0 ufrag yR8l network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"a8278eb8-5f5f-4847-b50c-17dac4a72391","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:927954053 1 udp 1677729535 141.24.211.56 35108 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag yR8l network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"a8278eb8-5f5f-4847-b50c-17dac4a72391","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1682098958 1 udp 33562623 141.24.210.113 57628 typ relay raddr 141.24.211.56 rport 35108 generation 0 ufrag yR8l network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"a8278eb8-5f5f-4847-b50c-17dac4a72391","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"a8278eb8-5f5f-4847-b50c-17dac4a72391","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391'"} device-1 | {"data":{"peerconnection":"ffd69544-2789-4ebc-8845-77d23ba5a600","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 15ms","method":"POST","requestID":"4681219f5a1c9c43a526e07cf2cba15b","responseTime":15,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch","requestID":"4681219f5a1c9c43a526e07cf2cba15b"} device-1 | {"device":"f85cb014-e354-4097-b4b5-b80617f61b7c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"a8278eb8-5f5f-4847-b50c-17dac4a72391","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"f85cb014-e354-4097-b4b5-b80617f61b7c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"ffd69544-2789-4ebc-8845-77d23ba5a600","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ffd69544-2789-4ebc-8845-77d23ba5a600","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b291f62a7f7c27bdc440fc7160e68e92","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b291f62a7f7c27bdc440fc7160e68e92","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600"}}},"level":"info","message":"received a callback","requestID":"b291f62a7f7c27bdc440fc7160e68e92"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"21d56c10-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":91,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fffd69544-2789-4ebc-8845-77d23ba5a600","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8b12eebc-6b41-4cc5-80f3-3e34f3a0b66e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.2796822} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":91,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.641589,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"21d56c10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"21d56c10-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"21d56c10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600 200 12ms","method":"GET","requestID":"21d56c10-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 54ms","method":"POST","requestID":"b291f62a7f7c27bdc440fc7160e68e92","responseTime":54,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.059","http_referrer":"","http_user_agent":"node-fetch","requestID":"b291f62a7f7c27bdc440fc7160e68e92"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"21dc22d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":92,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9589f6b0-d5f2-4ccd-a912-349d1d2de1d7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.3226655} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":92,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.481545,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"21dc22d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"21dc22d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"21dc22d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f85cb014-e354-4097-b4b5-b80617f61b7c/signaling 200 10ms","method":"POST","requestID":"21dc22d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/f85cb014-e354-4097-b4b5-b80617f61b7c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"21de45b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":93,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bc7655ac-a2fe-45c3-9901-d76e6b4ffd90","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.3367765} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":93,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.467688,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"21de45b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"21de45b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"21de45b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391/signaling 200 11ms","method":"POST","requestID":"21de45b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMH0.xJtAJgr2jtcDrImMbtt-uSXHFOLYLM5FOeT-vZDP8js","level":"info","message":"auth send jwt","requestID":"04b6253f7ae896c2d3ba6b509427d092"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"04b6253f7ae896c2d3ba6b509427d092","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e","requestID":"04b6253f7ae896c2d3ba6b509427d092"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":94,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":94,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.294911,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"04b6253f7ae896c2d3ba6b509427d092","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676520,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMH0.xJtAJgr2jtcDrImMbtt-uSXHFOLYLM5FOeT-vZDP8js"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"04b6253f7ae896c2d3ba6b509427d092","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e","requestID":"04b6253f7ae896c2d3ba6b509427d092"} gateway-1 | {"time_local":"18/Sep/2024:16:22:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e HTTP/1.1","status": "200","body_bytes_sent":"885","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"04b6253f7ae896c2d3ba6b509427d092"} experiment-1 | {"level":"info","message":"GET /experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e 200 19ms","method":"GET","requestID":"04b6253f7ae896c2d3ba6b509427d092","responseTime":19,"status":200,"url":"/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMH0.xJtAJgr2jtcDrImMbtt-uSXHFOLYLM5FOeT-vZDP8js","level":"info","message":"auth send jwt","requestID":"3cca0fcdcafafb347501521bc0813e30"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3cca0fcdcafafb347501521bc0813e30","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e","requestID":"3cca0fcdcafafb347501521bc0813e30"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":95,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":95,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.992995,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3cca0fcdcafafb347501521bc0813e30","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676520,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMH0.xJtAJgr2jtcDrImMbtt-uSXHFOLYLM5FOeT-vZDP8js"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3cca0fcdcafafb347501521bc0813e30","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"},"level":"info","message":"Attempting to finish experiment","requestID":"3cca0fcdcafafb347501521bc0813e30"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"21e6aa20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":96,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":96,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.087628,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"21e6aa20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676520,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMH0.xJtAJgr2jtcDrImMbtt-uSXHFOLYLM5FOeT-vZDP8js"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"21e6aa20-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600","device":"a8278eb8-5f5f-4847-b50c-17dac4a72391","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"f85cb014-e354-4097-b4b5-b80617f61b7c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"f85cb014-e354-4097-b4b5-b80617f61b7c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"f85cb014-e354-4097-b4b5-b80617f61b7c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ffd69544-2789-4ebc-8845-77d23ba5a600","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fffd69544-2789-4ebc-8845-77d23ba5a600': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fffd69544-2789-4ebc-8845-77d23ba5a600","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"0208b83c-55ac-424c-ad39-219a7d2e2e32","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.4079468} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0380360b-d7ce-4fd6-b955-c3d081cc151a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.408577} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"21e6aa20-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ac808bd2edafe9f573a7c07cb0ebf203","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"ac808bd2edafe9f573a7c07cb0ebf203","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4aaab3bfbd22fe4bb8980f56929c6e79","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"21e6aa20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600 204 30ms","method":"DELETE","requestID":"21e6aa20-75da-11ef-ba7c-09eaa4331ae1","responseTime":30,"status":204,"url":"/peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"4aaab3bfbd22fe4bb8980f56929c6e79","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600"}}},"level":"info","message":"received a callback","requestID":"ac808bd2edafe9f573a7c07cb0ebf203"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/ffd69544-2789-4ebc-8845-77d23ba5a600"}}},"level":"info","message":"received a callback","requestID":"4aaab3bfbd22fe4bb8980f56929c6e79"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"},"level":"info","message":"Successfully finished experiment","requestID":"3cca0fcdcafafb347501521bc0813e30"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"21efaad0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":97,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff85cb014-e354-4097-b4b5-b80617f61b7c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9a1d3927-e15e-4491-b1df-3d6d17f395c3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.452598} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":97,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.76458,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"21efaad0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"21efaad0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"21efaad0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f85cb014-e354-4097-b4b5-b80617f61b7c/signaling 200 14ms","method":"POST","requestID":"21efaad0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/f85cb014-e354-4097-b4b5-b80617f61b7c/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F20fc62a8-06a9-4626-a9aa-a3d71646d10e': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F20fc62a8-06a9-4626-a9aa-a3d71646d10e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"3ee94ce1-4242-4cc8-9ad0-cd70746003e0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.4600968} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"21f242e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6fb4abd5-dbb5-412c-838a-f6528dcea205","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.4618773} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"3cca0fcdcafafb347501521bc0813e30","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":98,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa8278eb8-5f5f-4847-b50c-17dac4a72391","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eec2a022-02e6-484a-a177-ce462d9f3169","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.4681776} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":98,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.352212,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"21f242e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"21f242e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"21f242e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a8278eb8-5f5f-4847-b50c-17dac4a72391/signaling 200 11ms","method":"POST","requestID":"21f242e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e","requestID":"3cca0fcdcafafb347501521bc0813e30"} gateway-1 | {"time_local":"18/Sep/2024:16:22:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.153","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3cca0fcdcafafb347501521bc0813e30"} experiment-1 | {"level":"info","message":"DELETE /experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e 204 149ms","method":"DELETE","requestID":"3cca0fcdcafafb347501521bc0813e30","responseTime":149,"status":204,"url":"/experiments/20fc62a8-06a9-4626-a9aa-a3d71646d10e"} gateway-1 | {"time_local":"18/Sep/2024:16:22:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3421","request_time":"4.289","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"35c1e5c8470a232b672a4aa5c4649e0b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 109ms","method":"POST","requestID":"ac808bd2edafe9f573a7c07cb0ebf203","responseTime":109,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.115","http_referrer":"","http_user_agent":"node-fetch","requestID":"ac808bd2edafe9f573a7c07cb0ebf203"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 102ms","method":"POST","requestID":"4aaab3bfbd22fe4bb8980f56929c6e79","responseTime":102,"status":200,"url":"/callbacks/experiment"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMH0.xJtAJgr2jtcDrImMbtt-uSXHFOLYLM5FOeT-vZDP8js","level":"info","message":"auth send jwt","requestID":"38dda4285e00867b45dc02b069aa59b7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"38dda4285e00867b45dc02b069aa59b7","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"38dda4285e00867b45dc02b069aa59b7"} gateway-1 | {"time_local":"18/Sep/2024:16:22:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.121","http_referrer":"","http_user_agent":"node-fetch","requestID":"4aaab3bfbd22fe4bb8980f56929c6e79"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":99,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:00Z"} gateway-1 | {"time_local":"18/Sep/2024:16:22:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2886","request_time":"2.836","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"79bb3cde744e325a88f23a6ad8426fe4"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":99,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":2.785699,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"38dda4285e00867b45dc02b069aa59b7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676520,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMH0.xJtAJgr2jtcDrImMbtt-uSXHFOLYLM5FOeT-vZDP8js"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"38dda4285e00867b45dc02b069aa59b7","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/f85cb014-e354-4097-b4b5-b80617f61b7c' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"2dbb8909-7a0d-4c27-8aef-4f039e34bad0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.5542407} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"38dda4285e00867b45dc02b069aa59b7","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/a8278eb8-5f5f-4847-b50c-17dac4a72391' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"210f33bc-c8e8-4106-9630-e93e9fdbcd85","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.5606737} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"38dda4285e00867b45dc02b069aa59b7","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"0de9ba64-63fc-4b9d-a823-1f1a4ac4e2c7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.5704305} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ef6a7a42-1616-4942-ac46-764c118b8e05","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.5705426} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"38dda4285e00867b45dc02b069aa59b7","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:00.570412437Z"}]},"request_id":"78ae1dc1-f5f7-42ab-bf05-ce01978726e6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.5755057} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"38dda4285e00867b45dc02b069aa59b7","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"38dda4285e00867b45dc02b069aa59b7"} gateway-1 | {"time_local":"18/Sep/2024:16:22:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.054","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"38dda4285e00867b45dc02b069aa59b7"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"38dda4285e00867b45dc02b069aa59b7","responseTime":48,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMH0.xJtAJgr2jtcDrImMbtt-uSXHFOLYLM5FOeT-vZDP8js","level":"info","message":"auth send jwt","requestID":"1c396ebae82b77d51f418516d4b3ec65"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1c396ebae82b77d51f418516d4b3ec65","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"1c396ebae82b77d51f418516d4b3ec65"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":100,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":100,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.79782,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:00Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1c396ebae82b77d51f418516d4b3ec65","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676520,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMH0.xJtAJgr2jtcDrImMbtt-uSXHFOLYLM5FOeT-vZDP8js"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1c396ebae82b77d51f418516d4b3ec65","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"8ee99d1e-e675-4234-8879-2b03a4b3cdb7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.6048033} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"1c396ebae82b77d51f418516d4b3ec65","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"aea2db23-05de-4d81-a2df-48b743253b43","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.6099627} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"1c396ebae82b77d51f418516d4b3ec65","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"481daecc-24a4-4398-9023-8d6f145f3074","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.6213763} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3238b2da-d611-4ca1-a8e7-af7865784e11","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.6216738} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"1c396ebae82b77d51f418516d4b3ec65","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:00.621363306Z"}]},"request_id":"5d11ac0d-6125-43ee-9cd1-1a9328b25a78","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676520.6263523} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1c396ebae82b77d51f418516d4b3ec65","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"1c396ebae82b77d51f418516d4b3ec65"} gateway-1 | {"time_local":"18/Sep/2024:16:22:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1c396ebae82b77d51f418516d4b3ec65"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"1c396ebae82b77d51f418516d4b3ec65","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM","level":"info","message":"auth send jwt","requestID":"e05bc396c937c4bc9f319e72433fe609"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"e05bc396c937c4bc9f319e72433fe609","responseTime":7,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM","level":"info","message":"auth send jwt","requestID":"3b6d4075c1947abd00ed73dd9a542289"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"3b6d4075c1947abd00ed73dd9a542289","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e05bc396c937c4bc9f319e72433fe609"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"3b6d4075c1947abd00ed73dd9a542289"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":101,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":101,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.5878,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Received request.","req_id":102,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e05bc396c937c4bc9f319e72433fe609","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676521,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e05bc396c937c4bc9f319e72433fe609","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Sent response.","req_id":102,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.365878,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3b6d4075c1947abd00ed73dd9a542289","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676521,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3b6d4075c1947abd00ed73dd9a542289","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:00.570412437Z"}]},"request_id":"3bdf1566-ede1-451c-9e05-87cffca198f4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.1106465} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e05bc396c937c4bc9f319e72433fe609","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:00.621363306Z"}]},"request_id":"fde2c8cc-2560-4ac7-8165-fd8d3fa7b119","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.1115212} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3b6d4075c1947abd00ed73dd9a542289","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6c73bb1a-5a6e-4a63-8425-b79e2d7dc494","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.116545} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"e05bc396c937c4bc9f319e72433fe609","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"74b7a294-1e6a-4f19-a6b5-e6e8f0ebb29b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.1179545} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"3b6d4075c1947abd00ed73dd9a542289","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:00.621363306Z"}]},"request_id":"0b778b79-6780-4ee5-a18b-7cac32633059","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.1206915} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3b6d4075c1947abd00ed73dd9a542289","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"3b6d4075c1947abd00ed73dd9a542289"} gateway-1 | {"time_local":"18/Sep/2024:16:22:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.031","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"3b6d4075c1947abd00ed73dd9a542289"} device-1 | {"level":"info","message":"PATCH /devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e 200 23ms","method":"PATCH","requestID":"3b6d4075c1947abd00ed73dd9a542289","responseTime":23,"status":200,"url":"/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM","level":"info","message":"auth send jwt","requestID":"572270da045e9f17f84f184b43b915ca"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"572270da045e9f17f84f184b43b915ca","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"572270da045e9f17f84f184b43b915ca"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":103,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":103,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.677028,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"572270da045e9f17f84f184b43b915ca","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676521,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"572270da045e9f17f84f184b43b915ca","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:00.570412437Z"}]},"request_id":"c15142bd-738e-4b9a-b3d3-6b374a8e19dd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.1315975} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e05bc396c937c4bc9f319e72433fe609","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e05bc396c937c4bc9f319e72433fe609"} gateway-1 | {"time_local":"18/Sep/2024:16:22:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.045","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"e05bc396c937c4bc9f319e72433fe609"} device-1 | {"level":"info","message":"PATCH /devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d 200 37ms","method":"PATCH","requestID":"e05bc396c937c4bc9f319e72433fe609","responseTime":37,"status":200,"url":"/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM","level":"info","message":"auth send jwt","requestID":"c06ebe7f3fa5b14e70e9e4bdf5c7ec7d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c06ebe7f3fa5b14e70e9e4bdf5c7ec7d","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"c06ebe7f3fa5b14e70e9e4bdf5c7ec7d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":104,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":104,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.802775,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c06ebe7f3fa5b14e70e9e4bdf5c7ec7d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676521,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c06ebe7f3fa5b14e70e9e4bdf5c7ec7d","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"572270da045e9f17f84f184b43b915ca"} device-1 | {"level":"info","message":"POST /devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e/websocket 200 19ms","method":"POST","requestID":"572270da045e9f17f84f184b43b915ca","responseTime":19,"status":200,"url":"/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.022","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"572270da045e9f17f84f184b43b915ca"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"c06ebe7f3fa5b14e70e9e4bdf5c7ec7d"} device-1 | {"level":"info","message":"POST /devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d/websocket 200 16ms","method":"POST","requestID":"c06ebe7f3fa5b14e70e9e4bdf5c7ec7d","responseTime":16,"status":200,"url":"/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.018","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"c06ebe7f3fa5b14e70e9e4bdf5c7ec7d"} device-1 | {"level":"info","message":"device 'http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM","level":"info","message":"auth send jwt","requestID":"30fddba5d8a43b482f31fdd01fa24fca"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"30fddba5d8a43b482f31fdd01fa24fca","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"30fddba5d8a43b482f31fdd01fa24fca"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":105,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":105,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.847574,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"30fddba5d8a43b482f31fdd01fa24fca","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676521,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"30fddba5d8a43b482f31fdd01fa24fca","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:00.570412437Z"}]},"request_id":"19a17b30-d6a7-47ad-857e-104a46816e3f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.193077} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"30fddba5d8a43b482f31fdd01fa24fca","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"30fddba5d8a43b482f31fdd01fa24fca"} gateway-1 | {"time_local":"18/Sep/2024:16:22:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"30fddba5d8a43b482f31fdd01fa24fca"} device-1 | {"level":"info","message":"GET /devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d? 200 13ms","method":"GET","requestID":"30fddba5d8a43b482f31fdd01fa24fca","responseTime":13,"status":200,"url":"/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM","level":"info","message":"auth send jwt","requestID":"34744c4c7ca0c5d1a3da8119d90d2e7a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"34744c4c7ca0c5d1a3da8119d90d2e7a","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"34744c4c7ca0c5d1a3da8119d90d2e7a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":106,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":106,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.682042,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"34744c4c7ca0c5d1a3da8119d90d2e7a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676521,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"34744c4c7ca0c5d1a3da8119d90d2e7a","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:00.621363306Z"}]},"request_id":"fcd07be1-730d-4538-a0e4-a69a032232d9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.212364} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"34744c4c7ca0c5d1a3da8119d90d2e7a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"34744c4c7ca0c5d1a3da8119d90d2e7a"} gateway-1 | {"time_local":"18/Sep/2024:16:22:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"34744c4c7ca0c5d1a3da8119d90d2e7a"} device-1 | {"level":"info","message":"GET /devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e? 200 11ms","method":"GET","requestID":"34744c4c7ca0c5d1a3da8119d90d2e7a","responseTime":11,"status":200,"url":"/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM","level":"info","message":"auth send jwt","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"1d4f9ef675558003c6ab9cfd41ca1047","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":107,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":107,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.948701,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1d4f9ef675558003c6ab9cfd41ca1047","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676521,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1d4f9ef675558003c6ab9cfd41ca1047","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"},"level":"info","message":"Attempting to run experiment","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"},"level":"info","message":"Attempting to book experiment","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"},"level":"info","message":"Successfully booked experiment","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"226d3f40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"226db470-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":108,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":108,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.286668,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Received request.","req_id":109,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"226d3f40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676521,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"226d3f40-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Sent response.","req_id":109,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.563847,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"226db470-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676521,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"226db470-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:00.570412437Z"}]},"request_id":"b39975a5-f99f-4798-91b2-ec96afa45403","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.2847621} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"226d3f40-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:00.621363306Z"}]},"request_id":"a1d6379c-edc9-42e1-b18b-3ab5ff23c9ce","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.2863235} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"226db470-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"226d3f40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d? 200 27ms","method":"GET","requestID":"226d3f40-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":200,"url":"/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"226db470-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e? 200 25ms","method":"GET","requestID":"226db470-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"},"level":"info","message":"Setting up experiment","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"},"level":"info","message":"Successfully locked booking for experiment","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"},"level":"info","message":"Attempting to update booking for experiment","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"},"level":"info","message":"Successfully updated booking for experiment","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"},"level":"info","message":"Successfully set up experiment","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"227aacc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"227ad3d0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"},"level":"info","message":"Successfully running experiment","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"227b21f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":110,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":110,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.926741,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Received request.","req_id":111,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"227aacc0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676521,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"227aacc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Sent response.","req_id":111,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.987114,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"client_addr":"127.0.0.1:35958","level":"info","msg":"Received request.","req_id":112,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"227ad3d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676521,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"227ad3d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"685abe6e-0f41-4cfe-a2c3-365405a6e814","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.3707209} authorization-1 | {"client_addr":"127.0.0.1:35958","level":"info","msg":"Sent response.","req_id":112,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.427762,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"227b21f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"227b21f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:00.570412437Z"}]},"request_id":"d83068a6-58b2-4944-b779-4bd39ac25800","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.3738532} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"227aacc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"227b21f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:00.621363306Z"}]},"request_id":"0f57d6e6-fe1f-4cc1-b46b-4e8a56330d5a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.3768923} device-1 | {"level":"info","message":"POST /devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d/signaling 200 19ms","method":"POST","requestID":"227b21f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"227ad3d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"227e7d50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"227aacc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d? 200 28ms","method":"GET","requestID":"227aacc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":28,"status":200,"url":"/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"227ad3d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e? 200 28ms","method":"GET","requestID":"227ad3d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":28,"status":200,"url":"/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":113,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4ab9c391-1e0d-42aa-a191-775db6275431","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.3860424} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":113,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.764806,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd7f34188-ce87-4859-a1b3-31b626b466b6#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd7f34188-ce87-4859-a1b3-31b626b466b6","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"782b90ef-e787-4c58-b843-671081da554d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.3869226} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"227e7d50-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"227e7d50-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0df46813-7389-4c19-b3b7-02a16969795c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.3874063} authorization-1 | {"level":"info","message":"POST /relations/update 200 26ms","method":"POST","requestID":"1d4f9ef675558003c6ab9cfd41ca1047","responseTime":26,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"227fdce0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"227e7d50-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":114,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} device-1 | {"level":"info","message":"POST /devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e/signaling 200 13ms","method":"POST","requestID":"227e7d50-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"10de041e-df2f-4fce-8fe9-f6b2dd752ca1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.3963223} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":114,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.352262,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"227fdce0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"227fdce0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} gateway-1 | {"time_local":"18/Sep/2024:16:22:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"816","request_time":"0.182","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} experiment-1 | {"level":"info","message":"POST /experiments? 201 177ms","method":"POST","requestID":"1d4f9ef675558003c6ab9cfd41ca1047","responseTime":177,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"227fdce0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d/signaling 200 11ms","method":"POST","requestID":"227fdce0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM","level":"info","message":"auth send jwt","requestID":"ad8508e60cf6cc7c9f02c7a4764c6538"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2281ffc0-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"ad8508e60cf6cc7c9f02c7a4764c6538","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ad8508e60cf6cc7c9f02c7a4764c6538"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":115,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Received request.","req_id":116,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Sent response.","req_id":116,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.022839,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ad8508e60cf6cc7c9f02c7a4764c6538","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676521,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ad8508e60cf6cc7c9f02c7a4764c6538","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9b8de45f-0a29-4d83-8887-922f208623d2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.4091065} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":115,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.084825,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2281ffc0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"2281ffc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:00.570412437Z"}]},"request_id":"64e763f1-6a3f-445c-a5ef-2ee9ed81a6ba","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.4132173} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2281ffc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e/signaling 200 10ms","method":"POST","requestID":"2281ffc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ad8508e60cf6cc7c9f02c7a4764c6538","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2283d480-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2283fb90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ad8508e60cf6cc7c9f02c7a4764c6538"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":117,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":117,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.914108,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Received request.","req_id":118,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} gateway-1 | {"time_local":"18/Sep/2024:16:22:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ad8508e60cf6cc7c9f02c7a4764c6538"} device-1 | {"level":"info","message":"GET /devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d? 200 15ms","method":"GET","requestID":"ad8508e60cf6cc7c9f02c7a4764c6538","responseTime":15,"status":200,"url":"/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2283d480-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676521,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"2283d480-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35950","level":"info","msg":"Sent response.","req_id":118,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.753131,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM","level":"info","message":"auth send jwt","requestID":"c2a3b38ce122fb9af34ce5a0f9fd526e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c2a3b38ce122fb9af34ce5a0f9fd526e","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2283fb90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676521,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"2283fb90-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c2a3b38ce122fb9af34ce5a0f9fd526e"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:00.570412437Z"}]},"request_id":"26e0cb5b-8684-47b2-b3af-20995784e0c9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.4287024} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2283d480-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:00.621363306Z"}]},"request_id":"f7651637-8412-434a-a684-73f49db5ee98","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.4296432} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2283d480-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2283fb90-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":119,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":119,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.99396,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} device-1 | {"level":"info","message":"GET /devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d? 200 17ms","method":"GET","requestID":"2283d480-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c2a3b38ce122fb9af34ce5a0f9fd526e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676521,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c2a3b38ce122fb9af34ce5a0f9fd526e","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2283fb90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e? 200 20ms","method":"GET","requestID":"2283fb90-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:00.621363306Z"}]},"request_id":"5dccbf96-5eaa-4e27-bba4-c021b18820f1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.4375312} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c2a3b38ce122fb9af34ce5a0f9fd526e","responseTime":2,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"},"level":"info","message":"Building connection plan","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"778af313-aa27-4c4a-8d08-8bc20c93b2d7"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"89400309-e989-4889-9023-11cd908acc65"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"69d8e9b6-c70d-4cda-a459-a30642292e95"}]},"level":"info","message":"Built pairwise service configurations","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"2287a510-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c2a3b38ce122fb9af34ce5a0f9fd526e"} gateway-1 | {"time_local":"18/Sep/2024:16:22:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c2a3b38ce122fb9af34ce5a0f9fd526e"} device-1 | {"level":"info","message":"GET /devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e? 200 15ms","method":"GET","requestID":"c2a3b38ce122fb9af34ce5a0f9fd526e","responseTime":15,"status":200,"url":"/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":120,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":120,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.699249,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2287a510-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676521,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyMX0.s1sQm8wDja4g0QPNek2Cf9qPbnR0cslf4iXYR0KwHUM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2287a510-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"5d8c390a-b186-4e5c-a5b4-7d112dc929cf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.4556952} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0541f043-204c-475b-81eb-4df5d4529467","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.4559112} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"2287a510-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"2287a510-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"2287a510-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/b86fe8cf-8cb3-4400-b58f-ffc32ec9d347'","requestID":"2287a510-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/b86fe8cf-8cb3-4400-b58f-ffc32ec9d347'","requestID":"2287a510-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"2287a510-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 26ms","method":"POST","requestID":"2287a510-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"2287a510-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"1d4f9ef675558003c6ab9cfd41ca1047"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"228fe270-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":121,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bd3cec97-bf11-4847-934f-19f8c6abcd8c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.4999075} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":121,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.740136,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"228fe270-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"228fe270-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"228fe270-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d/signaling 200 9ms","method":"POST","requestID":"228fe270-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"22919020-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":122,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d450ff6a-764a-405a-883e-8c8048be9046","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676521.5100145} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":122,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.457655,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"22919020-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"22919020-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"22919020-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e/signaling 200 9ms","method":"POST","requestID":"22919020-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e/signaling"} device-1 | {"device":"1e05508c-84f9-4ce1-9069-c862cbb5a39e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"b86fe8cf-8cb3-4400-b58f-ffc32ec9d347","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"b86fe8cf-8cb3-4400-b58f-ffc32ec9d347","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b86fe8cf-8cb3-4400-b58f-ffc32ec9d347' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b86fe8cf-8cb3-4400-b58f-ffc32ec9d347","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"91db3de7ec6b227a2f4b682941768bb5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"91db3de7ec6b227a2f4b682941768bb5","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/b86fe8cf-8cb3-4400-b58f-ffc32ec9d347"}}},"level":"info","message":"received a callback","requestID":"91db3de7ec6b227a2f4b682941768bb5"} device-1 | {"device":"1e05508c-84f9-4ce1-9069-c862cbb5a39e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"1e05508c-84f9-4ce1-9069-c862cbb5a39e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"1e05508c-84f9-4ce1-9069-c862cbb5a39e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"b86fe8cf-8cb3-4400-b58f-ffc32ec9d347","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 14ms","method":"POST","requestID":"91db3de7ec6b227a2f4b682941768bb5","responseTime":14,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch","requestID":"91db3de7ec6b227a2f4b682941768bb5"} device-1 | {"device":"1e05508c-84f9-4ce1-9069-c862cbb5a39e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"1e05508c-84f9-4ce1-9069-c862cbb5a39e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"b86fe8cf-8cb3-4400-b58f-ffc32ec9d347","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b86fe8cf-8cb3-4400-b58f-ffc32ec9d347' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b86fe8cf-8cb3-4400-b58f-ffc32ec9d347","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3c28c369cdd9b9f9bbf1766b5b147fd4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"3c28c369cdd9b9f9bbf1766b5b147fd4","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/b86fe8cf-8cb3-4400-b58f-ffc32ec9d347"}}},"level":"info","message":"received a callback","requestID":"3c28c369cdd9b9f9bbf1766b5b147fd4"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"23cf6750-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":123,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:03Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb86fe8cf-8cb3-4400-b58f-ffc32ec9d347","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fe043407-930d-4b1f-80bb-c8cb21f5456c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676523.5998483} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":123,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":4.036743,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b86fe8cf-8cb3-4400-b58f-ffc32ec9d347","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"23cf6750-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/b86fe8cf-8cb3-4400-b58f-ffc32ec9d347","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"23cf6750-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"23cf6750-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/b86fe8cf-8cb3-4400-b58f-ffc32ec9d347 200 20ms","method":"GET","requestID":"23cf6750-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/peerconnections/b86fe8cf-8cb3-4400-b58f-ffc32ec9d347"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 60ms","method":"POST","requestID":"3c28c369cdd9b9f9bbf1766b5b147fd4","responseTime":60,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.065","http_referrer":"","http_user_agent":"node-fetch","requestID":"3c28c369cdd9b9f9bbf1766b5b147fd4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"23d75690-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":124,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:03Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8c2e1d32-c043-43c9-9576-7d947366e0de","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676523.6487296} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":124,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.904684,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:03Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"23d75690-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"23d75690-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"23d75690-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d/signaling 200 16ms","method":"POST","requestID":"23d75690-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"23da63d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":125,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:03Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b4e55a8c-e4c3-4b31-aed8-03e5cc3d006d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676523.6700885} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyM30.AkYbON2843B_mBVjt9VKBjFLZ9q-Bf-thnR743bwQOw","level":"info","message":"auth send jwt","requestID":"4c97c5e173485028dc2e176b84bbb66a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":125,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.629764,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:03Z"} authentication-1 | {"level":"info","message":"GET /auth 200 11ms","method":"GET","requestID":"4c97c5e173485028dc2e176b84bbb66a","responseTime":11,"status":200,"url":"/auth"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"23da63d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/d7f34188-ce87-4859-a1b3-31b626b466b6","requestID":"4c97c5e173485028dc2e176b84bbb66a"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"23da63d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":126,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:03Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"23da63d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":126,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.921969,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:03Z"} device-1 | {"level":"info","message":"POST /devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e/signaling 200 17ms","method":"POST","requestID":"23da63d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e/signaling"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4c97c5e173485028dc2e176b84bbb66a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676523,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyM30.AkYbON2843B_mBVjt9VKBjFLZ9q-Bf-thnR743bwQOw"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4c97c5e173485028dc2e176b84bbb66a","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/d7f34188-ce87-4859-a1b3-31b626b466b6","requestID":"4c97c5e173485028dc2e176b84bbb66a"} gateway-1 | {"time_local":"18/Sep/2024:16:22:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/d7f34188-ce87-4859-a1b3-31b626b466b6 HTTP/1.1","status": "200","body_bytes_sent":"889","request_time":"0.032","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4c97c5e173485028dc2e176b84bbb66a"} experiment-1 | {"level":"info","message":"GET /experiments/d7f34188-ce87-4859-a1b3-31b626b466b6 200 19ms","method":"GET","requestID":"4c97c5e173485028dc2e176b84bbb66a","responseTime":19,"status":200,"url":"/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyM30.AkYbON2843B_mBVjt9VKBjFLZ9q-Bf-thnR743bwQOw","level":"info","message":"auth send jwt","requestID":"625a19c435322c5c14b8edfb903a6af3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"625a19c435322c5c14b8edfb903a6af3","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/d7f34188-ce87-4859-a1b3-31b626b466b6","requestID":"625a19c435322c5c14b8edfb903a6af3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":127,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:03Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":127,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.9112,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:03Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"625a19c435322c5c14b8edfb903a6af3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676523,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyM30.AkYbON2843B_mBVjt9VKBjFLZ9q-Bf-thnR743bwQOw"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"625a19c435322c5c14b8edfb903a6af3","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"},"level":"info","message":"Attempting to finish experiment","requestID":"625a19c435322c5c14b8edfb903a6af3"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"23e38b90-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":128,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:03Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":128,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.931033,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:03Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b86fe8cf-8cb3-4400-b58f-ffc32ec9d347","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"23e38b90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/b86fe8cf-8cb3-4400-b58f-ffc32ec9d347","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676523,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyM30.AkYbON2843B_mBVjt9VKBjFLZ9q-Bf-thnR743bwQOw"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"23e38b90-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"device":"8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"1e05508c-84f9-4ce1-9069-c862cbb5a39e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"1e05508c-84f9-4ce1-9069-c862cbb5a39e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"1e05508c-84f9-4ce1-9069-c862cbb5a39e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b86fe8cf-8cb3-4400-b58f-ffc32ec9d347' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/b86fe8cf-8cb3-4400-b58f-ffc32ec9d347' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b86fe8cf-8cb3-4400-b58f-ffc32ec9d347","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fd3327546ac9e61c13b0ff0b3cbdbd3b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"fd3327546ac9e61c13b0ff0b3cbdbd3b","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0ed30a3529c4921b1fd75bb7516dcf6d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"0ed30a3529c4921b1fd75bb7516dcf6d","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b86fe8cf-8cb3-4400-b58f-ffc32ec9d347"}}},"level":"info","message":"received a callback","requestID":"fd3327546ac9e61c13b0ff0b3cbdbd3b"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b86fe8cf-8cb3-4400-b58f-ffc32ec9d347"}}},"level":"info","message":"received a callback","requestID":"0ed30a3529c4921b1fd75bb7516dcf6d"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb86fe8cf-8cb3-4400-b58f-ffc32ec9d347': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb86fe8cf-8cb3-4400-b58f-ffc32ec9d347","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"3cd0f379-317a-4bad-a241-9e47fb292293","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676523.7623582} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fe8fe672-eafa-41cb-b55e-b97280d666a4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676523.7631257} authorization-1 | {"level":"info","message":"POST /relations/update 200 27ms","method":"POST","requestID":"23e38b90-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"b86fe8cf-8cb3-4400-b58f-ffc32ec9d347","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"23e38b90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/b86fe8cf-8cb3-4400-b58f-ffc32ec9d347 204 61ms","method":"DELETE","requestID":"23e38b90-75da-11ef-ba7c-09eaa4331ae1","responseTime":61,"status":204,"url":"/peerconnections/b86fe8cf-8cb3-4400-b58f-ffc32ec9d347"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"},"level":"info","message":"Successfully finished experiment","requestID":"625a19c435322c5c14b8edfb903a6af3"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"23f0d200-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":129,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:03Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"03b6a114-fbf3-4aef-9a03-0edb2ada4264","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676523.818748} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":129,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.45686,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:03Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"23f0d200-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"23f0d200-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"23f0d200-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d/signaling 200 21ms","method":"POST","requestID":"23f0d200-75da-11ef-ba7c-09eaa4331ae1","responseTime":21,"status":200,"url":"/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd7f34188-ce87-4859-a1b3-31b626b466b6': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd7f34188-ce87-4859-a1b3-31b626b466b6","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"f6768a60-e28a-45bf-88df-0333e4645e4c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676523.8288257} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"19e68a5f-b763-48f1-b4ff-6c3de846814b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676523.8296306} authorization-1 | {"level":"info","message":"POST /relations/update 200 28ms","method":"POST","requestID":"625a19c435322c5c14b8edfb903a6af3","responseTime":28,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"23f4c9a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":130,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:03Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e05508c-84f9-4ce1-9069-c862cbb5a39e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0edc1ecd-b009-4b17-9e58-1223d8cf4652","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676523.8421924} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":130,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.712718,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:03Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"23f4c9a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"23f4c9a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"23f4c9a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e/signaling 200 16ms","method":"POST","requestID":"23f4c9a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/d7f34188-ce87-4859-a1b3-31b626b466b6","requestID":"625a19c435322c5c14b8edfb903a6af3"} gateway-1 | {"time_local":"18/Sep/2024:16:22:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/d7f34188-ce87-4859-a1b3-31b626b466b6 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.211","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"625a19c435322c5c14b8edfb903a6af3"} experiment-1 | {"level":"info","message":"DELETE /experiments/d7f34188-ce87-4859-a1b3-31b626b466b6 204 206ms","method":"DELETE","requestID":"625a19c435322c5c14b8edfb903a6af3","responseTime":206,"status":204,"url":"/experiments/d7f34188-ce87-4859-a1b3-31b626b466b6"} gateway-1 | {"time_local":"18/Sep/2024:16:22:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2891","request_time":"2.749","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"3471586cc501127bdc550096112c401e"} gateway-1 | {"time_local":"18/Sep/2024:16:22:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2891","request_time":"2.759","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"75634f50c9108ce910392345faf15bf6"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 150ms","method":"POST","requestID":"fd3327546ac9e61c13b0ff0b3cbdbd3b","responseTime":150,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.154","http_referrer":"","http_user_agent":"node-fetch","requestID":"fd3327546ac9e61c13b0ff0b3cbdbd3b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 149ms","method":"POST","requestID":"0ed30a3529c4921b1fd75bb7516dcf6d","responseTime":149,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.156","http_referrer":"","http_user_agent":"node-fetch","requestID":"0ed30a3529c4921b1fd75bb7516dcf6d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyM30.AkYbON2843B_mBVjt9VKBjFLZ9q-Bf-thnR743bwQOw","level":"info","message":"auth send jwt","requestID":"7edd3ffd480909d545e1d7571829f944"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"7edd3ffd480909d545e1d7571829f944","responseTime":5,"status":200,"url":"/auth"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/1e05508c-84f9-4ce1-9069-c862cbb5a39e' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"7edd3ffd480909d545e1d7571829f944"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":131,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:03Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":131,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.878134,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:03Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7edd3ffd480909d545e1d7571829f944","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676523,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyM30.AkYbON2843B_mBVjt9VKBjFLZ9q-Bf-thnR743bwQOw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7edd3ffd480909d545e1d7571829f944","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/8d4fca18-c6cc-4a0c-b44d-e6d5d9097b4d' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"b9932921-9792-43ee-beba-c87e1e14ee52","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676523.9446125} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7edd3ffd480909d545e1d7571829f944","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4f21fce4-4ae5-4395-8f9c-4c6f00749ea0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676523.9518914} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"7edd3ffd480909d545e1d7571829f944","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"79834895-c5c0-46e5-bd99-de4ded397422","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676523.9635677} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"951bb75a-7902-4390-aedd-ac99f71935a8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676523.963872} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"7edd3ffd480909d545e1d7571829f944","responseTime":15,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:03.963550844Z"}]},"request_id":"e6124f9f-284c-4c3d-851a-7332471b6377","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676523.9696589} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7edd3ffd480909d545e1d7571829f944","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"7edd3ffd480909d545e1d7571829f944"} gateway-1 | {"time_local":"18/Sep/2024:16:22:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.065","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7edd3ffd480909d545e1d7571829f944"} device-1 | {"level":"info","message":"POST /devices? 201 57ms","method":"POST","requestID":"7edd3ffd480909d545e1d7571829f944","responseTime":57,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyM30.AkYbON2843B_mBVjt9VKBjFLZ9q-Bf-thnR743bwQOw","level":"info","message":"auth send jwt","requestID":"e0ac67e29e2b67092cd59464e42ac58e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e0ac67e29e2b67092cd59464e42ac58e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e0ac67e29e2b67092cd59464e42ac58e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":132,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:03Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":132,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.904427,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:03Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e0ac67e29e2b67092cd59464e42ac58e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676523,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyM30.AkYbON2843B_mBVjt9VKBjFLZ9q-Bf-thnR743bwQOw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e0ac67e29e2b67092cd59464e42ac58e","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"86a8d409-fd01-41d8-be1b-9084ae6f037d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676523.999215} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e0ac67e29e2b67092cd59464e42ac58e","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4c419758-4cf3-4dc5-bf4d-c1a071780992","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676524.0055914} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"e0ac67e29e2b67092cd59464e42ac58e","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"5594fe74-5616-434a-80be-1545da8fb147","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676524.0224144} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7dac667f-50e0-4b53-ae46-c5e80fd48912","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676524.0226667} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"e0ac67e29e2b67092cd59464e42ac58e","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:04.022401807Z"}]},"request_id":"f9b2baba-68db-44b6-b5c5-f5f8b1610d30","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676524.0274704} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e0ac67e29e2b67092cd59464e42ac58e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e0ac67e29e2b67092cd59464e42ac58e"} device-1 | {"level":"info","message":"POST /devices? 201 51ms","method":"POST","requestID":"e0ac67e29e2b67092cd59464e42ac58e","responseTime":51,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.056","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e0ac67e29e2b67092cd59464e42ac58e"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"24f79a9a8af215b458781507627aa863","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"24f79a9a8af215b458781507627aa863","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/71a8037b-7f76-4975-bb52-324b3951acc1/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.006","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"24f79a9a8af215b458781507627aa863"} device-1 | {"level":"info","message":"OPTIONS /devices/71a8037b-7f76-4975-bb52-324b3951acc1/websocket 200 2ms","method":"OPTIONS","requestID":"24f79a9a8af215b458781507627aa863","responseTime":2,"status":200,"url":"/devices/71a8037b-7f76-4975-bb52-324b3951acc1/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI","level":"info","message":"auth send jwt","requestID":"2863d0eccbdd945ed844516be42fab9e"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"2863d0eccbdd945ed844516be42fab9e","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"2863d0eccbdd945ed844516be42fab9e"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0ce2388cd02bf2c172e6813a71d09371","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"0ce2388cd02bf2c172e6813a71d09371","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":133,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":133,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.373687,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.006","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"0ce2388cd02bf2c172e6813a71d09371"} device-1 | {"level":"info","message":"OPTIONS /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6/websocket 200 1ms","method":"OPTIONS","requestID":"0ce2388cd02bf2c172e6813a71d09371","responseTime":1,"status":200,"url":"/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6/websocket"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2863d0eccbdd945ed844516be42fab9e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"2863d0eccbdd945ed844516be42fab9e","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI","level":"info","message":"auth send jwt","requestID":"0bd22c4ac1180de5dd0cdce29c52bb9d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0bd22c4ac1180de5dd0cdce29c52bb9d","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"0bd22c4ac1180de5dd0cdce29c52bb9d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":134,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":134,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.264871,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0bd22c4ac1180de5dd0cdce29c52bb9d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0bd22c4ac1180de5dd0cdce29c52bb9d","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"2863d0eccbdd945ed844516be42fab9e"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/71a8037b-7f76-4975-bb52-324b3951acc1/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.045","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"2863d0eccbdd945ed844516be42fab9e"} device-1 | {"level":"info","message":"POST /devices/71a8037b-7f76-4975-bb52-324b3951acc1/websocket 200 38ms","method":"POST","requestID":"2863d0eccbdd945ed844516be42fab9e","responseTime":38,"status":200,"url":"/devices/71a8037b-7f76-4975-bb52-324b3951acc1/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"0bd22c4ac1180de5dd0cdce29c52bb9d"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.041","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"0bd22c4ac1180de5dd0cdce29c52bb9d"} device-1 | {"level":"info","message":"POST /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6/websocket 200 32ms","method":"POST","requestID":"0bd22c4ac1180de5dd0cdce29c52bb9d","responseTime":32,"status":200,"url":"/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1b36e5b11057924c0f3c2d9b6a6e16d9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"1b36e5b11057924c0f3c2d9b6a6e16d9","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/71a8037b-7f76-4975-bb52-324b3951acc1? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"1b36e5b11057924c0f3c2d9b6a6e16d9"} device-1 | {"level":"info","message":"OPTIONS /devices/71a8037b-7f76-4975-bb52-324b3951acc1? 200 1ms","method":"OPTIONS","requestID":"1b36e5b11057924c0f3c2d9b6a6e16d9","responseTime":1,"status":200,"url":"/devices/71a8037b-7f76-4975-bb52-324b3951acc1?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b80a0790c0aac443f1204c0fdd4dfd53","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"b80a0790c0aac443f1204c0fdd4dfd53","responseTime":0,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"b80a0790c0aac443f1204c0fdd4dfd53"} device-1 | {"level":"info","message":"OPTIONS /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6? 200 1ms","method":"OPTIONS","requestID":"b80a0790c0aac443f1204c0fdd4dfd53","responseTime":1,"status":200,"url":"/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI","level":"info","message":"auth send jwt","requestID":"7b405f7b0bb9e530a1a17908a35da9c7"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"7b405f7b0bb9e530a1a17908a35da9c7","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"7b405f7b0bb9e530a1a17908a35da9c7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI","level":"info","message":"auth send jwt","requestID":"d396571013f1b3f48450587a11d488bb"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":135,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d396571013f1b3f48450587a11d488bb","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":135,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.927682,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b405f7b0bb9e530a1a17908a35da9c7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"d396571013f1b3f48450587a11d488bb"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7b405f7b0bb9e530a1a17908a35da9c7","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":136,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":136,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.914731,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d396571013f1b3f48450587a11d488bb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d396571013f1b3f48450587a11d488bb","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:03.963550844Z"}]},"request_id":"79ddb473-3c64-41e0-bde9-6b5589ef6b11","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.1180997} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7b405f7b0bb9e530a1a17908a35da9c7","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:04.022401807Z"}]},"request_id":"8cffcaae-6d18-483a-b5d4-40aeb14f3f2f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.1227024} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d396571013f1b3f48450587a11d488bb","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6ecc72a5-7e07-4ab8-8c5b-212e0526fce0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.127593} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"7b405f7b0bb9e530a1a17908a35da9c7","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2eccb65e-0f38-4d34-818c-a65f201edd91","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.1326551} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"d396571013f1b3f48450587a11d488bb","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:04.022401807Z"}]},"request_id":"a419233f-6a3c-464b-872c-cb5c664da2d9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.1491113} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"d396571013f1b3f48450587a11d488bb","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:03.963550844Z"}]},"request_id":"254bad81-13b4-4857-90f2-c1cdbec56c25","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.150521} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"d396571013f1b3f48450587a11d488bb"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"7b405f7b0bb9e530a1a17908a35da9c7","responseTime":5,"status":200,"url":"/relations/query"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.048","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d396571013f1b3f48450587a11d488bb"} device-1 | {"level":"info","message":"PATCH /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6? 200 44ms","method":"PATCH","requestID":"d396571013f1b3f48450587a11d488bb","responseTime":44,"status":200,"url":"/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6?"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"7b405f7b0bb9e530a1a17908a35da9c7"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/71a8037b-7f76-4975-bb52-324b3951acc1? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.057","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"7b405f7b0bb9e530a1a17908a35da9c7"} device-1 | {"level":"info","message":"PATCH /devices/71a8037b-7f76-4975-bb52-324b3951acc1? 200 50ms","method":"PATCH","requestID":"7b405f7b0bb9e530a1a17908a35da9c7","responseTime":50,"status":200,"url":"/devices/71a8037b-7f76-4975-bb52-324b3951acc1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI","level":"info","message":"auth send jwt","requestID":"55a207942fd53859a6b031eb74550a67"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"55a207942fd53859a6b031eb74550a67","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"55a207942fd53859a6b031eb74550a67"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":137,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":137,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.978724,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"55a207942fd53859a6b031eb74550a67","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"55a207942fd53859a6b031eb74550a67","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:03.963550844Z"}]},"request_id":"9616ca69-085e-45b1-a4e7-3e294ccf04e1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.1805487} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"55a207942fd53859a6b031eb74550a67","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"55a207942fd53859a6b031eb74550a67"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/71a8037b-7f76-4975-bb52-324b3951acc1? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"55a207942fd53859a6b031eb74550a67"} device-1 | {"level":"info","message":"GET /devices/71a8037b-7f76-4975-bb52-324b3951acc1? 200 18ms","method":"GET","requestID":"55a207942fd53859a6b031eb74550a67","responseTime":18,"status":200,"url":"/devices/71a8037b-7f76-4975-bb52-324b3951acc1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI","level":"info","message":"auth send jwt","requestID":"6fc212414b593a40666947d5f3c4119b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"6fc212414b593a40666947d5f3c4119b","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6fc212414b593a40666947d5f3c4119b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":138,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":138,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.154654,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6fc212414b593a40666947d5f3c4119b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6fc212414b593a40666947d5f3c4119b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:04.022401807Z"}]},"request_id":"3db620fd-e121-46f3-9079-67d6378cd9cd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.204808} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6fc212414b593a40666947d5f3c4119b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6fc212414b593a40666947d5f3c4119b"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6fc212414b593a40666947d5f3c4119b"} device-1 | {"level":"info","message":"GET /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6? 200 16ms","method":"GET","requestID":"6fc212414b593a40666947d5f3c4119b","responseTime":16,"status":200,"url":"/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI","level":"info","message":"auth send jwt","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"96a5f55d60f64e3c62f8b814f7e8816a","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":139,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":139,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":2.060528,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"96a5f55d60f64e3c62f8b814f7e8816a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"96a5f55d60f64e3c62f8b814f7e8816a","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"},"level":"info","message":"Attempting to run experiment","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"},"level":"info","message":"Attempting to book experiment","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"},"level":"info","message":"Successfully booked experiment","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2566a920-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2566d030-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":140,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":140,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.072502,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2566a920-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"2566a920-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":141,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":141,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.895615,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2566d030-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"2566d030-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:03.963550844Z"}]},"request_id":"b106cc3b-ceb9-4a7a-b6d4-4c4c9c052a8f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.270199} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"2566a920-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:04.022401807Z"}]},"request_id":"3549e5a2-a4b9-433d-b800-01f214360e12","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.2752066} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2566a920-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2566d030-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/71a8037b-7f76-4975-bb52-324b3951acc1? 200 19ms","method":"GET","requestID":"2566a920-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/71a8037b-7f76-4975-bb52-324b3951acc1?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2566d030-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6? 200 22ms","method":"GET","requestID":"2566d030-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"},"level":"info","message":"Setting up experiment","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"},"level":"info","message":"Successfully locked booking for experiment","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"},"level":"info","message":"Attempting to update booking for experiment","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"},"level":"info","message":"Successfully updated booking for experiment","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"},"level":"info","message":"Successfully set up experiment","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2572de20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"25732c40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"25737a60-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"},"level":"info","message":"Successfully running experiment","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":142,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":142,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.192582,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":143,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2572de20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"2572de20-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":143,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.375734,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"25732c40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 14ms","method":"POST","requestID":"25732c40-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33776","level":"info","msg":"Received request.","req_id":144,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33776","level":"info","msg":"Sent response.","req_id":144,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.904778,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:03.963550844Z"}]},"request_id":"c8fc4f9c-0338-44d0-b3e9-decbf8578216","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.3622475} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"301c7f2d-9192-4fa6-a9e2-fc06c0e4eacb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.3625054} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"2572de20-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/relations/query"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"25737a60-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 22ms","method":"POST","requestID":"25737a60-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:04.022401807Z"}]},"request_id":"885e3a1c-e9ea-4a55-9ced-e8493d42372c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.3652587} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"25732c40-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F32c6971d-9a7f-441c-ae19-0d0ce25e8d4b#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F32c6971d-9a7f-441c-ae19-0d0ce25e8d4b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"bcd7737c-9ed8-4eda-b6be-da905c96d0f3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.3749514} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dcbb7852-af79-43f9-8b8b-0d73618210c0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.3774674} authorization-1 | {"level":"info","message":"POST /relations/update 200 29ms","method":"POST","requestID":"96a5f55d60f64e3c62f8b814f7e8816a","responseTime":29,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2572de20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/71a8037b-7f76-4975-bb52-324b3951acc1? 200 45ms","method":"GET","requestID":"2572de20-75da-11ef-ba7c-09eaa4331ae1","responseTime":45,"status":200,"url":"/devices/71a8037b-7f76-4975-bb52-324b3951acc1?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"25737a60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/71a8037b-7f76-4975-bb52-324b3951acc1/signaling 200 42ms","method":"POST","requestID":"25737a60-75da-11ef-ba7c-09eaa4331ae1","responseTime":42,"status":200,"url":"/devices/71a8037b-7f76-4975-bb52-324b3951acc1/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"25732c40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6? 200 47ms","method":"GET","requestID":"25732c40-75da-11ef-ba7c-09eaa4331ae1","responseTime":47,"status":200,"url":"/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"257acd60-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"257bb7c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":145,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"808","request_time":"0.186","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} experiment-1 | {"level":"info","message":"POST /experiments? 201 181ms","method":"POST","requestID":"96a5f55d60f64e3c62f8b814f7e8816a","responseTime":181,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":146,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a755a308-85b1-48fe-946f-314fa62f313b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.4018776} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":145,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.619157,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"257acd60-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"257acd60-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3404680d-5989-4b9d-9079-9d084f397d08","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.4048133} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":146,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.170339,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI","level":"info","message":"auth send jwt","requestID":"d5b3cde685582f88c0e6d237aeaf3dd2"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"257bb7c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"d5b3cde685582f88c0e6d237aeaf3dd2","responseTime":7,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"257bb7c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d5b3cde685582f88c0e6d237aeaf3dd2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"257acd60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6/signaling 200 25ms","method":"POST","requestID":"257acd60-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":147,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"257bb7c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/71a8037b-7f76-4975-bb52-324b3951acc1/signaling 200 22ms","method":"POST","requestID":"257bb7c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/71a8037b-7f76-4975-bb52-324b3951acc1/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":147,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.662188,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d5b3cde685582f88c0e6d237aeaf3dd2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d5b3cde685582f88c0e6d237aeaf3dd2","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"257ffd80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:03.963550844Z"}]},"request_id":"56ee8d52-bb45-46ab-b9db-84a5f6671e37","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.4256344} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"d5b3cde685582f88c0e6d237aeaf3dd2","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":148,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9e5dba95-e9c9-4269-8650-5e66fc45f9b1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.4301715} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":148,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.621297,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d5b3cde685582f88c0e6d237aeaf3dd2"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"257ffd80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/71a8037b-7f76-4975-bb52-324b3951acc1? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.033","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d5b3cde685582f88c0e6d237aeaf3dd2"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"257ffd80-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/71a8037b-7f76-4975-bb52-324b3951acc1? 200 21ms","method":"GET","requestID":"d5b3cde685582f88c0e6d237aeaf3dd2","responseTime":21,"status":200,"url":"/devices/71a8037b-7f76-4975-bb52-324b3951acc1?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"257ffd80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6/signaling 200 12ms","method":"POST","requestID":"257ffd80-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI","level":"info","message":"auth send jwt","requestID":"9b7e993375372f39fa3c329889d571ea"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9b7e993375372f39fa3c329889d571ea","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"25824770-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"25829590-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9b7e993375372f39fa3c329889d571ea"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":149,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":149,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.008887,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":150,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":150,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.534609,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33776","level":"info","msg":"Received request.","req_id":151,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"25824770-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"25824770-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"25829590-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"25829590-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33776","level":"info","msg":"Sent response.","req_id":151,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.81878,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9b7e993375372f39fa3c329889d571ea","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9b7e993375372f39fa3c329889d571ea","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:03.963550844Z"}]},"request_id":"1d8cd2e1-305c-4972-9e1d-07f5633e3626","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.4528017} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"25824770-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:04.022401807Z"}]},"request_id":"ee50e6b2-141c-4b46-b510-e08c74b6eb0c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.4538786} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"25829590-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"25824770-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:04.022401807Z"}]},"request_id":"655e7387-49f1-4e44-8610-f69ad5453d47","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.456466} device-1 | {"level":"info","message":"GET /devices/71a8037b-7f76-4975-bb52-324b3951acc1? 200 18ms","method":"GET","requestID":"25824770-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/71a8037b-7f76-4975-bb52-324b3951acc1?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9b7e993375372f39fa3c329889d571ea","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"25829590-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6? 200 21ms","method":"GET","requestID":"25829590-75da-11ef-ba7c-09eaa4331ae1","responseTime":21,"status":200,"url":"/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9b7e993375372f39fa3c329889d571ea"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.027","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9b7e993375372f39fa3c329889d571ea"} device-1 | {"level":"info","message":"GET /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6? 200 21ms","method":"GET","requestID":"9b7e993375372f39fa3c329889d571ea","responseTime":21,"status":200,"url":"/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"},"level":"info","message":"Building connection plan","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"8f1d6bee-9458-4e22-a39e-8bcade96f3b1"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"bb2654e1-9cda-43fe-8792-d6c2232d8191"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"6a630978-7ff0-426f-99e6-d8df04aab587"}]},"level":"info","message":"Built pairwise service configurations","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"25888900-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"25888900-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 15ms","method":"POST","requestID":"25888900-75da-11ef-9672-db8da4810e4b","responseTime":15,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/2d038068-efa7-4415-ab6c-af2a4005a0f7?id=b34f5e3b-8ceb-4877-936e-ce27679af09c","ws://localhost/rooms/2d038068-efa7-4415-ab6c-af2a4005a0f7?id=8caaf0d9-6f11-4bbf-9e0e-41ed4275d0fc"]},"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"258bbd50-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":152,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":152,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.02654,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"258bbd50-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"258bbd50-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"ec351666-5fd5-474d-8797-3aea64f9591d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.5199225} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a5db79a2-4a17-4aa0-8cd1-8ddbe50fd367","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.5204756} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"258bbd50-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"258bbd50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"258bbd50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5'","requestID":"258bbd50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5'","requestID":"258bbd50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"258bbd50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 39ms","method":"POST","requestID":"258bbd50-75da-11ef-ba7c-09eaa4331ae1","responseTime":39,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"258bbd50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8260874d-2e2f-49a3-b64c-5212693ce2b5","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f9134d89204e0da4a41dc12ab09805bf","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f9134d89204e0da4a41dc12ab09805bf","responseTime":2,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"2596e0e0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"b34f5e3b-8ceb-4877-936e-ce27679af09c\" in room \"http://localhost/rooms/2d038068-efa7-4415-ab6c-af2a4005a0f7\"","requestID":"2596e0e0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"2596e0e0-75da-11ef-9672-db8da4810e4b"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5"}}},"level":"info","message":"received a callback","requestID":"f9134d89204e0da4a41dc12ab09805bf"} device-1 | {"data":{"peerconnection":"8260874d-2e2f-49a3-b64c-5212693ce2b5","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"2597a430-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"8caaf0d9-6f11-4bbf-9e0e-41ed4275d0fc\" in room \"http://localhost/rooms/2d038068-efa7-4415-ab6c-af2a4005a0f7\"","requestID":"2597a430-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"2597a430-75da-11ef-9672-db8da4810e4b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"f9134d89204e0da4a41dc12ab09805bf","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch","requestID":"f9134d89204e0da4a41dc12ab09805bf"} device-1 | {"data":{"peerconnection":"8260874d-2e2f-49a3-b64c-5212693ce2b5","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"96a5f55d60f64e3c62f8b814f7e8816a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"259ab170-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":153,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0fdc7932-e67a-4d0a-a844-48ab56ff644e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.604482} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":153,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.34309,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8260874d-2e2f-49a3-b64c-5212693ce2b5","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"259ab170-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"259ab170-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"849ff0b7e52a58fc04c1efe6e567a866","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"849ff0b7e52a58fc04c1efe6e567a866","responseTime":0,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5"}}},"level":"info","message":"received a callback","requestID":"849ff0b7e52a58fc04c1efe6e567a866"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"259ab170-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/71a8037b-7f76-4975-bb52-324b3951acc1/signaling 200 12ms","method":"POST","requestID":"259ab170-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/71a8037b-7f76-4975-bb52-324b3951acc1/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"259cd450-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"259d4980-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":154,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6879ce84-8379-442d-a5aa-c9e52192cba2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.6184528} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":154,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.473012,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":155,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"259cd450-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"259cd450-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8260874d-2e2f-49a3-b64c-5212693ce2b5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f2d2b936-abf8-4d2b-9fde-fdc35a1dd727","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.62145} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":155,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.73427,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"259d4980-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"259d4980-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"259cd450-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6/signaling 200 12ms","method":"POST","requestID":"259cd450-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6/signaling"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"259d4980-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5 200 10ms","method":"GET","requestID":"259d4980-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 31ms","method":"POST","requestID":"849ff0b7e52a58fc04c1efe6e567a866","responseTime":31,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.034","http_referrer":"","http_user_agent":"node-fetch","requestID":"849ff0b7e52a58fc04c1efe6e567a866"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"25a11a10-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":156,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3fb98a31-9c80-4ce2-abbe-f0363a7b0427","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.6463716} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":156,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.318611,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"25a11a10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"25a11a10-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"25a11a10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/71a8037b-7f76-4975-bb52-324b3951acc1/signaling 200 10ms","method":"POST","requestID":"25a11a10-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/71a8037b-7f76-4975-bb52-324b3951acc1/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"25a2eed0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":157,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"11485adc-7832-4c77-94e7-02019a121351","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.6581533} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":157,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.547545,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"25a2eed0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"25a2eed0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"25a2eed0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6/signaling 200 9ms","method":"POST","requestID":"25a2eed0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI","level":"info","message":"auth send jwt","requestID":"7a7591ba0215277b5f9b8bf119c427c2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7a7591ba0215277b5f9b8bf119c427c2","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b","requestID":"7a7591ba0215277b5f9b8bf119c427c2"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":158,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":158,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.595067,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7a7591ba0215277b5f9b8bf119c427c2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7a7591ba0215277b5f9b8bf119c427c2","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b","requestID":"7a7591ba0215277b5f9b8bf119c427c2"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b HTTP/1.1","status": "200","body_bytes_sent":"881","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7a7591ba0215277b5f9b8bf119c427c2"} experiment-1 | {"level":"info","message":"GET /experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b 200 18ms","method":"GET","requestID":"7a7591ba0215277b5f9b8bf119c427c2","responseTime":18,"status":200,"url":"/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI","level":"info","message":"auth send jwt","requestID":"b64aa531b13ae40bfa30cafee994d56a"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"b64aa531b13ae40bfa30cafee994d56a","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b","requestID":"b64aa531b13ae40bfa30cafee994d56a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":159,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":159,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.244246,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b64aa531b13ae40bfa30cafee994d56a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b64aa531b13ae40bfa30cafee994d56a","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"},"level":"info","message":"Attempting to finish experiment","requestID":"b64aa531b13ae40bfa30cafee994d56a"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"25af4ae0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":160,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":160,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.435832,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"25af4ae0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"25af4ae0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5","device":"71a8037b-7f76-4975-bb52-324b3951acc1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5","device":"6236c5f2-196b-4376-9a8d-3c46d6220cc6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8260874d-2e2f-49a3-b64c-5212693ce2b5","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/2d038068-efa7-4415-ab6c-af2a4005a0f7?id=b34f5e3b-8ceb-4877-936e-ce27679af09c HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.200","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"8f3d0c3cfb317e9dde87716640b27bb9"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/2d038068-efa7-4415-ab6c-af2a4005a0f7?id=8caaf0d9-6f11-4bbf-9e0e-41ed4275d0fc HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.201","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f6ffde1205f9807b834fabd43604c9dd"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"b34f5e3b-8ceb-4877-936e-ce27679af09c\" in room \"http://localhost/rooms/2d038068-efa7-4415-ab6c-af2a4005a0f7\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b7615c8e95ea7a21fd2a60f7bbf9a1fc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"b34f5e3b-8ceb-4877-936e-ce27679af09c\" from room \"http://localhost/rooms/2d038068-efa7-4415-ab6c-af2a4005a0f7\""} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"b7615c8e95ea7a21fd2a60f7bbf9a1fc","responseTime":2,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"8caaf0d9-6f11-4bbf-9e0e-41ed4275d0fc\" in room \"http://localhost/rooms/2d038068-efa7-4415-ab6c-af2a4005a0f7\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5f5778f1eb6bcbe04143d333dd1c0917","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"8caaf0d9-6f11-4bbf-9e0e-41ed4275d0fc\" from room \"http://localhost/rooms/2d038068-efa7-4415-ab6c-af2a4005a0f7\""} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5"}}},"level":"info","message":"received a callback","requestID":"b7615c8e95ea7a21fd2a60f7bbf9a1fc"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"5f5778f1eb6bcbe04143d333dd1c0917","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8260874d-2e2f-49a3-b64c-5212693ce2b5': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8260874d-2e2f-49a3-b64c-5212693ce2b5","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"e39ade98-657d-4210-84e3-da4731f69887","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.771907} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"13d17154-957a-4cbd-ab43-28f641e88452","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.7725623} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5"}}},"level":"info","message":"received a callback","requestID":"5f5778f1eb6bcbe04143d333dd1c0917"} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"25af4ae0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"8260874d-2e2f-49a3-b64c-5212693ce2b5","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"25af4ae0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5 204 61ms","method":"DELETE","requestID":"25af4ae0-75da-11ef-ba7c-09eaa4331ae1","responseTime":61,"status":204,"url":"/peerconnections/8260874d-2e2f-49a3-b64c-5212693ce2b5"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1'"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"},"level":"info","message":"Successfully finished experiment","requestID":"b64aa531b13ae40bfa30cafee994d56a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"25bc6a40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":161,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71a8037b-7f76-4975-bb52-324b3951acc1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f6e34dd6-2594-46fc-b682-b9b205497ced","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.8301146} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":161,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.964492,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"25bc6a40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"25bc6a40-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"25bc6a40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/71a8037b-7f76-4975-bb52-324b3951acc1/signaling 200 19ms","method":"POST","requestID":"25bc6a40-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/71a8037b-7f76-4975-bb52-324b3951acc1/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F32c6971d-9a7f-441c-ae19-0d0ce25e8d4b': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F32c6971d-9a7f-441c-ae19-0d0ce25e8d4b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"16ab5de1-1365-49d9-a13a-d2fef05e5926","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.841177} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2a6200f6-5d96-431e-9e7a-47ef216656c5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.8415678} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"25bfecb0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 26ms","method":"POST","requestID":"b64aa531b13ae40bfa30cafee994d56a","responseTime":26,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":162,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6236c5f2-196b-4376-9a8d-3c46d6220cc6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"80956e44-d8dd-4bfc-af16-9bef09b395ba","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.8498068} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":162,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.872805,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"25bfecb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"25bfecb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"25bfecb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6/signaling 200 15ms","method":"POST","requestID":"25bfecb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b","requestID":"b64aa531b13ae40bfa30cafee994d56a"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.206","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b64aa531b13ae40bfa30cafee994d56a"} experiment-1 | {"level":"info","message":"DELETE /experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b 204 201ms","method":"DELETE","requestID":"b64aa531b13ae40bfa30cafee994d56a","responseTime":201,"status":204,"url":"/experiments/32c6971d-9a7f-441c-ae19-0d0ce25e8d4b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":163,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} device-1 | {"level":"info","message":"postDevices called","requestID":"c77de6bdbb2fb151ae5f1776861e441c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 151ms","method":"POST","requestID":"b7615c8e95ea7a21fd2a60f7bbf9a1fc","responseTime":151,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.157","http_referrer":"","http_user_agent":"node-fetch","requestID":"b7615c8e95ea7a21fd2a60f7bbf9a1fc"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI","level":"info","message":"auth send jwt","requestID":"c77de6bdbb2fb151ae5f1776861e441c"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1542","request_time":"0.847","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"3d5776cbd371252f71c64fa74296c76c"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"c77de6bdbb2fb151ae5f1776861e441c","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 159ms","method":"POST","requestID":"5f5778f1eb6bcbe04143d333dd1c0917","responseTime":159,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.166","http_referrer":"","http_user_agent":"node-fetch","requestID":"5f5778f1eb6bcbe04143d333dd1c0917"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1543","request_time":"0.867","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e1f19317f747202cef5b8c380414ffd0"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":163,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.05816,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c77de6bdbb2fb151ae5f1776861e441c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"c77de6bdbb2fb151ae5f1776861e441c","responseTime":12,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/6236c5f2-196b-4376-9a8d-3c46d6220cc6' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/71a8037b-7f76-4975-bb52-324b3951acc1' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"8380a475-7981-4fe1-ba77-a6aecf627268","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.9553447} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c77de6bdbb2fb151ae5f1776861e441c","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"191f44f2-1941-49b4-85a5-6768623b2b6a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.9614308} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"c77de6bdbb2fb151ae5f1776861e441c","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"48ef97af-8d37-41a0-8b57-a285942259c4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.9727373} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"48e00dc1-7913-4094-bf14-7c656c757205","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.9728844} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"c77de6bdbb2fb151ae5f1776861e441c","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:06.972720522Z"}]},"request_id":"fe2b6dd9-55e4-46af-9185-2f577b832948","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676526.9787097} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c77de6bdbb2fb151ae5f1776861e441c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c77de6bdbb2fb151ae5f1776861e441c"} device-1 | {"level":"info","message":"POST /devices? 201 54ms","method":"POST","requestID":"c77de6bdbb2fb151ae5f1776861e441c","responseTime":54,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.063","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c77de6bdbb2fb151ae5f1776861e441c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI","level":"info","message":"auth send jwt","requestID":"76f1f4929679af54ffe395ac61e87fd7"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"76f1f4929679af54ffe395ac61e87fd7","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"76f1f4929679af54ffe395ac61e87fd7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":164,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":164,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.69181,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:06Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"76f1f4929679af54ffe395ac61e87fd7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676526,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyNn0.Nrhp__m2V_51dd-FzR9I9fS9be_vPXmfWHkzrxsmxKI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"76f1f4929679af54ffe395ac61e87fd7","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"4e012584-3e51-4fc2-81da-275ecd9d114d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676527.0088844} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"76f1f4929679af54ffe395ac61e87fd7","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d8b53ebe-8350-446f-9a61-36fd92da153b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676527.0140376} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"76f1f4929679af54ffe395ac61e87fd7","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"47a89a35-6834-40d7-89ec-dc375d2934aa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676527.0259228} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2418ef71-b7e4-4d8c-b585-8e45c29095f6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676527.026099} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"76f1f4929679af54ffe395ac61e87fd7","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:07.025909842Z"}]},"request_id":"5f632c1f-a055-4229-aee8-dc27ae03e4cb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676527.0306296} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"76f1f4929679af54ffe395ac61e87fd7","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"76f1f4929679af54ffe395ac61e87fd7"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"76f1f4929679af54ffe395ac61e87fd7","responseTime":48,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.052","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"76f1f4929679af54ffe395ac61e87fd7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyN30.ZBLu6qp4AA20oF-cjBrl3x81eDZyQm1FTTwvvmsY4n4","level":"info","message":"auth send jwt","requestID":"193be55dc01a9738fb62cbf9e5c52360"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"193be55dc01a9738fb62cbf9e5c52360","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"193be55dc01a9738fb62cbf9e5c52360"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":165,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:07Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":165,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.302944,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:07Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"193be55dc01a9738fb62cbf9e5c52360","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676527,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyN30.ZBLu6qp4AA20oF-cjBrl3x81eDZyQm1FTTwvvmsY4n4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"193be55dc01a9738fb62cbf9e5c52360","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:07.025909842Z"}]},"request_id":"ad402f69-f11d-40f3-8e5a-f67ae0fbe271","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676527.5252526} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"193be55dc01a9738fb62cbf9e5c52360","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"50bdf9ff-101d-4341-a9e9-a5da72329998","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676527.533539} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"193be55dc01a9738fb62cbf9e5c52360","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:07.025909842Z"}]},"request_id":"c2e465af-4356-45f6-9f1b-6133e777d257","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676527.5462105} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"193be55dc01a9738fb62cbf9e5c52360","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"193be55dc01a9738fb62cbf9e5c52360"} gateway-1 | {"time_local":"18/Sep/2024:16:22:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/450f09f9-009e-4c3a-871d-b5a7139f0e38 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.047","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"193be55dc01a9738fb62cbf9e5c52360"} device-1 | {"level":"info","message":"PATCH /devices/450f09f9-009e-4c3a-871d-b5a7139f0e38 200 43ms","method":"PATCH","requestID":"193be55dc01a9738fb62cbf9e5c52360","responseTime":43,"status":200,"url":"/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyN30.ZBLu6qp4AA20oF-cjBrl3x81eDZyQm1FTTwvvmsY4n4","level":"info","message":"auth send jwt","requestID":"1bda909e17d245782529c0f52699ecd4"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"1bda909e17d245782529c0f52699ecd4","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"1bda909e17d245782529c0f52699ecd4"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":166,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:07Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":166,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.110943,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:07Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1bda909e17d245782529c0f52699ecd4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676527,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyN30.ZBLu6qp4AA20oF-cjBrl3x81eDZyQm1FTTwvvmsY4n4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1bda909e17d245782529c0f52699ecd4","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"1bda909e17d245782529c0f52699ecd4"} device-1 | {"level":"info","message":"POST /devices/450f09f9-009e-4c3a-871d-b5a7139f0e38/websocket 200 20ms","method":"POST","requestID":"1bda909e17d245782529c0f52699ecd4","responseTime":20,"status":200,"url":"/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/450f09f9-009e-4c3a-871d-b5a7139f0e38/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"1bda909e17d245782529c0f52699ecd4"} device-1 | {"level":"info","message":"device 'http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"360853cc339752218c22fd98154034d2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"360853cc339752218c22fd98154034d2","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"360853cc339752218c22fd98154034d2"} device-1 | {"level":"info","message":"OPTIONS /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6/websocket 200 1ms","method":"OPTIONS","requestID":"360853cc339752218c22fd98154034d2","responseTime":1,"status":200,"url":"/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc","level":"info","message":"auth send jwt","requestID":"841ff474a36c49c2b7aba451eda10493"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"841ff474a36c49c2b7aba451eda10493","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"841ff474a36c49c2b7aba451eda10493"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":167,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":167,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.25401,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"841ff474a36c49c2b7aba451eda10493","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"841ff474a36c49c2b7aba451eda10493","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"841ff474a36c49c2b7aba451eda10493"} device-1 | {"level":"info","message":"POST /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6/websocket 200 25ms","method":"POST","requestID":"841ff474a36c49c2b7aba451eda10493","responseTime":25,"status":200,"url":"/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.031","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"841ff474a36c49c2b7aba451eda10493"} device-1 | {"level":"info","message":"device 'http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"207191d8ab5f7e47bf7e757f49322d60","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"207191d8ab5f7e47bf7e757f49322d60","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"207191d8ab5f7e47bf7e757f49322d60"} device-1 | {"level":"info","message":"OPTIONS /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6? 200 1ms","method":"OPTIONS","requestID":"207191d8ab5f7e47bf7e757f49322d60","responseTime":1,"status":200,"url":"/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc","level":"info","message":"auth send jwt","requestID":"97136f61644ac23884190f8c8b5c7a1f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"97136f61644ac23884190f8c8b5c7a1f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"97136f61644ac23884190f8c8b5c7a1f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":168,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":168,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.994355,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"97136f61644ac23884190f8c8b5c7a1f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"97136f61644ac23884190f8c8b5c7a1f","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:06.972720522Z"}]},"request_id":"715ce9e1-270e-4d4e-91b2-0967d373c74e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.1614723} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"97136f61644ac23884190f8c8b5c7a1f","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7ca19a27-e2c7-4a86-83fc-cb8fa315987d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.1683896} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"97136f61644ac23884190f8c8b5c7a1f","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:06.972720522Z"}]},"request_id":"e33e2c81-29a7-4826-ad0a-e29f95a72fcb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.1796734} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"97136f61644ac23884190f8c8b5c7a1f","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"97136f61644ac23884190f8c8b5c7a1f"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.041","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"97136f61644ac23884190f8c8b5c7a1f"} device-1 | {"level":"info","message":"PATCH /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6? 200 35ms","method":"PATCH","requestID":"97136f61644ac23884190f8c8b5c7a1f","responseTime":35,"status":200,"url":"/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc","level":"info","message":"auth send jwt","requestID":"9a0f47048040514add126e6898f5362b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9a0f47048040514add126e6898f5362b","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9a0f47048040514add126e6898f5362b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":169,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":169,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.662879,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9a0f47048040514add126e6898f5362b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9a0f47048040514add126e6898f5362b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:06.972720522Z"}]},"request_id":"c5793c31-16c0-4c44-a10d-da3377f30479","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.2169487} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9a0f47048040514add126e6898f5362b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9a0f47048040514add126e6898f5362b"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9a0f47048040514add126e6898f5362b"} device-1 | {"level":"info","message":"GET /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6? 200 13ms","method":"GET","requestID":"9a0f47048040514add126e6898f5362b","responseTime":13,"status":200,"url":"/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc","level":"info","message":"auth send jwt","requestID":"a35ad22c75f557dcce06b5412b6ecf38"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a35ad22c75f557dcce06b5412b6ecf38","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a35ad22c75f557dcce06b5412b6ecf38"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":170,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":170,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.658776,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a35ad22c75f557dcce06b5412b6ecf38","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a35ad22c75f557dcce06b5412b6ecf38","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:07.025909842Z"}]},"request_id":"98c3e75c-06ec-491c-871f-4555ab8636ef","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.2369266} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a35ad22c75f557dcce06b5412b6ecf38","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a35ad22c75f557dcce06b5412b6ecf38"} device-1 | {"level":"info","message":"GET /devices/450f09f9-009e-4c3a-871d-b5a7139f0e38? 200 11ms","method":"GET","requestID":"a35ad22c75f557dcce06b5412b6ecf38","responseTime":11,"status":200,"url":"/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/450f09f9-009e-4c3a-871d-b5a7139f0e38? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a35ad22c75f557dcce06b5412b6ecf38"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc","level":"info","message":"auth send jwt","requestID":"a4d58327e1421c8ce93377a0814914dc"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a4d58327e1421c8ce93377a0814914dc","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"a4d58327e1421c8ce93377a0814914dc"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":171,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":171,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.690336,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a4d58327e1421c8ce93377a0814914dc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a4d58327e1421c8ce93377a0814914dc","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"},"level":"info","message":"Attempting to run experiment","requestID":"a4d58327e1421c8ce93377a0814914dc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"},"level":"info","message":"Attempting to book experiment","requestID":"a4d58327e1421c8ce93377a0814914dc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"},"level":"info","message":"Successfully booked experiment","requestID":"a4d58327e1421c8ce93377a0814914dc"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"27341620-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"27343d30-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":172,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":172,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.608123,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":173,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"27341620-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"27341620-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":173,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.95548,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"27343d30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"27343d30-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:06.972720522Z"}]},"request_id":"88a3847f-fc06-4fa5-a66e-77a61efb6fc4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.2931705} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"27341620-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:07.025909842Z"}]},"request_id":"2f80656c-f363-4ed2-8323-b602988781af","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.2948053} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"27343d30-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"27341620-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6? 200 20ms","method":"GET","requestID":"27341620-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"27343d30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/450f09f9-009e-4c3a-871d-b5a7139f0e38? 200 20ms","method":"GET","requestID":"27343d30-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"},"level":"info","message":"Setting up experiment","requestID":"a4d58327e1421c8ce93377a0814914dc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"a4d58327e1421c8ce93377a0814914dc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"},"level":"info","message":"Successfully locked booking for experiment","requestID":"a4d58327e1421c8ce93377a0814914dc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"a4d58327e1421c8ce93377a0814914dc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"a4d58327e1421c8ce93377a0814914dc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"},"level":"info","message":"Attempting to update booking for experiment","requestID":"a4d58327e1421c8ce93377a0814914dc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"},"level":"info","message":"Successfully updated booking for experiment","requestID":"a4d58327e1421c8ce93377a0814914dc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"},"level":"info","message":"Successfully set up experiment","requestID":"a4d58327e1421c8ce93377a0814914dc"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"273e2840-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"273e7660-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"273ec480-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":174,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":174,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.375563,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":175,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"},"level":"info","message":"Successfully running experiment","requestID":"a4d58327e1421c8ce93377a0814914dc"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"273e2840-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"273e2840-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":175,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.03814,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"273e7660-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"273e7660-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":176,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":176,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.542339,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"913eba37-b077-42b8-bd2b-d938e386b65f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.361458} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"273ec480-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 13ms","method":"POST","requestID":"273ec480-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:06.972720522Z"}]},"request_id":"b342f673-ce03-4931-901f-f4632266bbc8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.3673973} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"273e2840-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:07.025909842Z"}]},"request_id":"c3df4443-08b7-498f-b8e6-ce4028beaed2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.3731353} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"273e7660-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"273ec480-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6/signaling 200 25ms","method":"POST","requestID":"273ec480-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"27430a40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"273e2840-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6? 200 36ms","method":"GET","requestID":"273e2840-75da-11ef-ba7c-09eaa4331ae1","responseTime":36,"status":200,"url":"/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"273e7660-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/450f09f9-009e-4c3a-871d-b5a7139f0e38? 200 35ms","method":"GET","requestID":"273e7660-75da-11ef-ba7c-09eaa4331ae1","responseTime":35,"status":200,"url":"/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":177,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d77da86c-89f5-401e-b724-68effdc44697","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.3867004} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F4aa049b8-7e13-48f5-b738-1e45ab317739#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F4aa049b8-7e13-48f5-b738-1e45ab317739","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"79d1ae70-6a16-4a26-bc9e-82297a1749b6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.3873541} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":177,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.151934,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"27430a40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"274469d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"27430a40-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"764f7a0a-acaf-4a7d-9c7f-1752b08dcec8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.3893063} authorization-1 | {"level":"info","message":"POST /relations/update 200 32ms","method":"POST","requestID":"a4d58327e1421c8ce93377a0814914dc","responseTime":32,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"27430a40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/450f09f9-009e-4c3a-871d-b5a7139f0e38/signaling 200 15ms","method":"POST","requestID":"27430a40-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":178,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ae90e029-f146-4b6e-8cb2-163823b61303","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.4001987} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":178,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.107166,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"274469d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"a4d58327e1421c8ce93377a0814914dc"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"274469d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"812","request_time":"0.160","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a4d58327e1421c8ce93377a0814914dc"} experiment-1 | {"level":"info","message":"POST /experiments? 201 157ms","method":"POST","requestID":"a4d58327e1421c8ce93377a0814914dc","responseTime":157,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"274469d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6/signaling 200 17ms","method":"POST","requestID":"274469d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc","level":"info","message":"auth send jwt","requestID":"1849cbe4996eb9f91fc9da6b320bb35e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1849cbe4996eb9f91fc9da6b320bb35e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"27477710-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1849cbe4996eb9f91fc9da6b320bb35e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":179,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":180,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ef639f39-cb89-4dad-b8a2-1642b6ba5b4a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.414576} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":180,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.779529,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1849cbe4996eb9f91fc9da6b320bb35e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1849cbe4996eb9f91fc9da6b320bb35e","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":179,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.538372,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"27477710-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"27477710-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:06.972720522Z"}]},"request_id":"28ec5175-f78c-474b-8568-59e7a6acba98","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.419644} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"27477710-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"1849cbe4996eb9f91fc9da6b320bb35e","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"POST /devices/450f09f9-009e-4c3a-871d-b5a7139f0e38/signaling 200 11ms","method":"POST","requestID":"27477710-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"a4d58327e1421c8ce93377a0814914dc"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2749c100-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2749e810-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1849cbe4996eb9f91fc9da6b320bb35e"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1849cbe4996eb9f91fc9da6b320bb35e"} device-1 | {"level":"info","message":"GET /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6? 200 16ms","method":"GET","requestID":"1849cbe4996eb9f91fc9da6b320bb35e","responseTime":16,"status":200,"url":"/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":181,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":181,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.755091,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":182,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2749c100-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2749c100-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":182,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.269413,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2749e810-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2749e810-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc","level":"info","message":"auth send jwt","requestID":"09ae4e3774ac99bd1278f715226d8df0"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"09ae4e3774ac99bd1278f715226d8df0","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"09ae4e3774ac99bd1278f715226d8df0"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:06.972720522Z"}]},"request_id":"e9ff0e1e-fa0d-40e0-b1bc-69a45268f5df","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.4332118} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2749c100-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:07.025909842Z"}]},"request_id":"e8c07236-7794-466b-b800-151f6f5f7fbd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.4344382} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2749e810-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":183,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":183,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.724363,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"09ae4e3774ac99bd1278f715226d8df0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"09ae4e3774ac99bd1278f715226d8df0","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2749c100-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6? 200 15ms","method":"GET","requestID":"2749c100-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2749e810-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/450f09f9-009e-4c3a-871d-b5a7139f0e38? 200 15ms","method":"GET","requestID":"2749e810-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"},"level":"info","message":"Building connection plan","requestID":"a4d58327e1421c8ce93377a0814914dc"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"bdb996f1-d004-4b32-ab19-9e389273ccc4"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"413dc11b-192a-4e33-93fc-3ced3f5555ca"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"1313b38b-1a2a-4d7f-8f00-98dba006f836"}]},"level":"info","message":"Built pairwise service configurations","requestID":"a4d58327e1421c8ce93377a0814914dc"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"274ca730-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"274ca730-75da-11ef-9672-db8da4810e4b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:07.025909842Z"}]},"request_id":"92ed76d6-bcd4-4a6e-8c1b-6a4333395ff0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.4439735} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"09ae4e3774ac99bd1278f715226d8df0","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"09ae4e3774ac99bd1278f715226d8df0"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/450f09f9-009e-4c3a-871d-b5a7139f0e38? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"09ae4e3774ac99bd1278f715226d8df0"} device-1 | {"level":"info","message":"GET /devices/450f09f9-009e-4c3a-871d-b5a7139f0e38? 200 14ms","method":"GET","requestID":"09ae4e3774ac99bd1278f715226d8df0","responseTime":14,"status":200,"url":"/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38?"} forwarding-1 | {"level":"info","message":"POST /rooms 201 5ms","method":"POST","requestID":"274ca730-75da-11ef-9672-db8da4810e4b","responseTime":5,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/0ebfdec3-7c9d-4b35-b6d5-10c9ea14b081?id=603577b0-207d-4b2b-b402-6f8512fb81a2","ws://localhost/rooms/0ebfdec3-7c9d-4b35-b6d5-10c9ea14b081?id=79e25303-4bb6-4411-942d-8f4965d2e284"]},"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"a4d58327e1421c8ce93377a0814914dc"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"274ddfb0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":184,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":184,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.702789,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"274ddfb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"274ddfb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"c6d45b42-648f-4851-8770-5de03a1ef705","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.4632955} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7064710e-c5c4-4b02-89e9-203c2928c596","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.4635322} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"274ddfb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"274ddfb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"274ddfb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1'","requestID":"274ddfb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1'","requestID":"274ddfb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"274ddfb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 26ms","method":"POST","requestID":"274ddfb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"274ddfb0-75da-11ef-ba7c-09eaa4331ae1"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"2753ac10-75da-11ef-9672-db8da4810e4b"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"0cb6468e-fdc9-4c25-b755-8896525202d1","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"603577b0-207d-4b2b-b402-6f8512fb81a2\" in room \"http://localhost/rooms/0ebfdec3-7c9d-4b35-b6d5-10c9ea14b081\"","requestID":"2753ac10-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"2753ac10-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"27542140-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"79e25303-4bb6-4411-942d-8f4965d2e284\" in room \"http://localhost/rooms/0ebfdec3-7c9d-4b35-b6d5-10c9ea14b081\"","requestID":"27542140-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"27542140-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bd0dda1f18b696f467fa2c180d802b11","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"bd0dda1f18b696f467fa2c180d802b11","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1"}}},"level":"info","message":"received a callback","requestID":"bd0dda1f18b696f467fa2c180d802b11"} device-1 | {"data":{"peerconnection":"0cb6468e-fdc9-4c25-b755-8896525202d1","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 11ms","method":"POST","requestID":"bd0dda1f18b696f467fa2c180d802b11","responseTime":11,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch","requestID":"bd0dda1f18b696f467fa2c180d802b11"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"a4d58327e1421c8ce93377a0814914dc"} device-1 | {"data":{"peerconnection":"0cb6468e-fdc9-4c25-b755-8896525202d1","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"27583ff0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":185,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ecbca621-ef48-485c-8634-884e3edba233","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.5240512} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":185,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.542865,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"27583ff0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"27583ff0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"0cb6468e-fdc9-4c25-b755-8896525202d1","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"27583ff0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6/signaling 200 19ms","method":"POST","requestID":"27583ff0-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bcfd24db8d18a5c79bb94e8437a91aa4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"bcfd24db8d18a5c79bb94e8437a91aa4","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"275bc260-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1"}}},"level":"info","message":"received a callback","requestID":"bcfd24db8d18a5c79bb94e8437a91aa4"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":186,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b6781ccf-49ce-4483-9472-55abc4dbed28","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.5471241} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":186,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.759212,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"275c85b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"275bc260-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"275bc260-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":187,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"275bc260-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/450f09f9-009e-4c3a-871d-b5a7139f0e38/signaling 200 10ms","method":"POST","requestID":"275bc260-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F0cb6468e-fdc9-4c25-b755-8896525202d1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2bf8db9b-3d7b-4450-8fa6-43929f710a68","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.552932} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":187,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.516025,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"275c85b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"275c85b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"275c85b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1 200 10ms","method":"GET","requestID":"275c85b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 31ms","method":"POST","requestID":"bcfd24db8d18a5c79bb94e8437a91aa4","responseTime":31,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.036","http_referrer":"","http_user_agent":"node-fetch","requestID":"bcfd24db8d18a5c79bb94e8437a91aa4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2760a460-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":188,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"39fcd293-3435-4595-979c-4ce816c9a4d7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.5797794} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":188,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.384865,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2760a460-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2760a460-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2760a460-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6/signaling 200 10ms","method":"POST","requestID":"2760a460-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2762a030-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":189,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"60ed54fa-0598-4d1d-960c-076a6c210118","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.5926864} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":189,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.352254,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2762a030-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2762a030-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc","level":"info","message":"auth send jwt","requestID":"6cd634a79fe4616d188d040fac3a7d13"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2762a030-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6cd634a79fe4616d188d040fac3a7d13","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"POST /devices/450f09f9-009e-4c3a-871d-b5a7139f0e38/signaling 200 10ms","method":"POST","requestID":"2762a030-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38/signaling"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/4aa049b8-7e13-48f5-b738-1e45ab317739","requestID":"6cd634a79fe4616d188d040fac3a7d13"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":190,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":190,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.886438,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6cd634a79fe4616d188d040fac3a7d13","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6cd634a79fe4616d188d040fac3a7d13","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/4aa049b8-7e13-48f5-b738-1e45ab317739","requestID":"6cd634a79fe4616d188d040fac3a7d13"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/4aa049b8-7e13-48f5-b738-1e45ab317739 HTTP/1.1","status": "200","body_bytes_sent":"885","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6cd634a79fe4616d188d040fac3a7d13"} experiment-1 | {"level":"info","message":"GET /experiments/4aa049b8-7e13-48f5-b738-1e45ab317739 200 11ms","method":"GET","requestID":"6cd634a79fe4616d188d040fac3a7d13","responseTime":11,"status":200,"url":"/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc","level":"info","message":"auth send jwt","requestID":"697310d683d47ffd446f5d22b722a6bc"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"697310d683d47ffd446f5d22b722a6bc","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/4aa049b8-7e13-48f5-b738-1e45ab317739","requestID":"697310d683d47ffd446f5d22b722a6bc"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":191,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":191,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.858251,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"697310d683d47ffd446f5d22b722a6bc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"697310d683d47ffd446f5d22b722a6bc","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"},"level":"info","message":"Attempting to finish experiment","requestID":"697310d683d47ffd446f5d22b722a6bc"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"276893a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":192,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":192,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.067747,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"276893a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"276893a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/0ebfdec3-7c9d-4b35-b6d5-10c9ea14b081?id=79e25303-4bb6-4411-942d-8f4965d2e284 HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.152","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"19be5a23c56234c03128fb6a83dd348d"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"79e25303-4bb6-4411-942d-8f4965d2e284\" in room \"http://localhost/rooms/0ebfdec3-7c9d-4b35-b6d5-10c9ea14b081\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"79e25303-4bb6-4411-942d-8f4965d2e284\" from room \"http://localhost/rooms/0ebfdec3-7c9d-4b35-b6d5-10c9ea14b081\""} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1","device":"85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/0ebfdec3-7c9d-4b35-b6d5-10c9ea14b081?id=603577b0-207d-4b2b-b402-6f8512fb81a2 HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.156","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"eaa2eb74cca7237e8947c7f95a7940a1"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"603577b0-207d-4b2b-b402-6f8512fb81a2\" in room \"http://localhost/rooms/0ebfdec3-7c9d-4b35-b6d5-10c9ea14b081\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"603577b0-207d-4b2b-b402-6f8512fb81a2\" from room \"http://localhost/rooms/0ebfdec3-7c9d-4b35-b6d5-10c9ea14b081\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"0cb6468e-fdc9-4c25-b755-8896525202d1","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4cb888299345e3ca44d917c9eec16fd8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4cb888299345e3ca44d917c9eec16fd8","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ccd51555b6451ef53ca8ce3d327b68e3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ccd51555b6451ef53ca8ce3d327b68e3","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1"}}},"level":"info","message":"received a callback","requestID":"4cb888299345e3ca44d917c9eec16fd8"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1"}}},"level":"info","message":"received a callback","requestID":"ccd51555b6451ef53ca8ce3d327b68e3"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F0cb6468e-fdc9-4c25-b755-8896525202d1': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F0cb6468e-fdc9-4c25-b755-8896525202d1","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"639b5b40-e5f9-4651-8fa8-c862e6c1bb7b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.6546285} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"aa7a77ee-f7c6-4930-9cd7-476805e3a230","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.6549423} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"276893a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"0cb6468e-fdc9-4c25-b755-8896525202d1","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"276893a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1 204 39ms","method":"DELETE","requestID":"276893a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":39,"status":204,"url":"/peerconnections/0cb6468e-fdc9-4c25-b755-8896525202d1"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"},"level":"info","message":"Successfully finished experiment","requestID":"697310d683d47ffd446f5d22b722a6bc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"27719450-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":193,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c7e617c5-9160-4e83-8a06-f28d4bb66fd5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.689532} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":193,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.453974,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"27719450-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"27719450-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"27719450-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6/signaling 200 9ms","method":"POST","requestID":"27719450-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F4aa049b8-7e13-48f5-b738-1e45ab317739': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F4aa049b8-7e13-48f5-b738-1e45ab317739","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"d81a4ff2-8ca8-4462-853e-c36a57ca64b5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.6945777} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3998c28f-f4e3-4319-af65-1ca03a8e4ab0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.6949143} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"697310d683d47ffd446f5d22b722a6bc","responseTime":13,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"27736910-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":194,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F450f09f9-009e-4c3a-871d-b5a7139f0e38","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"15dcfeb4-1d41-430a-8a53-5572b68fd908","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.7026174} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":194,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.366751,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"27736910-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"27736910-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"27736910-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/450f09f9-009e-4c3a-871d-b5a7139f0e38/signaling 200 9ms","method":"POST","requestID":"27736910-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/4aa049b8-7e13-48f5-b738-1e45ab317739","requestID":"697310d683d47ffd446f5d22b722a6bc"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/4aa049b8-7e13-48f5-b738-1e45ab317739 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.147","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"697310d683d47ffd446f5d22b722a6bc"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1542","request_time":"2.180","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"7deb5a5780230b2ff2ffd37c971fb0e6"} experiment-1 | {"level":"info","message":"DELETE /experiments/4aa049b8-7e13-48f5-b738-1e45ab317739 204 145ms","method":"DELETE","requestID":"697310d683d47ffd446f5d22b722a6bc","responseTime":145,"status":204,"url":"/experiments/4aa049b8-7e13-48f5-b738-1e45ab317739"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 113ms","method":"POST","requestID":"4cb888299345e3ca44d917c9eec16fd8","responseTime":113,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.116","http_referrer":"","http_user_agent":"node-fetch","requestID":"4cb888299345e3ca44d917c9eec16fd8"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 112ms","method":"POST","requestID":"ccd51555b6451ef53ca8ce3d327b68e3","responseTime":112,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.117","http_referrer":"","http_user_agent":"node-fetch","requestID":"ccd51555b6451ef53ca8ce3d327b68e3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc","level":"info","message":"auth send jwt","requestID":"276774fe368a88f717f95b0a30c3e71e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"276774fe368a88f717f95b0a30c3e71e","responseTime":4,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1867","request_time":"0.666","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"b007c531b2e675aff8938ff67b3c55e8"} device-1 | {"level":"info","message":"postDevices called","requestID":"276774fe368a88f717f95b0a30c3e71e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":195,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":195,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.985763,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"276774fe368a88f717f95b0a30c3e71e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/450f09f9-009e-4c3a-871d-b5a7139f0e38' closed"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"276774fe368a88f717f95b0a30c3e71e","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/85a1b81c-f5c1-4fa7-8b86-2ae433667bd6' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"9a5b8433-22f8-4af2-a16f-3d866507da9f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.7882972} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"276774fe368a88f717f95b0a30c3e71e","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c003c73d-a11e-45aa-aa3c-3e075c7b8809","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.7938006} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"276774fe368a88f717f95b0a30c3e71e","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"78dd8ae0-2be5-4e09-a8c1-04a54462687d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.8037202} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a81037c8-18d5-4265-8cdb-800609a8c4e5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.8040235} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"276774fe368a88f717f95b0a30c3e71e","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:09.803703271Z"}]},"request_id":"de83b8ae-8e09-405f-8624-608f2b1c7577","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.8097} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"276774fe368a88f717f95b0a30c3e71e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"276774fe368a88f717f95b0a30c3e71e"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"276774fe368a88f717f95b0a30c3e71e"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"276774fe368a88f717f95b0a30c3e71e","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc","level":"info","message":"auth send jwt","requestID":"66d8020194cc5fe0e40b39a5ce5129d3"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"66d8020194cc5fe0e40b39a5ce5129d3","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"66d8020194cc5fe0e40b39a5ce5129d3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":196,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":196,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.945512,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:09Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"66d8020194cc5fe0e40b39a5ce5129d3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676529,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUyOX0.TeCqa2_LZDz9_ZNpSjQ7tKYeP3nXc1czzXPh3w5lufc"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"66d8020194cc5fe0e40b39a5ce5129d3","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"59ce203b-0c48-4bcc-9da4-9fb1df7b06d1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.8526118} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"66d8020194cc5fe0e40b39a5ce5129d3","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"83cdfe79-acab-4970-8243-c0383b49aa93","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.8686626} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"66d8020194cc5fe0e40b39a5ce5129d3","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"5d68a3f5-5f5b-4f5a-ba72-b25c15977d60","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.887713} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6b9765e9-6928-4f7a-89c8-a09d77e54987","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.887966} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"66d8020194cc5fe0e40b39a5ce5129d3","responseTime":25,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:09.887700838Z"}]},"request_id":"f6c18a79-7630-4b06-a50a-d66600980cd2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676529.8921926} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"66d8020194cc5fe0e40b39a5ce5129d3","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"66d8020194cc5fe0e40b39a5ce5129d3"} gateway-1 | {"time_local":"18/Sep/2024:16:22:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.080","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"66d8020194cc5fe0e40b39a5ce5129d3"} device-1 | {"level":"info","message":"POST /devices? 201 75ms","method":"POST","requestID":"66d8020194cc5fe0e40b39a5ce5129d3","responseTime":75,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMH0.SAgLlJUec86KkbijQ8vo8Zu-N9tIyAE28ViME2mvK7w","level":"info","message":"auth send jwt","requestID":"9420e3c877790c563372a8d824304afc"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9420e3c877790c563372a8d824304afc","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"9420e3c877790c563372a8d824304afc"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":197,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:10Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":197,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.137021,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:10Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9420e3c877790c563372a8d824304afc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676530,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMH0.SAgLlJUec86KkbijQ8vo8Zu-N9tIyAE28ViME2mvK7w"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"9420e3c877790c563372a8d824304afc","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:09.803703271Z"}]},"request_id":"d259b586-5a76-4355-935f-ea1d7096d0d9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676530.3869994} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9420e3c877790c563372a8d824304afc","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"195a3522-5260-4ead-b2d3-fbff28507ce3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676530.392424} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"9420e3c877790c563372a8d824304afc","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:09.803703271Z"}]},"request_id":"b135bf2f-4d61-4130-ae10-7a6ca0c597eb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676530.4060166} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9420e3c877790c563372a8d824304afc","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"9420e3c877790c563372a8d824304afc"} gateway-1 | {"time_local":"18/Sep/2024:16:22:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.041","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"9420e3c877790c563372a8d824304afc"} device-1 | {"level":"info","message":"PATCH /devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38 200 35ms","method":"PATCH","requestID":"9420e3c877790c563372a8d824304afc","responseTime":35,"status":200,"url":"/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMH0.SAgLlJUec86KkbijQ8vo8Zu-N9tIyAE28ViME2mvK7w","level":"info","message":"auth send jwt","requestID":"be65586b6d30d9912ab7356561d03d20"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"be65586b6d30d9912ab7356561d03d20","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"be65586b6d30d9912ab7356561d03d20"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":198,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:10Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":198,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.171151,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:10Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"be65586b6d30d9912ab7356561d03d20","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676530,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMH0.SAgLlJUec86KkbijQ8vo8Zu-N9tIyAE28ViME2mvK7w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"be65586b6d30d9912ab7356561d03d20","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"be65586b6d30d9912ab7356561d03d20"} gateway-1 | {"time_local":"18/Sep/2024:16:22:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.024","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"be65586b6d30d9912ab7356561d03d20"} device-1 | {"level":"info","message":"POST /devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38/websocket 200 20ms","method":"POST","requestID":"be65586b6d30d9912ab7356561d03d20","responseTime":20,"status":200,"url":"/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"45e3be793bd6efeaa48c1acc902abee8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"45e3be793bd6efeaa48c1acc902abee8","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/7c0208b9-e286-4108-844a-82982933a253/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"45e3be793bd6efeaa48c1acc902abee8"} device-1 | {"level":"info","message":"OPTIONS /devices/7c0208b9-e286-4108-844a-82982933a253/websocket 200 1ms","method":"OPTIONS","requestID":"45e3be793bd6efeaa48c1acc902abee8","responseTime":1,"status":200,"url":"/devices/7c0208b9-e286-4108-844a-82982933a253/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMX0.lkfmMhEuprTsrIa7BIqd8qggar8n7bbtb382ILTVkco","level":"info","message":"auth send jwt","requestID":"e48e7145b640ec7376ccf52ff3c2d07e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e48e7145b640ec7376ccf52ff3c2d07e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"e48e7145b640ec7376ccf52ff3c2d07e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":199,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:11Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":199,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.114347,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:11Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e48e7145b640ec7376ccf52ff3c2d07e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676531,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMX0.lkfmMhEuprTsrIa7BIqd8qggar8n7bbtb382ILTVkco"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e48e7145b640ec7376ccf52ff3c2d07e","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"e48e7145b640ec7376ccf52ff3c2d07e"} gateway-1 | {"time_local":"18/Sep/2024:16:22:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/7c0208b9-e286-4108-844a-82982933a253/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e48e7145b640ec7376ccf52ff3c2d07e"} device-1 | {"level":"info","message":"POST /devices/7c0208b9-e286-4108-844a-82982933a253/websocket 200 23ms","method":"POST","requestID":"e48e7145b640ec7376ccf52ff3c2d07e","responseTime":23,"status":200,"url":"/devices/7c0208b9-e286-4108-844a-82982933a253/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"dbd88b4b7ad152623783b07230d158ef","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"dbd88b4b7ad152623783b07230d158ef","responseTime":0,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/7c0208b9-e286-4108-844a-82982933a253? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"dbd88b4b7ad152623783b07230d158ef"} device-1 | {"level":"info","message":"OPTIONS /devices/7c0208b9-e286-4108-844a-82982933a253? 200 1ms","method":"OPTIONS","requestID":"dbd88b4b7ad152623783b07230d158ef","responseTime":1,"status":200,"url":"/devices/7c0208b9-e286-4108-844a-82982933a253?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI","level":"info","message":"auth send jwt","requestID":"1d3386d64ce7c630e4be02c76c127464"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1d3386d64ce7c630e4be02c76c127464","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"1d3386d64ce7c630e4be02c76c127464"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":200,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":200,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.619781,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1d3386d64ce7c630e4be02c76c127464","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676532,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1d3386d64ce7c630e4be02c76c127464","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:09.887700838Z"}]},"request_id":"8d1091a6-5f64-428a-9233-741457a0bd03","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.0647373} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"1d3386d64ce7c630e4be02c76c127464","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a6d59d11-14d4-4811-98ac-4a699f5591f1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.0710263} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"1d3386d64ce7c630e4be02c76c127464","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:09.887700838Z"}]},"request_id":"6745bac3-a0fa-4976-a540-7c1f39f76d86","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.1971605} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1d3386d64ce7c630e4be02c76c127464","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"1d3386d64ce7c630e4be02c76c127464"} device-1 | {"level":"info","message":"PATCH /devices/7c0208b9-e286-4108-844a-82982933a253? 200 151ms","method":"PATCH","requestID":"1d3386d64ce7c630e4be02c76c127464","responseTime":151,"status":200,"url":"/devices/7c0208b9-e286-4108-844a-82982933a253?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/7c0208b9-e286-4108-844a-82982933a253? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.155","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"1d3386d64ce7c630e4be02c76c127464"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI","level":"info","message":"auth send jwt","requestID":"58dde3a45404a29e1c5b2fcf5bd8a02a"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"58dde3a45404a29e1c5b2fcf5bd8a02a","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"58dde3a45404a29e1c5b2fcf5bd8a02a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":201,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":201,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.741606,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"58dde3a45404a29e1c5b2fcf5bd8a02a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676532,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"58dde3a45404a29e1c5b2fcf5bd8a02a","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:09.803703271Z"}]},"request_id":"042b289c-0b7d-4203-9c02-cb5189371c0f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.2288146} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"58dde3a45404a29e1c5b2fcf5bd8a02a","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"58dde3a45404a29e1c5b2fcf5bd8a02a"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.029","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"58dde3a45404a29e1c5b2fcf5bd8a02a"} device-1 | {"level":"info","message":"GET /devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38? 200 20ms","method":"GET","requestID":"58dde3a45404a29e1c5b2fcf5bd8a02a","responseTime":20,"status":200,"url":"/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI","level":"info","message":"auth send jwt","requestID":"1558073e426dee6e8f4f46c205621e5c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1558073e426dee6e8f4f46c205621e5c","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1558073e426dee6e8f4f46c205621e5c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":202,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":202,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.132787,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1558073e426dee6e8f4f46c205621e5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676532,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"1558073e426dee6e8f4f46c205621e5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:09.887700838Z"}]},"request_id":"924c224e-dd33-4866-afbe-c4dc36ddf76b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.2536123} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1558073e426dee6e8f4f46c205621e5c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1558073e426dee6e8f4f46c205621e5c"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7c0208b9-e286-4108-844a-82982933a253? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1558073e426dee6e8f4f46c205621e5c"} device-1 | {"level":"info","message":"GET /devices/7c0208b9-e286-4108-844a-82982933a253? 200 17ms","method":"GET","requestID":"1558073e426dee6e8f4f46c205621e5c","responseTime":17,"status":200,"url":"/devices/7c0208b9-e286-4108-844a-82982933a253?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI","level":"info","message":"auth send jwt","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c6b8c53041f8a33039e7fbbc89858b5b","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":203,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":203,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.848335,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c6b8c53041f8a33039e7fbbc89858b5b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676532,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c6b8c53041f8a33039e7fbbc89858b5b","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"},"level":"info","message":"Attempting to run experiment","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"},"level":"info","message":"Attempting to book experiment","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"},"level":"info","message":"Successfully booked experiment","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2902e2b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"290330d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":204,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":204,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.820109,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":205,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2902e2b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676532,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2902e2b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":205,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.892087,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"290330d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676532,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"290330d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:09.803703271Z"}]},"request_id":"9003029c-8740-4ded-876d-a8e7c08778d8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.3262103} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2902e2b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:09.887700838Z"}]},"request_id":"1b83926b-7efa-4bfb-92d5-8986017c6987","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.3271782} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"290330d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2902e2b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38? 200 16ms","method":"GET","requestID":"2902e2b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"290330d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/7c0208b9-e286-4108-844a-82982933a253? 200 16ms","method":"GET","requestID":"290330d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/7c0208b9-e286-4108-844a-82982933a253?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"},"level":"info","message":"Setting up experiment","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"},"level":"info","message":"Successfully locked booking for experiment","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"},"level":"info","message":"Attempting to update booking for experiment","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"},"level":"info","message":"Successfully updated booking for experiment","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"},"level":"info","message":"Successfully set up experiment","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"29100210-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"29107740-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"29111380-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"},"level":"info","message":"Successfully running experiment","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":206,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":207,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":206,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":3.580661,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":207,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.61139,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29100210-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676532,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"29100210-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29107740-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676532,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 13ms","method":"POST","requestID":"29107740-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:09.803703271Z"}]},"request_id":"944f13be-bc51-480f-a7ce-41c7aa3fd151","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.4252825} authorization-1 | {"client_addr":"127.0.0.1:36362","level":"info","msg":"Received request.","req_id":208,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"29100210-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:09.887700838Z"}]},"request_id":"439e53d0-744a-4e00-b9cf-b5124c79a0a9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.4282706} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"43a04b4d-5328-47d9-b115-7802a61e94e2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.4286382} authorization-1 | {"client_addr":"127.0.0.1:36362","level":"info","msg":"Sent response.","req_id":208,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.35225,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"29107740-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/relations/query"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29111380-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 25ms","method":"POST","requestID":"29111380-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"29100210-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff8c18283-0053-46bd-a3f4-6c199b619c3e#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff8c18283-0053-46bd-a3f4-6c199b619c3e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"0ad0a598-a27f-40d3-83b1-5bfaff7b5205","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.4439807} device-1 | {"level":"info","message":"GET /devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38? 200 43ms","method":"GET","requestID":"29100210-75da-11ef-ba7c-09eaa4331ae1","responseTime":43,"status":200,"url":"/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c7d2fc74-c745-4c1d-94b8-439769f3214d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.444862} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"29107740-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/7c0208b9-e286-4108-844a-82982933a253? 200 44ms","method":"GET","requestID":"29107740-75da-11ef-ba7c-09eaa4331ae1","responseTime":44,"status":200,"url":"/devices/7c0208b9-e286-4108-844a-82982933a253?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 33ms","method":"POST","requestID":"c6b8c53041f8a33039e7fbbc89858b5b","responseTime":33,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"29111380-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38/signaling 200 42ms","method":"POST","requestID":"29111380-75da-11ef-ba7c-09eaa4331ae1","responseTime":42,"status":200,"url":"/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2917ca40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":209,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b8f72187-0509-4210-b010-f6f378c6b461","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.4606764} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":209,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.45625,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2917ca40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"29199f00-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"2917ca40-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":210,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"812","request_time":"0.208","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} experiment-1 | {"level":"info","message":"POST /experiments? 201 203ms","method":"POST","requestID":"c6b8c53041f8a33039e7fbbc89858b5b","responseTime":203,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2917ca40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38/signaling 200 20ms","method":"POST","requestID":"2917ca40-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"918e960c-5b4f-435f-a108-ea80a7d2a8f0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.472964} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":210,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.457513,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29199f00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"291b73c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"29199f00-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI","level":"info","message":"auth send jwt","requestID":"4dc267d6c1426c1bd4bee1296737341b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4dc267d6c1426c1bd4bee1296737341b","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":211,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4dc267d6c1426c1bd4bee1296737341b"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0eb364d4-3914-4a86-97a1-32390dfebbc4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.4821944} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"29199f00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7c0208b9-e286-4108-844a-82982933a253/signaling 200 20ms","method":"POST","requestID":"29199f00-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/7c0208b9-e286-4108-844a-82982933a253/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":211,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.701767,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":212,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"291b73c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"291b73c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":212,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.126375,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4dc267d6c1426c1bd4bee1296737341b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676532,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4dc267d6c1426c1bd4bee1296737341b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"291b73c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7c0208b9-e286-4108-844a-82982933a253/signaling 200 14ms","method":"POST","requestID":"291b73c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/7c0208b9-e286-4108-844a-82982933a253/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:09.803703271Z"}]},"request_id":"06c544a0-50d1-4272-963e-07bd2622328e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.4911923} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4dc267d6c1426c1bd4bee1296737341b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"291e32e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"291e59f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4dc267d6c1426c1bd4bee1296737341b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":213,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":213,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.709426,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":214,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4dc267d6c1426c1bd4bee1296737341b"} device-1 | {"level":"info","message":"GET /devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38? 200 18ms","method":"GET","requestID":"4dc267d6c1426c1bd4bee1296737341b","responseTime":18,"status":200,"url":"/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"291e32e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676532,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"291e32e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":214,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.782496,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"291e59f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676532,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"291e59f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:09.803703271Z"}]},"request_id":"de54e03e-01ca-4b1d-ae5e-c6b0662d4360","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.5037367} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI","level":"info","message":"auth send jwt","requestID":"06abd049e53661255ae52df0eb466df8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"06abd049e53661255ae52df0eb466df8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"06abd049e53661255ae52df0eb466df8"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"291e32e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:09.887700838Z"}]},"request_id":"6433f9c6-582e-4bf4-b0fb-7e10b2bd5035","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.5066097} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"291e59f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":215,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":215,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.78063,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"06abd049e53661255ae52df0eb466df8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676532,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"291e32e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"06abd049e53661255ae52df0eb466df8","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38? 200 17ms","method":"GET","requestID":"291e32e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"291e59f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/7c0208b9-e286-4108-844a-82982933a253? 200 17ms","method":"GET","requestID":"291e59f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/7c0208b9-e286-4108-844a-82982933a253?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"},"level":"info","message":"Building connection plan","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"7516cbf8-f4c4-480d-b58a-c8a4ad0c7917"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"8c502439-6aee-4130-920f-34b338df6086"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"f6807979-2cc6-420c-9455-afbab34ee46f"}]},"level":"info","message":"Built pairwise service configurations","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:09.887700838Z"}]},"request_id":"21faeae3-8471-4b85-a521-132d318c12bc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.516001} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"06abd049e53661255ae52df0eb466df8","responseTime":3,"status":200,"url":"/relations/query"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"2921b550-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"2921b550-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"2921b550-75da-11ef-9672-db8da4810e4b","responseTime":1,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/32ff98fa-b2c7-4314-b49c-6e8ff3b85966?id=79a15f52-49b8-4141-9e77-bb4c06564600","ws://localhost/rooms/32ff98fa-b2c7-4314-b49c-6e8ff3b85966?id=f9c628bd-d1b0-44f3-8bca-14b982f3cc5c"]},"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"06abd049e53661255ae52df0eb466df8"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7c0208b9-e286-4108-844a-82982933a253? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"06abd049e53661255ae52df0eb466df8"} device-1 | {"level":"info","message":"GET /devices/7c0208b9-e286-4108-844a-82982933a253? 200 16ms","method":"GET","requestID":"06abd049e53661255ae52df0eb466df8","responseTime":16,"status":200,"url":"/devices/7c0208b9-e286-4108-844a-82982933a253?"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"292278a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":216,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":216,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.741754,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"292278a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676532,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"292278a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"ea6f4ad0-b93a-4b12-a1a3-0a3fc26d59d9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.5359163} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f076efc8-e791-4cca-9952-17c37d4ab132","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.5360656} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"292278a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"292278a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"292278a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/353e98c3-4b84-4023-8116-c93a00276c11'","requestID":"292278a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/353e98c3-4b84-4023-8116-c93a00276c11'","requestID":"292278a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"292278a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 26ms","method":"POST","requestID":"292278a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"292278a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/353e98c3-4b84-4023-8116-c93a00276c11' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"353e98c3-4b84-4023-8116-c93a00276c11","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"29286c10-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"f9c628bd-d1b0-44f3-8bca-14b982f3cc5c\" in room \"http://localhost/rooms/32ff98fa-b2c7-4314-b49c-6e8ff3b85966\"","requestID":"29286c10-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"29286c10-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0bd2a4690772e119f5fd756094f7040c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0bd2a4690772e119f5fd756094f7040c","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"2928ba30-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"79a15f52-49b8-4141-9e77-bb4c06564600\" in room \"http://localhost/rooms/32ff98fa-b2c7-4314-b49c-6e8ff3b85966\"","requestID":"2928ba30-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"2928ba30-75da-11ef-9672-db8da4810e4b"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/353e98c3-4b84-4023-8116-c93a00276c11"}}},"level":"info","message":"received a callback","requestID":"0bd2a4690772e119f5fd756094f7040c"} device-1 | {"data":{"peerconnection":"353e98c3-4b84-4023-8116-c93a00276c11","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 10ms","method":"POST","requestID":"0bd2a4690772e119f5fd756094f7040c","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"0bd2a4690772e119f5fd756094f7040c"} device-1 | {"data":{"peerconnection":"353e98c3-4b84-4023-8116-c93a00276c11","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"c6b8c53041f8a33039e7fbbc89858b5b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"292cb1d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":217,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eac2b3db-beb2-4d1e-8b61-a5038027f2f8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.5937154} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":217,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.977163,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"292cb1d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"292cb1d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/353e98c3-4b84-4023-8116-c93a00276c11' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"353e98c3-4b84-4023-8116-c93a00276c11","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"292cb1d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38/signaling 200 12ms","method":"POST","requestID":"292cb1d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"55bc76ddba6e1ae07e58ea6a383f4cd2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"55bc76ddba6e1ae07e58ea6a383f4cd2","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"292efbc0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/353e98c3-4b84-4023-8116-c93a00276c11"}}},"level":"info","message":"received a callback","requestID":"55bc76ddba6e1ae07e58ea6a383f4cd2"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":218,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2aeb6cb2-9e65-4f92-af7f-4fc0396046b7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.6105773} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":218,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.036805,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"29300d30-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"292efbc0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"292efbc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":219,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"292efbc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7c0208b9-e286-4108-844a-82982933a253/signaling 200 11ms","method":"POST","requestID":"292efbc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/7c0208b9-e286-4108-844a-82982933a253/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F353e98c3-4b84-4023-8116-c93a00276c11","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5ddce87f-4f76-4483-8379-6cb6a60abb8d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.6157408} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":219,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.557724,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/353e98c3-4b84-4023-8116-c93a00276c11","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29300d30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/353e98c3-4b84-4023-8116-c93a00276c11","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"29300d30-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"29300d30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/353e98c3-4b84-4023-8116-c93a00276c11 200 8ms","method":"GET","requestID":"29300d30-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/peerconnections/353e98c3-4b84-4023-8116-c93a00276c11"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 34ms","method":"POST","requestID":"55bc76ddba6e1ae07e58ea6a383f4cd2","responseTime":34,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.040","http_referrer":"","http_user_agent":"node-fetch","requestID":"55bc76ddba6e1ae07e58ea6a383f4cd2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"29347a00-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":220,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cd87089e-1458-4496-870e-41902f1b2c43","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.64513} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":220,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.185012,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29347a00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"29347a00-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"29347a00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7c0208b9-e286-4108-844a-82982933a253/signaling 200 10ms","method":"POST","requestID":"29347a00-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/7c0208b9-e286-4108-844a-82982933a253/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"293675d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":221,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dbb3fbf0-a6dd-418f-94dd-da89bdceb8f1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.6588805} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":221,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.899196,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"293675d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"293675d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"293675d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38/signaling 200 11ms","method":"POST","requestID":"293675d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI","level":"info","message":"auth send jwt","requestID":"af5c5fd6d7f42882a29fe875a5ad55e6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"af5c5fd6d7f42882a29fe875a5ad55e6","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e","requestID":"af5c5fd6d7f42882a29fe875a5ad55e6"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":222,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":222,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.88606,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"af5c5fd6d7f42882a29fe875a5ad55e6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676532,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"af5c5fd6d7f42882a29fe875a5ad55e6","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e","requestID":"af5c5fd6d7f42882a29fe875a5ad55e6"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e HTTP/1.1","status": "200","body_bytes_sent":"885","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"af5c5fd6d7f42882a29fe875a5ad55e6"} experiment-1 | {"level":"info","message":"GET /experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e 200 11ms","method":"GET","requestID":"af5c5fd6d7f42882a29fe875a5ad55e6","responseTime":11,"status":200,"url":"/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI","level":"info","message":"auth send jwt","requestID":"7211a9b16bcb8c3bac5cb2dfd17a0811"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"7211a9b16bcb8c3bac5cb2dfd17a0811","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e","requestID":"7211a9b16bcb8c3bac5cb2dfd17a0811"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":223,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":223,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.095282,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7211a9b16bcb8c3bac5cb2dfd17a0811","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676532,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7211a9b16bcb8c3bac5cb2dfd17a0811","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"},"level":"info","message":"Attempting to finish experiment","requestID":"7211a9b16bcb8c3bac5cb2dfd17a0811"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"293eb330-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":224,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":224,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.863985,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/353e98c3-4b84-4023-8116-c93a00276c11","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"293eb330-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/353e98c3-4b84-4023-8116-c93a00276c11","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676532,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"293eb330-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/32ff98fa-b2c7-4314-b49c-6e8ff3b85966?id=f9c628bd-d1b0-44f3-8bca-14b982f3cc5c HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.162","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"b50dab2c6ccd84107890d6597437b074"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"f9c628bd-d1b0-44f3-8bca-14b982f3cc5c\" in room \"http://localhost/rooms/32ff98fa-b2c7-4314-b49c-6e8ff3b85966\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"f9c628bd-d1b0-44f3-8bca-14b982f3cc5c\" from room \"http://localhost/rooms/32ff98fa-b2c7-4314-b49c-6e8ff3b85966\""} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/353e98c3-4b84-4023-8116-c93a00276c11","device":"7c0208b9-e286-4108-844a-82982933a253","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/32ff98fa-b2c7-4314-b49c-6e8ff3b85966?id=79a15f52-49b8-4141-9e77-bb4c06564600 HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.164","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"a42d1f72775250c701805a0220d5619e"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"79a15f52-49b8-4141-9e77-bb4c06564600\" in room \"http://localhost/rooms/32ff98fa-b2c7-4314-b49c-6e8ff3b85966\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"79a15f52-49b8-4141-9e77-bb4c06564600\" from room \"http://localhost/rooms/32ff98fa-b2c7-4314-b49c-6e8ff3b85966\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/353e98c3-4b84-4023-8116-c93a00276c11' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/353e98c3-4b84-4023-8116-c93a00276c11' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"353e98c3-4b84-4023-8116-c93a00276c11","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8c2bc58caec6af570952fc5c3cc68e63","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"8c2bc58caec6af570952fc5c3cc68e63","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6fd0f72ab49dd403bf080848d19807d9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/353e98c3-4b84-4023-8116-c93a00276c11"}}},"level":"info","message":"received a callback","requestID":"8c2bc58caec6af570952fc5c3cc68e63"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"6fd0f72ab49dd403bf080848d19807d9","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/353e98c3-4b84-4023-8116-c93a00276c11"}}},"level":"info","message":"received a callback","requestID":"6fd0f72ab49dd403bf080848d19807d9"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F353e98c3-4b84-4023-8116-c93a00276c11': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F353e98c3-4b84-4023-8116-c93a00276c11","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"c37b959d-4282-4733-bfce-bfba1e0b01cc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.7314339} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e8af8b9d-6c19-4bce-b665-1cbb12fc1557","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.731851} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"293eb330-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"353e98c3-4b84-4023-8116-c93a00276c11","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"293eb330-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/353e98c3-4b84-4023-8116-c93a00276c11 204 39ms","method":"DELETE","requestID":"293eb330-75da-11ef-ba7c-09eaa4331ae1","responseTime":39,"status":204,"url":"/peerconnections/353e98c3-4b84-4023-8116-c93a00276c11"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"},"level":"info","message":"Successfully finished experiment","requestID":"7211a9b16bcb8c3bac5cb2dfd17a0811"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2947b3e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":225,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c0208b9-e286-4108-844a-82982933a253","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e2d5cd18-2fc7-4043-8197-e25a4bf33c54","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.7713213} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":225,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.864551,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2947b3e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2947b3e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2947b3e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7c0208b9-e286-4108-844a-82982933a253/signaling 200 10ms","method":"POST","requestID":"2947b3e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/7c0208b9-e286-4108-844a-82982933a253/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff8c18283-0053-46bd-a3f4-6c199b619c3e': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff8c18283-0053-46bd-a3f4-6c199b619c3e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"e382989f-7e10-40fb-b9aa-b7e43092659d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.7778885} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b92c56f2-9ea1-43e8-a7c4-675670d05d34","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.7782931} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2949afb0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"7211a9b16bcb8c3bac5cb2dfd17a0811","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":226,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dad33c9b-11a2-4e11-b1b2-c89aa02cc1ee","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.7839282} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":226,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.018,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2949afb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2949afb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2949afb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38/signaling 200 9ms","method":"POST","requestID":"2949afb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e","requestID":"7211a9b16bcb8c3bac5cb2dfd17a0811"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.158","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7211a9b16bcb8c3bac5cb2dfd17a0811"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1542","request_time":"2.409","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"6d621563a15552e4c277d39c2e1fb177"} experiment-1 | {"level":"info","message":"DELETE /experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e 204 154ms","method":"DELETE","requestID":"7211a9b16bcb8c3bac5cb2dfd17a0811","responseTime":154,"status":204,"url":"/experiments/f8c18283-0053-46bd-a3f4-6c199b619c3e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 118ms","method":"POST","requestID":"8c2bc58caec6af570952fc5c3cc68e63","responseTime":118,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.121","http_referrer":"","http_user_agent":"node-fetch","requestID":"8c2bc58caec6af570952fc5c3cc68e63"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 118ms","method":"POST","requestID":"6fd0f72ab49dd403bf080848d19807d9","responseTime":118,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.122","http_referrer":"","http_user_agent":"node-fetch","requestID":"6fd0f72ab49dd403bf080848d19807d9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI","level":"info","message":"auth send jwt","requestID":"c07f98cba4fba805dc4b0dab0918e665"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c07f98cba4fba805dc4b0dab0918e665","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"c07f98cba4fba805dc4b0dab0918e665"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1867","request_time":"0.926","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d8fe68722dc2b54065f25d49a186b038"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":227,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":227,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.026362,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c07f98cba4fba805dc4b0dab0918e665","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676532,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c07f98cba4fba805dc4b0dab0918e665","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/2ccf9fb9-5473-42f1-b6d0-61a83c6abd38' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"c23d2097-6fcb-4b15-a40a-001c84fa6cda","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.8710408} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c07f98cba4fba805dc4b0dab0918e665","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/7c0208b9-e286-4108-844a-82982933a253' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0b6117aa-a48f-41b9-bd65-e07e36a9ef18","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.8763747} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"c07f98cba4fba805dc4b0dab0918e665","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"9a776df1-f332-464b-837c-1104e9ddf2ad","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.8864386} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4ff57068-43c3-4886-82f2-2ba92e46fcd8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.886602} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"c07f98cba4fba805dc4b0dab0918e665","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:12.886423314Z"}]},"request_id":"f4a96f06-0a89-4607-92a2-4eed017a508b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.8914206} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c07f98cba4fba805dc4b0dab0918e665","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c07f98cba4fba805dc4b0dab0918e665"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c07f98cba4fba805dc4b0dab0918e665"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"c07f98cba4fba805dc4b0dab0918e665","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI","level":"info","message":"auth send jwt","requestID":"9bf7c5598235ff7cef610bf75f8cdfc5"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9bf7c5598235ff7cef610bf75f8cdfc5","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"9bf7c5598235ff7cef610bf75f8cdfc5"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":228,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":228,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.381009,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:12Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9bf7c5598235ff7cef610bf75f8cdfc5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676532,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzMn0.nOA7-XHoNDX5QARx9LVl8xnR8B9T503Z5mda4MWWoBI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9bf7c5598235ff7cef610bf75f8cdfc5","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"5f6c0ac9-6e41-4c64-9df5-b59ab93f1914","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.9227624} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"9bf7c5598235ff7cef610bf75f8cdfc5","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c25e80a2-afcd-40ac-92d0-ff5139da7738","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.9276724} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"9bf7c5598235ff7cef610bf75f8cdfc5","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"276299ae-c910-48a3-a0bf-d12c29225813","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.9390857} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ecca3d66-2c3e-4c2c-958c-05fc1ec9ed4f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.9392407} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"9bf7c5598235ff7cef610bf75f8cdfc5","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:12.939063470Z"}]},"request_id":"6c071b8b-2e83-4225-b5d3-42a51178487a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676532.944182} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9bf7c5598235ff7cef610bf75f8cdfc5","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9bf7c5598235ff7cef610bf75f8cdfc5"} gateway-1 | {"time_local":"18/Sep/2024:16:22:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9bf7c5598235ff7cef610bf75f8cdfc5"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"9bf7c5598235ff7cef610bf75f8cdfc5","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE","level":"info","message":"auth send jwt","requestID":"c4c506233896a4b6fd2ad7fef9d4d653"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c4c506233896a4b6fd2ad7fef9d4d653","responseTime":4,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE","level":"info","message":"auth send jwt","requestID":"6c8dd6b4773161bf1f0058f83591523c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6c8dd6b4773161bf1f0058f83591523c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"c4c506233896a4b6fd2ad7fef9d4d653"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"6c8dd6b4773161bf1f0058f83591523c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":229,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":229,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.795425,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":230,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c4c506233896a4b6fd2ad7fef9d4d653","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c4c506233896a4b6fd2ad7fef9d4d653","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":230,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.645311,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6c8dd6b4773161bf1f0058f83591523c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6c8dd6b4773161bf1f0058f83591523c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:12.886423314Z"}]},"request_id":"7359d875-8886-451d-a088-301e2c30b9e6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.4222684} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c4c506233896a4b6fd2ad7fef9d4d653","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:12.939063470Z"}]},"request_id":"4c45f39e-cb5b-4a2b-87ef-27e5e34b22c2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.4234028} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6c8dd6b4773161bf1f0058f83591523c","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8f7ba7da-2a2d-4a39-9acf-7fadb6daa93a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.4277039} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"c4c506233896a4b6fd2ad7fef9d4d653","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cb86e5d1-422d-4b58-a632-05ac32503cd4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.4299843} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"6c8dd6b4773161bf1f0058f83591523c","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:12.939063470Z"}]},"request_id":"3b191370-2e99-46a3-aae2-a140fabcdf91","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.4332933} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6c8dd6b4773161bf1f0058f83591523c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"6c8dd6b4773161bf1f0058f83591523c"} gateway-1 | {"time_local":"18/Sep/2024:16:22:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/477965a2-ba62-4967-b9b9-c8314b31934e HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.032","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"6c8dd6b4773161bf1f0058f83591523c"} device-1 | {"level":"info","message":"PATCH /devices/477965a2-ba62-4967-b9b9-c8314b31934e 200 24ms","method":"PATCH","requestID":"6c8dd6b4773161bf1f0058f83591523c","responseTime":24,"status":200,"url":"/devices/477965a2-ba62-4967-b9b9-c8314b31934e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE","level":"info","message":"auth send jwt","requestID":"985dcb7e2626e1c65ee88b5a98c194cb"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"985dcb7e2626e1c65ee88b5a98c194cb","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"985dcb7e2626e1c65ee88b5a98c194cb"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:12.886423314Z"}]},"request_id":"7c641e78-997b-4ea7-bee4-798dc23824dd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.443395} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c4c506233896a4b6fd2ad7fef9d4d653","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":231,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":231,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.799155,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"c4c506233896a4b6fd2ad7fef9d4d653"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"985dcb7e2626e1c65ee88b5a98c194cb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} device-1 | {"level":"info","message":"PATCH /devices/dae13311-6239-41a1-819d-5a47c5f67b7f 200 37ms","method":"PATCH","requestID":"c4c506233896a4b6fd2ad7fef9d4d653","responseTime":37,"status":200,"url":"/devices/dae13311-6239-41a1-819d-5a47c5f67b7f"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"985dcb7e2626e1c65ee88b5a98c194cb","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:22:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/dae13311-6239-41a1-819d-5a47c5f67b7f HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.043","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"c4c506233896a4b6fd2ad7fef9d4d653"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE","level":"info","message":"auth send jwt","requestID":"2d42ee61a54412a130348a56947d325f"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"2d42ee61a54412a130348a56947d325f","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"2d42ee61a54412a130348a56947d325f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":232,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":232,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.878163,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2d42ee61a54412a130348a56947d325f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2d42ee61a54412a130348a56947d325f","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"985dcb7e2626e1c65ee88b5a98c194cb"} gateway-1 | {"time_local":"18/Sep/2024:16:22:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/477965a2-ba62-4967-b9b9-c8314b31934e/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.022","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"985dcb7e2626e1c65ee88b5a98c194cb"} device-1 | {"level":"info","message":"POST /devices/477965a2-ba62-4967-b9b9-c8314b31934e/websocket 200 17ms","method":"POST","requestID":"985dcb7e2626e1c65ee88b5a98c194cb","responseTime":17,"status":200,"url":"/devices/477965a2-ba62-4967-b9b9-c8314b31934e/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"2d42ee61a54412a130348a56947d325f"} device-1 | {"level":"info","message":"POST /devices/dae13311-6239-41a1-819d-5a47c5f67b7f/websocket 200 17ms","method":"POST","requestID":"2d42ee61a54412a130348a56947d325f","responseTime":17,"status":200,"url":"/devices/dae13311-6239-41a1-819d-5a47c5f67b7f/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/dae13311-6239-41a1-819d-5a47c5f67b7f/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.021","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"2d42ee61a54412a130348a56947d325f"} device-1 | {"level":"info","message":"device 'http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE","level":"info","message":"auth send jwt","requestID":"b44ec9eb96c079370ac6b7824446d73c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b44ec9eb96c079370ac6b7824446d73c","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b44ec9eb96c079370ac6b7824446d73c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":233,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":233,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.852526,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b44ec9eb96c079370ac6b7824446d73c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b44ec9eb96c079370ac6b7824446d73c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:12.886423314Z"}]},"request_id":"7fd53178-5c66-4e49-9ee9-f49b82b3ddec","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.498422} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b44ec9eb96c079370ac6b7824446d73c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b44ec9eb96c079370ac6b7824446d73c"} gateway-1 | {"time_local":"18/Sep/2024:16:22:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dae13311-6239-41a1-819d-5a47c5f67b7f? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b44ec9eb96c079370ac6b7824446d73c"} device-1 | {"level":"info","message":"GET /devices/dae13311-6239-41a1-819d-5a47c5f67b7f? 200 12ms","method":"GET","requestID":"b44ec9eb96c079370ac6b7824446d73c","responseTime":12,"status":200,"url":"/devices/dae13311-6239-41a1-819d-5a47c5f67b7f?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE","level":"info","message":"auth send jwt","requestID":"a9b420653527211d455dc3b5fbf6d541"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a9b420653527211d455dc3b5fbf6d541","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a9b420653527211d455dc3b5fbf6d541"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":234,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":234,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.000107,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a9b420653527211d455dc3b5fbf6d541","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a9b420653527211d455dc3b5fbf6d541","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:12.939063470Z"}]},"request_id":"3bc6c512-6191-4fe7-9ec7-9959a058481d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.5180635} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a9b420653527211d455dc3b5fbf6d541","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a9b420653527211d455dc3b5fbf6d541"} device-1 | {"level":"info","message":"GET /devices/477965a2-ba62-4967-b9b9-c8314b31934e? 200 15ms","method":"GET","requestID":"a9b420653527211d455dc3b5fbf6d541","responseTime":15,"status":200,"url":"/devices/477965a2-ba62-4967-b9b9-c8314b31934e?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/477965a2-ba62-4967-b9b9-c8314b31934e? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a9b420653527211d455dc3b5fbf6d541"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE","level":"info","message":"auth send jwt","requestID":"f3ba0ad8faa965512e59efa491c589b1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f3ba0ad8faa965512e59efa491c589b1","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"f3ba0ad8faa965512e59efa491c589b1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":235,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":235,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.068573,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f3ba0ad8faa965512e59efa491c589b1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f3ba0ad8faa965512e59efa491c589b1","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"},"level":"info","message":"Attempting to run experiment","requestID":"f3ba0ad8faa965512e59efa491c589b1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"},"level":"info","message":"Attempting to book experiment","requestID":"f3ba0ad8faa965512e59efa491c589b1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"},"level":"info","message":"Successfully booked experiment","requestID":"f3ba0ad8faa965512e59efa491c589b1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"29c19ed0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"29c21400-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":236,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":236,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.609093,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29c19ed0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"29c19ed0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":237,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":237,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.749649,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29c21400-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"29c21400-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:12.886423314Z"}]},"request_id":"2f18ad72-0516-4835-ad9c-48a354f7c3ca","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.5772517} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"29c19ed0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:12.939063470Z"}]},"request_id":"d51290f9-74ad-4b36-9584-d6736d43c0ef","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.5791616} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"29c21400-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"29c19ed0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/dae13311-6239-41a1-819d-5a47c5f67b7f? 200 19ms","method":"GET","requestID":"29c19ed0-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/dae13311-6239-41a1-819d-5a47c5f67b7f?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"29c21400-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/477965a2-ba62-4967-b9b9-c8314b31934e? 200 17ms","method":"GET","requestID":"29c21400-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/477965a2-ba62-4967-b9b9-c8314b31934e?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"},"level":"info","message":"Setting up experiment","requestID":"f3ba0ad8faa965512e59efa491c589b1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"f3ba0ad8faa965512e59efa491c589b1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"},"level":"info","message":"Successfully locked booking for experiment","requestID":"f3ba0ad8faa965512e59efa491c589b1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"f3ba0ad8faa965512e59efa491c589b1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"f3ba0ad8faa965512e59efa491c589b1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"},"level":"info","message":"Attempting to update booking for experiment","requestID":"f3ba0ad8faa965512e59efa491c589b1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"},"level":"info","message":"Successfully updated booking for experiment","requestID":"f3ba0ad8faa965512e59efa491c589b1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"},"level":"info","message":"Successfully set up experiment","requestID":"f3ba0ad8faa965512e59efa491c589b1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"29cc4d30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"29ccc260-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"29cd1080-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"},"level":"info","message":"Successfully running experiment","requestID":"f3ba0ad8faa965512e59efa491c589b1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":238,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":238,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.089629,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":239,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29cc4d30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"29cc4d30-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":239,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.087808,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29ccc260-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"29ccc260-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":240,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":240,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.244371,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b8b1e479-bb39-43a4-be34-b85b47081273","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.652587} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29cd1080-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"29cd1080-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:12.886423314Z"}]},"request_id":"f0e753b5-1d1d-4296-b11b-426391d6b371","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.6551328} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"29cc4d30-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"29cd1080-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:12.939063470Z"}]},"request_id":"643c1cac-0f19-43c7-afe9-3d8e6917b950","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.660271} device-1 | {"level":"info","message":"POST /devices/dae13311-6239-41a1-819d-5a47c5f67b7f/signaling 200 22ms","method":"POST","requestID":"29cd1080-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/dae13311-6239-41a1-819d-5a47c5f67b7f/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"29ccc260-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8066f5e0-1433-4b93-bc40-658fb359cfa5#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8066f5e0-1433-4b93-bc40-658fb359cfa5","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"6def535b-bb78-4cf4-9c79-b6e2f5bd7d97","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.6654942} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"44ff3305-274e-4275-9db6-b3cfadf42dc4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.6657503} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"29d10820-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"f3ba0ad8faa965512e59efa491c589b1","responseTime":23,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"29cc4d30-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":241,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} device-1 | {"level":"info","message":"GET /devices/dae13311-6239-41a1-819d-5a47c5f67b7f? 200 37ms","method":"GET","requestID":"29cc4d30-75da-11ef-ba7c-09eaa4331ae1","responseTime":37,"status":200,"url":"/devices/dae13311-6239-41a1-819d-5a47c5f67b7f?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"29ccc260-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/477965a2-ba62-4967-b9b9-c8314b31934e? 200 36ms","method":"GET","requestID":"29ccc260-75da-11ef-ba7c-09eaa4331ae1","responseTime":36,"status":200,"url":"/devices/477965a2-ba62-4967-b9b9-c8314b31934e?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ddcdf2d5-39fd-4294-a618-1b51ebb6f521","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.67515} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":241,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.281002,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29d10820-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"29d10820-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"f3ba0ad8faa965512e59efa491c589b1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"29d32b00-75da-11ef-ba7c-09eaa4331ae1"} gateway-1 | {"time_local":"18/Sep/2024:16:22:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"816","request_time":"0.157","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f3ba0ad8faa965512e59efa491c589b1"} experiment-1 | {"level":"info","message":"POST /experiments? 201 153ms","method":"POST","requestID":"f3ba0ad8faa965512e59efa491c589b1","responseTime":153,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"29d10820-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/477965a2-ba62-4967-b9b9-c8314b31934e/signaling 200 19ms","method":"POST","requestID":"29d10820-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/477965a2-ba62-4967-b9b9-c8314b31934e/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":242,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bc2d9462-493b-4e17-804e-6cff6cb9564c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.6871843} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE","level":"info","message":"auth send jwt","requestID":"694b72d6677911135792b3122f5c175e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":242,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.214457,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"694b72d6677911135792b3122f5c175e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"694b72d6677911135792b3122f5c175e"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29d32b00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"29d32b00-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":243,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":243,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.041806,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"694b72d6677911135792b3122f5c175e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"694b72d6677911135792b3122f5c175e","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"29d32b00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/dae13311-6239-41a1-819d-5a47c5f67b7f/signaling 200 16ms","method":"POST","requestID":"29d32b00-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/dae13311-6239-41a1-819d-5a47c5f67b7f/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:12.886423314Z"}]},"request_id":"81733b02-b74a-4bc6-82f0-48f7824cbcd2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.6977603} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"694b72d6677911135792b3122f5c175e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"29d61130-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":244,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"694b72d6677911135792b3122f5c175e"} gateway-1 | {"time_local":"18/Sep/2024:16:22:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dae13311-6239-41a1-819d-5a47c5f67b7f? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"694b72d6677911135792b3122f5c175e"} device-1 | {"level":"info","message":"GET /devices/dae13311-6239-41a1-819d-5a47c5f67b7f? 200 13ms","method":"GET","requestID":"694b72d6677911135792b3122f5c175e","responseTime":13,"status":200,"url":"/devices/dae13311-6239-41a1-819d-5a47c5f67b7f?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7aa0a53e-e5d2-4c22-81b1-d97943b5a528","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.7031677} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":244,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.907637,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29d61130-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"29d61130-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE","level":"info","message":"auth send jwt","requestID":"592e6beb561a91f411c2d14b7bcf8f48"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"592e6beb561a91f411c2d14b7bcf8f48","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"29d61130-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/477965a2-ba62-4967-b9b9-c8314b31934e/signaling 200 9ms","method":"POST","requestID":"29d61130-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/477965a2-ba62-4967-b9b9-c8314b31934e/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"592e6beb561a91f411c2d14b7bcf8f48"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"f3ba0ad8faa965512e59efa491c589b1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"29d7bee0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"29d7e5f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":245,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":246,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":245,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.015125,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"592e6beb561a91f411c2d14b7bcf8f48","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"592e6beb561a91f411c2d14b7bcf8f48","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":246,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.629797,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:36362","level":"info","msg":"Received request.","req_id":247,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:36362","level":"info","msg":"Sent response.","req_id":247,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.590067,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29d7bee0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"29d7bee0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29d7e5f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"29d7e5f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:12.939063470Z"}]},"request_id":"78f0da8f-9ccf-4440-be3c-4c794b3422be","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.7185242} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:12.886423314Z"}]},"request_id":"0957bb6e-51f8-4df6-aef3-d5178545b407","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.7193193} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"592e6beb561a91f411c2d14b7bcf8f48","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"29d7bee0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:12.939063470Z"}]},"request_id":"adf091ee-237d-4507-b370-225bcc022e6d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.7224} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"29d7e5f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"29d7bee0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/dae13311-6239-41a1-819d-5a47c5f67b7f? 200 16ms","method":"GET","requestID":"29d7bee0-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/dae13311-6239-41a1-819d-5a47c5f67b7f?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"592e6beb561a91f411c2d14b7bcf8f48"} gateway-1 | {"time_local":"18/Sep/2024:16:22:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/477965a2-ba62-4967-b9b9-c8314b31934e? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"592e6beb561a91f411c2d14b7bcf8f48"} device-1 | {"level":"info","message":"GET /devices/477965a2-ba62-4967-b9b9-c8314b31934e? 200 19ms","method":"GET","requestID":"592e6beb561a91f411c2d14b7bcf8f48","responseTime":19,"status":200,"url":"/devices/477965a2-ba62-4967-b9b9-c8314b31934e?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"29d7e5f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/477965a2-ba62-4967-b9b9-c8314b31934e? 200 18ms","method":"GET","requestID":"29d7e5f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/477965a2-ba62-4967-b9b9-c8314b31934e?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"},"level":"info","message":"Building connection plan","requestID":"f3ba0ad8faa965512e59efa491c589b1"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"19c198b2-d02f-4f2a-8233-92f19e9bab36"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"4635a8ff-6e2f-49b1-a4ce-1a96da53f31e"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"cd04ded5-88e7-4f20-9673-17b36172ab89"}]},"level":"info","message":"Built pairwise service configurations","requestID":"f3ba0ad8faa965512e59efa491c589b1"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"29daf330-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"29daf330-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 2ms","method":"POST","requestID":"29daf330-75da-11ef-9672-db8da4810e4b","responseTime":2,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/0a3fa0ef-5a8f-4951-8360-64f4c13bd0a7?id=cdd83fe9-ba4b-4f83-94ab-e61448434ea2","ws://localhost/rooms/0a3fa0ef-5a8f-4951-8360-64f4c13bd0a7?id=ea46cc1e-0412-4e96-928e-02aec931258c"]},"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"f3ba0ad8faa965512e59efa491c589b1"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"29db8f70-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":248,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":248,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.656253,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29db8f70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"29db8f70-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"c0ef30e5-e397-46ef-b02d-a4f2f931c4c7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.7473967} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"59b88516-bd9e-40da-817d-9bf24ffd5ea6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.7477098} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"29db8f70-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"29db8f70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"29db8f70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/3c5fb3a3-412b-468f-a97e-7ec1a1504251'","requestID":"29db8f70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/3c5fb3a3-412b-468f-a97e-7ec1a1504251'","requestID":"29db8f70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"29db8f70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 24ms","method":"POST","requestID":"29db8f70-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"29db8f70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/3c5fb3a3-412b-468f-a97e-7ec1a1504251' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"3c5fb3a3-412b-468f-a97e-7ec1a1504251","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"29e0bf90-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"cdd83fe9-ba4b-4f83-94ab-e61448434ea2\" in room \"http://localhost/rooms/0a3fa0ef-5a8f-4951-8360-64f4c13bd0a7\"","requestID":"29e0bf90-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"29e0bf90-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"29e10db0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"ea46cc1e-0412-4e96-928e-02aec931258c\" in room \"http://localhost/rooms/0a3fa0ef-5a8f-4951-8360-64f4c13bd0a7\"","requestID":"29e10db0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"29e10db0-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"60cc0ae5c9ffdcf298c32933a64efb5c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"60cc0ae5c9ffdcf298c32933a64efb5c","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/3c5fb3a3-412b-468f-a97e-7ec1a1504251"}}},"level":"info","message":"received a callback","requestID":"60cc0ae5c9ffdcf298c32933a64efb5c"} device-1 | {"data":{"peerconnection":"3c5fb3a3-412b-468f-a97e-7ec1a1504251","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 13ms","method":"POST","requestID":"60cc0ae5c9ffdcf298c32933a64efb5c","responseTime":13,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch","requestID":"60cc0ae5c9ffdcf298c32933a64efb5c"} device-1 | {"data":{"peerconnection":"3c5fb3a3-412b-468f-a97e-7ec1a1504251","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"f3ba0ad8faa965512e59efa491c589b1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"29e616c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/3c5fb3a3-412b-468f-a97e-7ec1a1504251' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"3c5fb3a3-412b-468f-a97e-7ec1a1504251","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":249,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f9d5919467499eaad8b7d5950b214904","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0a4a91af-3140-479b-9916-1af2cada614a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.8087275} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f9d5919467499eaad8b7d5950b214904","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":249,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.620752,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29e616c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"29e616c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/3c5fb3a3-412b-468f-a97e-7ec1a1504251"}}},"level":"info","message":"received a callback","requestID":"f9d5919467499eaad8b7d5950b214904"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"29e7eb80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"29e616c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":250,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} device-1 | {"level":"info","message":"POST /devices/dae13311-6239-41a1-819d-5a47c5f67b7f/signaling 200 15ms","method":"POST","requestID":"29e616c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/dae13311-6239-41a1-819d-5a47c5f67b7f/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F3c5fb3a3-412b-468f-a97e-7ec1a1504251","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"803c6277-caab-4770-985b-b12ee657bac3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.8210015} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":250,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.281018,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"29e8d5e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/3c5fb3a3-412b-468f-a97e-7ec1a1504251","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29e7eb80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/3c5fb3a3-412b-468f-a97e-7ec1a1504251","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"29e7eb80-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"29e7eb80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":251,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} device-1 | {"level":"info","message":"GET /peerconnections/3c5fb3a3-412b-468f-a97e-7ec1a1504251 200 9ms","method":"GET","requestID":"29e7eb80-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/peerconnections/3c5fb3a3-412b-468f-a97e-7ec1a1504251"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"38d1d8ba-0e82-4824-bf54-7131a83f05ac","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.8272743} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":251,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.002765,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29e8d5e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"29e8d5e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"29e8d5e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/477965a2-ba62-4967-b9b9-c8314b31934e/signaling 200 10ms","method":"POST","requestID":"29e8d5e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/477965a2-ba62-4967-b9b9-c8314b31934e/signaling"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 31ms","method":"POST","requestID":"f9d5919467499eaad8b7d5950b214904","responseTime":31,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.034","http_referrer":"","http_user_agent":"node-fetch","requestID":"f9d5919467499eaad8b7d5950b214904"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"29ebe320-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":252,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9cce8e41-e87b-4595-aa35-6e82769ea6f4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.8462186} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":252,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.12086,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29ebe320-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"29ebe320-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"29ebe320-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/477965a2-ba62-4967-b9b9-c8314b31934e/signaling 200 8ms","method":"POST","requestID":"29ebe320-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/477965a2-ba62-4967-b9b9-c8314b31934e/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"29ed69c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":253,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e1d29ea5-ba94-4ed4-ba04-4295c29eb8f8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.856294} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":253,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.127913,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29ed69c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"29ed69c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"29ed69c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/dae13311-6239-41a1-819d-5a47c5f67b7f/signaling 200 8ms","method":"POST","requestID":"29ed69c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/dae13311-6239-41a1-819d-5a47c5f67b7f/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE","level":"info","message":"auth send jwt","requestID":"f3dda2b9f2fcf56dfba401a947a0ac53"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f3dda2b9f2fcf56dfba401a947a0ac53","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5","requestID":"f3dda2b9f2fcf56dfba401a947a0ac53"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":254,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":254,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.6637,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f3dda2b9f2fcf56dfba401a947a0ac53","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f3dda2b9f2fcf56dfba401a947a0ac53","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5","requestID":"f3dda2b9f2fcf56dfba401a947a0ac53"} gateway-1 | {"time_local":"18/Sep/2024:16:22:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5 HTTP/1.1","status": "200","body_bytes_sent":"889","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f3dda2b9f2fcf56dfba401a947a0ac53"} experiment-1 | {"level":"info","message":"GET /experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5 200 9ms","method":"GET","requestID":"f3dda2b9f2fcf56dfba401a947a0ac53","responseTime":9,"status":200,"url":"/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE","level":"info","message":"auth send jwt","requestID":"1728991a2de66d8fe362b882faf08d2a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1728991a2de66d8fe362b882faf08d2a","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5","requestID":"1728991a2de66d8fe362b882faf08d2a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":255,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":255,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.680191,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1728991a2de66d8fe362b882faf08d2a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"1728991a2de66d8fe362b882faf08d2a","responseTime":2,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"},"level":"info","message":"Attempting to finish experiment","requestID":"1728991a2de66d8fe362b882faf08d2a"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"29f495b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":256,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":256,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.654442,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/3c5fb3a3-412b-468f-a97e-7ec1a1504251","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29f495b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/3c5fb3a3-412b-468f-a97e-7ec1a1504251","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676533,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzM30.xyZwC-S6mLawJNgI8rh0XrUrIIYXXvcCIA20g2rOnFE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"29f495b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:22:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/0a3fa0ef-5a8f-4951-8360-64f4c13bd0a7?id=cdd83fe9-ba4b-4f83-94ab-e61448434ea2 HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.141","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"45c8ee0961ba73e7a43a79ba6123297a"} gateway-1 | {"time_local":"18/Sep/2024:16:22:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/0a3fa0ef-5a8f-4951-8360-64f4c13bd0a7?id=ea46cc1e-0412-4e96-928e-02aec931258c HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.141","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"3e605648fe97c14255aa99f395ecb56e"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"cdd83fe9-ba4b-4f83-94ab-e61448434ea2\" in room \"http://localhost/rooms/0a3fa0ef-5a8f-4951-8360-64f4c13bd0a7\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"cdd83fe9-ba4b-4f83-94ab-e61448434ea2\" from room \"http://localhost/rooms/0a3fa0ef-5a8f-4951-8360-64f4c13bd0a7\""} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"ea46cc1e-0412-4e96-928e-02aec931258c\" in room \"http://localhost/rooms/0a3fa0ef-5a8f-4951-8360-64f4c13bd0a7\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"ea46cc1e-0412-4e96-928e-02aec931258c\" from room \"http://localhost/rooms/0a3fa0ef-5a8f-4951-8360-64f4c13bd0a7\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/3c5fb3a3-412b-468f-a97e-7ec1a1504251' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/3c5fb3a3-412b-468f-a97e-7ec1a1504251' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"3c5fb3a3-412b-468f-a97e-7ec1a1504251","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F3c5fb3a3-412b-468f-a97e-7ec1a1504251': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F3c5fb3a3-412b-468f-a97e-7ec1a1504251","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"d3940a51-4ca0-4c8e-9b72-e5407fb8962f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.913801} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"82c67af0-2bfa-4634-9af1-92bb82e68de2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.9141383} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"29f495b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"566878f30b1e6147a39201e5a23ff346","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"566878f30b1e6147a39201e5a23ff346","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6b04860a6a5f41ea09b3e62fc0e61b73","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"6b04860a6a5f41ea09b3e62fc0e61b73","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/3c5fb3a3-412b-468f-a97e-7ec1a1504251"}}},"level":"info","message":"received a callback","requestID":"566878f30b1e6147a39201e5a23ff346"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/3c5fb3a3-412b-468f-a97e-7ec1a1504251"}}},"level":"info","message":"received a callback","requestID":"6b04860a6a5f41ea09b3e62fc0e61b73"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"29f495b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/3c5fb3a3-412b-468f-a97e-7ec1a1504251 204 22ms","method":"DELETE","requestID":"29f495b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":204,"url":"/peerconnections/3c5fb3a3-412b-468f-a97e-7ec1a1504251"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"},"level":"info","message":"Successfully finished experiment","requestID":"1728991a2de66d8fe362b882faf08d2a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"29fad740-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":257,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F477965a2-ba62-4967-b9b9-c8314b31934e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7dd4b1e5-f11d-4f2d-a70b-1bb9dfad5b04","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.9450316} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":257,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.335432,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29fad740-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"29fad740-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"29fad740-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/477965a2-ba62-4967-b9b9-c8314b31934e/signaling 200 9ms","method":"POST","requestID":"29fad740-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/477965a2-ba62-4967-b9b9-c8314b31934e/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8066f5e0-1433-4b93-bc40-658fb359cfa5': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8066f5e0-1433-4b93-bc40-658fb359cfa5","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"aa3f5b87-2144-4205-8b14-64b34f29ba6c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.9513638} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"29fcac00-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"73b82065-52cf-4b5a-bbdd-3652df94b70a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.951741} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"1728991a2de66d8fe362b882faf08d2a","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":258,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdae13311-6239-41a1-819d-5a47c5f67b7f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7d3e8ff0-6409-477a-b1e5-99009330d76e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676533.9586847} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":258,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.169094,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"29fcac00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"29fcac00-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"29fcac00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/dae13311-6239-41a1-819d-5a47c5f67b7f/signaling 200 10ms","method":"POST","requestID":"29fcac00-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/dae13311-6239-41a1-819d-5a47c5f67b7f/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5","requestID":"1728991a2de66d8fe362b882faf08d2a"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.119","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1728991a2de66d8fe362b882faf08d2a"} experiment-1 | {"level":"info","message":"DELETE /experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5 204 117ms","method":"DELETE","requestID":"1728991a2de66d8fe362b882faf08d2a","responseTime":117,"status":204,"url":"/experiments/8066f5e0-1433-4b93-bc40-658fb359cfa5"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1867","request_time":"0.547","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"e785d59c1b228283ffef379db9f77528"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1866","request_time":"0.537","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"4a3dd35b3aacf71d3157dac21adb0e1b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 94ms","method":"POST","requestID":"566878f30b1e6147a39201e5a23ff346","responseTime":94,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.096","http_referrer":"","http_user_agent":"node-fetch","requestID":"566878f30b1e6147a39201e5a23ff346"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 92ms","method":"POST","requestID":"6b04860a6a5f41ea09b3e62fc0e61b73","responseTime":92,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.097","http_referrer":"","http_user_agent":"node-fetch","requestID":"6b04860a6a5f41ea09b3e62fc0e61b73"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4","level":"info","message":"auth send jwt","requestID":"3b52b4ebd0d0ce10680a5f353362b55a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3b52b4ebd0d0ce10680a5f353362b55a","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"3b52b4ebd0d0ce10680a5f353362b55a"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/dae13311-6239-41a1-819d-5a47c5f67b7f' closed"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":259,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":259,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.782025,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3b52b4ebd0d0ce10680a5f353362b55a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3b52b4ebd0d0ce10680a5f353362b55a","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/477965a2-ba62-4967-b9b9-c8314b31934e' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57f883b2-ae24-4cb1-b2e8-7a4cbdb544ba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"2502c6ae-9b18-40b8-8ac5-2357fa49c632","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.042278} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3b52b4ebd0d0ce10680a5f353362b55a","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4c89dfa6-e47c-4c0b-a15c-517e570cd180","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.048462} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"3b52b4ebd0d0ce10680a5f353362b55a","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57f883b2-ae24-4cb1-b2e8-7a4cbdb544ba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"38b44238-92f9-4820-954f-2546d1698038","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.0595567} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"379fdf1f-d1e4-4cbc-bc4d-6e94da24328b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.0598388} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"3b52b4ebd0d0ce10680a5f353362b55a","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57f883b2-ae24-4cb1-b2e8-7a4cbdb544ba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57f883b2-ae24-4cb1-b2e8-7a4cbdb544ba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.059542052Z"}]},"request_id":"276e660c-15a4-456a-bd13-df10025d581e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.0646877} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3b52b4ebd0d0ce10680a5f353362b55a","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"3b52b4ebd0d0ce10680a5f353362b55a"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.058","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3b52b4ebd0d0ce10680a5f353362b55a"} device-1 | {"level":"info","message":"POST /devices? 201 50ms","method":"POST","requestID":"3b52b4ebd0d0ce10680a5f353362b55a","responseTime":50,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4","level":"info","message":"auth send jwt","requestID":"d79bc7a8c1eca494910b46b0d59a331a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d79bc7a8c1eca494910b46b0d59a331a","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d79bc7a8c1eca494910b46b0d59a331a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":260,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":260,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.810708,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d79bc7a8c1eca494910b46b0d59a331a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d79bc7a8c1eca494910b46b0d59a331a","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34dd9583-7a5d-40f2-802a-3df30d83eafd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ddfdf951-7eaf-45a0-8c7c-c04c26f3ce9c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.0923574} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d79bc7a8c1eca494910b46b0d59a331a","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5da0c917-7a28-45f1-a458-6d61274feee7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.0984595} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"d79bc7a8c1eca494910b46b0d59a331a","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34dd9583-7a5d-40f2-802a-3df30d83eafd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"b4d6c7f0-c80a-42b2-940e-43823532bead","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.1131356} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0a53c807-829b-4a3d-963b-54597dd1ef75","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.1132782} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"d79bc7a8c1eca494910b46b0d59a331a","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34dd9583-7a5d-40f2-802a-3df30d83eafd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F34dd9583-7a5d-40f2-802a-3df30d83eafd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.113116720Z"}]},"request_id":"b58c1a51-6343-41e8-a63d-8f96f9cf144c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.1184406} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d79bc7a8c1eca494910b46b0d59a331a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d79bc7a8c1eca494910b46b0d59a331a"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d79bc7a8c1eca494910b46b0d59a331a"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"d79bc7a8c1eca494910b46b0d59a331a","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4","level":"info","message":"auth send jwt","requestID":"4e39cc06cc27807b01200a45b98ee378"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4e39cc06cc27807b01200a45b98ee378","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"4e39cc06cc27807b01200a45b98ee378"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":261,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":261,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.831747,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4e39cc06cc27807b01200a45b98ee378","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4e39cc06cc27807b01200a45b98ee378","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8ef3b241-e1d5-4499-899d-1ac875e648b6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"102b51ed-d90a-4a82-9e33-bc5c38760d9b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.144504} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4e39cc06cc27807b01200a45b98ee378","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fd6e0c47-af28-4fb6-9150-adc66da326eb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.1489131} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"4e39cc06cc27807b01200a45b98ee378","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8ef3b241-e1d5-4499-899d-1ac875e648b6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"672548ec-1833-4303-82b0-b9bc20775c7d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.160926} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1c132f0e-5e09-41ba-86e6-53a4c7a88025","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.1610284} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"4e39cc06cc27807b01200a45b98ee378","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8ef3b241-e1d5-4499-899d-1ac875e648b6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8ef3b241-e1d5-4499-899d-1ac875e648b6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.160908317Z"}]},"request_id":"7b5886f0-d2a1-4749-af65-2f3e0980cd78","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.1661167} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4e39cc06cc27807b01200a45b98ee378","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"4e39cc06cc27807b01200a45b98ee378"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"4e39cc06cc27807b01200a45b98ee378","responseTime":41,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.046","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4e39cc06cc27807b01200a45b98ee378"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4","level":"info","message":"auth send jwt","requestID":"e5c235b2b892ef8d80b8e4c981a31371"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e5c235b2b892ef8d80b8e4c981a31371","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e5c235b2b892ef8d80b8e4c981a31371"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":262,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":262,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.399268,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e5c235b2b892ef8d80b8e4c981a31371","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e5c235b2b892ef8d80b8e4c981a31371","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feb7d3031-8ac1-44cf-a380-a2c3f101dee7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"380ccb52-f372-4b9c-878b-386eceb680b0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.1911993} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e5c235b2b892ef8d80b8e4c981a31371","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ae93e57b-048c-448c-8d9b-94a5fcfb5455","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.195616} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e5c235b2b892ef8d80b8e4c981a31371","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feb7d3031-8ac1-44cf-a380-a2c3f101dee7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"da4cfac6-2d01-4208-9e23-fe273a2842bd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.205158} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4fce45e3-9fa3-44d8-9be3-dc51e3455013","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.2052495} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"e5c235b2b892ef8d80b8e4c981a31371","responseTime":11,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feb7d3031-8ac1-44cf-a380-a2c3f101dee7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feb7d3031-8ac1-44cf-a380-a2c3f101dee7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.205139238Z"}]},"request_id":"71c19774-5e5b-487f-a703-f9d43eb23e12","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.209366} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e5c235b2b892ef8d80b8e4c981a31371","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e5c235b2b892ef8d80b8e4c981a31371"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.042","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e5c235b2b892ef8d80b8e4c981a31371"} device-1 | {"level":"info","message":"POST /devices? 201 36ms","method":"POST","requestID":"e5c235b2b892ef8d80b8e4c981a31371","responseTime":36,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4","level":"info","message":"auth send jwt","requestID":"f30420c4e91fbbe31f63ba4c144b8279"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f30420c4e91fbbe31f63ba4c144b8279","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"f30420c4e91fbbe31f63ba4c144b8279"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":263,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":263,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.651474,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f30420c4e91fbbe31f63ba4c144b8279","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f30420c4e91fbbe31f63ba4c144b8279","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1d2e4183-1c4b-4418-8baa-c4d6926a005b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"9aec084e-f305-4b8a-aec9-4006fb4b102b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.2379277} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f30420c4e91fbbe31f63ba4c144b8279","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c2a4d615-4cae-4b81-bb26-489e0842606c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.2436059} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"f30420c4e91fbbe31f63ba4c144b8279","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1d2e4183-1c4b-4418-8baa-c4d6926a005b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"3f1b5bde-1017-4a8c-afa0-4513034fb661","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.254817} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"14ca8bab-14e9-4c59-b853-124bf9495f04","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.2550924} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"f30420c4e91fbbe31f63ba4c144b8279","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1d2e4183-1c4b-4418-8baa-c4d6926a005b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1d2e4183-1c4b-4418-8baa-c4d6926a005b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.254798973Z"}]},"request_id":"d34921e5-da34-450f-8c70-1b4aff1002e9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.2594836} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f30420c4e91fbbe31f63ba4c144b8279","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"f30420c4e91fbbe31f63ba4c144b8279"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f30420c4e91fbbe31f63ba4c144b8279"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"f30420c4e91fbbe31f63ba4c144b8279","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4","level":"info","message":"auth send jwt","requestID":"18722f60b4623869281a2afd4480809e"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"18722f60b4623869281a2afd4480809e","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"18722f60b4623869281a2afd4480809e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":264,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":264,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.848646,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"18722f60b4623869281a2afd4480809e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"18722f60b4623869281a2afd4480809e","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F83d99f43-fe80-4f8a-902a-a5d2b598b411","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"663aef6b-9c6a-451a-82a1-18791a66da30","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.293331} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"18722f60b4623869281a2afd4480809e","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ef4d4560-bc34-41ca-bd46-344963396961","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.301295} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"18722f60b4623869281a2afd4480809e","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F83d99f43-fe80-4f8a-902a-a5d2b598b411","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"f0abe975-a17a-4fac-b24d-7a2a7ed5fde3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.3131018} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fb36b25d-1b6a-48f3-a9de-2d2a9b01eb96","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.313619} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"18722f60b4623869281a2afd4480809e","responseTime":15,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F83d99f43-fe80-4f8a-902a-a5d2b598b411","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F83d99f43-fe80-4f8a-902a-a5d2b598b411","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.313078587Z"}]},"request_id":"2715c2a3-4a52-42ca-a0c4-d2ca8af718f4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.3200865} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"18722f60b4623869281a2afd4480809e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"18722f60b4623869281a2afd4480809e"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.060","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"18722f60b4623869281a2afd4480809e"} device-1 | {"level":"info","message":"POST /devices? 201 53ms","method":"POST","requestID":"18722f60b4623869281a2afd4480809e","responseTime":53,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4","level":"info","message":"auth send jwt","requestID":"b8c197a6560b3fd9dbb10c138c024e56"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b8c197a6560b3fd9dbb10c138c024e56","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"b8c197a6560b3fd9dbb10c138c024e56"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":265,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":265,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.258639,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b8c197a6560b3fd9dbb10c138c024e56","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b8c197a6560b3fd9dbb10c138c024e56","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5c43d5b-ea5e-456d-9aa9-a71101917c6e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"83f69883-8c16-41f6-b298-a9404102f484","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.360452} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"b8c197a6560b3fd9dbb10c138c024e56","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9461d699-f7e9-49cb-87cb-8920c54e56df","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.3680918} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"b8c197a6560b3fd9dbb10c138c024e56","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5c43d5b-ea5e-456d-9aa9-a71101917c6e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"243cd8aa-b964-4ca4-928e-279cce07a6ba","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.3822134} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"56fcad55-d4ea-4992-bbc8-9576de97acdf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.38249} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"b8c197a6560b3fd9dbb10c138c024e56","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5c43d5b-ea5e-456d-9aa9-a71101917c6e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5c43d5b-ea5e-456d-9aa9-a71101917c6e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.382185723Z"}]},"request_id":"a5b105b3-72f1-46ce-ba2a-4d9eec8f89fc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.391739} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b8c197a6560b3fd9dbb10c138c024e56","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b8c197a6560b3fd9dbb10c138c024e56"} device-1 | {"level":"info","message":"POST /devices? 201 63ms","method":"POST","requestID":"b8c197a6560b3fd9dbb10c138c024e56","responseTime":63,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.069","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b8c197a6560b3fd9dbb10c138c024e56"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4","level":"info","message":"auth send jwt","requestID":"feb72e002929b62d7c045ef0131e74c4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"feb72e002929b62d7c045ef0131e74c4","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"feb72e002929b62d7c045ef0131e74c4"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":266,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":266,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.256692,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"feb72e002929b62d7c045ef0131e74c4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"feb72e002929b62d7c045ef0131e74c4","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F13d67cf0-074f-4f34-95ac-5cd12c34f46c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"9ea0c6bb-163f-4bca-8f20-40234ff92fb1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.4250958} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"feb72e002929b62d7c045ef0131e74c4","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9527c467-b69f-453a-b55f-fdc13c0cbfdc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.432616} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"feb72e002929b62d7c045ef0131e74c4","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F13d67cf0-074f-4f34-95ac-5cd12c34f46c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"5db44c07-f5bd-4fff-a20d-46616647cc6f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.444313} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f3ca1141-2e0e-46e1-a1bc-a7e8e2b38036","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.4447188} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"feb72e002929b62d7c045ef0131e74c4","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F13d67cf0-074f-4f34-95ac-5cd12c34f46c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F13d67cf0-074f-4f34-95ac-5cd12c34f46c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.444289346Z"}]},"request_id":"777671ab-031a-49f3-851f-e79a3a513279","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.4514384} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"feb72e002929b62d7c045ef0131e74c4","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"feb72e002929b62d7c045ef0131e74c4"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.058","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"feb72e002929b62d7c045ef0131e74c4"} device-1 | {"level":"info","message":"POST /devices? 201 51ms","method":"POST","requestID":"feb72e002929b62d7c045ef0131e74c4","responseTime":51,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4","level":"info","message":"auth send jwt","requestID":"c01b2c099d78e2fd5c309af75ba40118"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c01b2c099d78e2fd5c309af75ba40118","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"c01b2c099d78e2fd5c309af75ba40118"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":267,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":267,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.257706,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c01b2c099d78e2fd5c309af75ba40118","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"c01b2c099d78e2fd5c309af75ba40118","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe70f87a4-b54a-41fa-9fa4-c230a69edfb5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"576f7835-24c1-423a-9c0b-61cff8f7ec69","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.490417} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"c01b2c099d78e2fd5c309af75ba40118","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"35e0a10d-6a07-4d9c-bfbd-2e199a6166c0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.4977906} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"c01b2c099d78e2fd5c309af75ba40118","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe70f87a4-b54a-41fa-9fa4-c230a69edfb5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"5f3e7693-3cdb-46f0-b0ca-6a2fcf3a11e6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.5114436} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2c65f562-8582-4adf-97f1-d4863672b4ad","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.5117269} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"c01b2c099d78e2fd5c309af75ba40118","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe70f87a4-b54a-41fa-9fa4-c230a69edfb5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe70f87a4-b54a-41fa-9fa4-c230a69edfb5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.511420077Z"}]},"request_id":"283513ad-2824-4778-995d-3222cbf4aaa9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.518984} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c01b2c099d78e2fd5c309af75ba40118","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c01b2c099d78e2fd5c309af75ba40118"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.065","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c01b2c099d78e2fd5c309af75ba40118"} device-1 | {"level":"info","message":"POST /devices? 201 59ms","method":"POST","requestID":"c01b2c099d78e2fd5c309af75ba40118","responseTime":59,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4","level":"info","message":"auth send jwt","requestID":"536bd45ac2912ffd747cac1efa745f98"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"536bd45ac2912ffd747cac1efa745f98","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"536bd45ac2912ffd747cac1efa745f98"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":268,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":268,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.269257,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"536bd45ac2912ffd747cac1efa745f98","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"536bd45ac2912ffd747cac1efa745f98","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57d0a6fc-4eb1-42be-af1f-00c8ff6ca13a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"55deb6f1-19f7-4345-bf1d-94c9246217a9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.5534358} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"536bd45ac2912ffd747cac1efa745f98","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"617cbbd5-0ed1-4eed-8313-722539e56c6a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.5607977} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"536bd45ac2912ffd747cac1efa745f98","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57d0a6fc-4eb1-42be-af1f-00c8ff6ca13a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"67ce525d-a387-4a9d-97d9-db7b70abf71e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.5729458} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"304b249a-7c27-4ed3-af42-4aafa6992c17","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.573446} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"536bd45ac2912ffd747cac1efa745f98","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57d0a6fc-4eb1-42be-af1f-00c8ff6ca13a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57d0a6fc-4eb1-42be-af1f-00c8ff6ca13a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.572912765Z"}]},"request_id":"9a9bdc1b-da49-442b-a042-8e10b385d17e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.5797415} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"536bd45ac2912ffd747cac1efa745f98","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"536bd45ac2912ffd747cac1efa745f98"} device-1 | {"level":"info","message":"POST /devices? 201 53ms","method":"POST","requestID":"536bd45ac2912ffd747cac1efa745f98","responseTime":53,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"278","request_time":"0.059","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"536bd45ac2912ffd747cac1efa745f98"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4","level":"info","message":"auth send jwt","requestID":"32f143bfb4be2fdb880526e5aea30444"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"32f143bfb4be2fdb880526e5aea30444","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"32f143bfb4be2fdb880526e5aea30444"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":269,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":269,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.179541,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"32f143bfb4be2fdb880526e5aea30444","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"32f143bfb4be2fdb880526e5aea30444","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04b770d4-7f41-4931-b3a3-4bf08f4459c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"a8f5d210-4949-4779-a207-796f5249df91","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.621223} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"32f143bfb4be2fdb880526e5aea30444","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c9f0efe7-86fa-4e7b-9899-e5f5a239839f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.628711} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"32f143bfb4be2fdb880526e5aea30444","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04b770d4-7f41-4931-b3a3-4bf08f4459c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"257ba100-b780-4b05-aed6-8c5fecc88bc8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.6416311} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1996184b-190b-4c77-ae80-b5dadcf5c781","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.6431491} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"32f143bfb4be2fdb880526e5aea30444","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04b770d4-7f41-4931-b3a3-4bf08f4459c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04b770d4-7f41-4931-b3a3-4bf08f4459c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.641606148Z"}]},"request_id":"07d24a89-8aaf-4fc2-af40-baa2770b8c82","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.650274} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"32f143bfb4be2fdb880526e5aea30444","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"32f143bfb4be2fdb880526e5aea30444"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"1069","request_time":"0.068","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"32f143bfb4be2fdb880526e5aea30444"} device-1 | {"level":"info","message":"POST /devices? 201 61ms","method":"POST","requestID":"32f143bfb4be2fdb880526e5aea30444","responseTime":61,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4","level":"info","message":"auth send jwt","requestID":"269b89f1bc94f91d7b1a4540e1d6281d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"269b89f1bc94f91d7b1a4540e1d6281d","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"269b89f1bc94f91d7b1a4540e1d6281d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":270,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":270,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.177054,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"269b89f1bc94f91d7b1a4540e1d6281d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"269b89f1bc94f91d7b1a4540e1d6281d","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86efea3a-17c2-443a-9780-f106c7508bc6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"0d56c711-19a7-4c09-a1db-401fba5e3c9d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.6879685} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"269b89f1bc94f91d7b1a4540e1d6281d","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8e594185-3702-4461-90be-fabd8b73e490","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.6955233} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"269b89f1bc94f91d7b1a4540e1d6281d","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86efea3a-17c2-443a-9780-f106c7508bc6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"7ee956e0-0ac6-4c1c-948e-834af3213727","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.7075233} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"77632ad3-7fb5-4835-8412-558dbea6f19e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.7080863} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"269b89f1bc94f91d7b1a4540e1d6281d","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86efea3a-17c2-443a-9780-f106c7508bc6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86efea3a-17c2-443a-9780-f106c7508bc6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.707496774Z"}]},"request_id":"650e8125-e435-406f-9807-e7fb076e712d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.7150126} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"269b89f1bc94f91d7b1a4540e1d6281d","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"269b89f1bc94f91d7b1a4540e1d6281d"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"1347","request_time":"0.061","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"269b89f1bc94f91d7b1a4540e1d6281d"} device-1 | {"level":"info","message":"POST /devices? 201 54ms","method":"POST","requestID":"269b89f1bc94f91d7b1a4540e1d6281d","responseTime":54,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4","level":"info","message":"auth send jwt","requestID":"dca0cc1df470091cf8f73e8d95120fc0"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"dca0cc1df470091cf8f73e8d95120fc0","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"dca0cc1df470091cf8f73e8d95120fc0"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":271,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":271,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.249533,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"dca0cc1df470091cf8f73e8d95120fc0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"dca0cc1df470091cf8f73e8d95120fc0","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf69014-57aa-4b75-9418-30565b6f25a9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ab0a8df1-a6e2-4ef6-af60-571e93ab7f97","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.7502065} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"dca0cc1df470091cf8f73e8d95120fc0","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d6b3b637-5e61-4e1f-9882-4e6680d5662c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.7580032} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"dca0cc1df470091cf8f73e8d95120fc0","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf69014-57aa-4b75-9418-30565b6f25a9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"abca994b-7932-45d2-8932-4c839112a535","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.776438} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"758d17d1-4e70-4c61-82af-6d06f79a730f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.776891} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"dca0cc1df470091cf8f73e8d95120fc0","responseTime":22,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf69014-57aa-4b75-9418-30565b6f25a9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf69014-57aa-4b75-9418-30565b6f25a9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.776404076Z"}]},"request_id":"66bf6fbb-0f4e-48fe-b8eb-1fe6c6db4130","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.7838397} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"dca0cc1df470091cf8f73e8d95120fc0","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"dca0cc1df470091cf8f73e8d95120fc0"} device-1 | {"level":"info","message":"POST /devices? 201 59ms","method":"POST","requestID":"dca0cc1df470091cf8f73e8d95120fc0","responseTime":59,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"1070","request_time":"0.066","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dca0cc1df470091cf8f73e8d95120fc0"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4","level":"info","message":"auth send jwt","requestID":"b0e2f287779a19d842eae89bd52dba68"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"b0e2f287779a19d842eae89bd52dba68","responseTime":8,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"b0e2f287779a19d842eae89bd52dba68"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":272,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":272,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.94065,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/04b770d4-7f41-4931-b3a3-4bf08f4459c2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b0e2f287779a19d842eae89bd52dba68","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/04b770d4-7f41-4931-b3a3-4bf08f4459c2","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"b0e2f287779a19d842eae89bd52dba68","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04b770d4-7f41-4931-b3a3-4bf08f4459c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04b770d4-7f41-4931-b3a3-4bf08f4459c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.641606148Z"}]},"request_id":"da2de90c-43b6-4860-b6a6-8cbb6cad1696","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.82931} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"b0e2f287779a19d842eae89bd52dba68","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6bfabf07-9379-4718-be78-1d8fa4b7bd82","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.841975} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"b0e2f287779a19d842eae89bd52dba68","responseTime":8,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04b770d4-7f41-4931-b3a3-4bf08f4459c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04b770d4-7f41-4931-b3a3-4bf08f4459c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.641606148Z"}]},"request_id":"43894569-bb0e-4e58-a323-3d42fec257e4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.849633} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b0e2f287779a19d842eae89bd52dba68","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"b0e2f287779a19d842eae89bd52dba68"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/04b770d4-7f41-4931-b3a3-4bf08f4459c2? HTTP/1.1","status": "200","body_bytes_sent":"1141","request_time":"0.057","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b0e2f287779a19d842eae89bd52dba68"} device-1 | {"level":"info","message":"PATCH /devices/04b770d4-7f41-4931-b3a3-4bf08f4459c2? 200 47ms","method":"PATCH","requestID":"b0e2f287779a19d842eae89bd52dba68","responseTime":47,"status":200,"url":"/devices/04b770d4-7f41-4931-b3a3-4bf08f4459c2?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4","level":"info","message":"auth send jwt","requestID":"f49918699a34f3722f2e4feff20a64ed"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f49918699a34f3722f2e4feff20a64ed","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"f49918699a34f3722f2e4feff20a64ed"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":273,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":273,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.04833,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/86efea3a-17c2-443a-9780-f106c7508bc6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f49918699a34f3722f2e4feff20a64ed","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/86efea3a-17c2-443a-9780-f106c7508bc6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f49918699a34f3722f2e4feff20a64ed","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86efea3a-17c2-443a-9780-f106c7508bc6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86efea3a-17c2-443a-9780-f106c7508bc6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.707496774Z"}]},"request_id":"7166f698-4a4f-4ce3-80a8-82cafe361e9e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.876782} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f49918699a34f3722f2e4feff20a64ed","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"30441af6-4211-44b4-a504-718b0d20d486","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.8865297} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"f49918699a34f3722f2e4feff20a64ed","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86efea3a-17c2-443a-9780-f106c7508bc6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86efea3a-17c2-443a-9780-f106c7508bc6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.707496774Z"}]},"request_id":"0e1ac778-0552-4209-8150-59449e120962","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.8984497} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f49918699a34f3722f2e4feff20a64ed","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"f49918699a34f3722f2e4feff20a64ed"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/86efea3a-17c2-443a-9780-f106c7508bc6? HTTP/1.1","status": "200","body_bytes_sent":"1491","request_time":"0.046","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f49918699a34f3722f2e4feff20a64ed"} device-1 | {"level":"info","message":"PATCH /devices/86efea3a-17c2-443a-9780-f106c7508bc6? 200 40ms","method":"PATCH","requestID":"f49918699a34f3722f2e4feff20a64ed","responseTime":40,"status":200,"url":"/devices/86efea3a-17c2-443a-9780-f106c7508bc6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4","level":"info","message":"auth send jwt","requestID":"7faa3c3ab8d7f9c95e5c8a9803b8a9c1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7faa3c3ab8d7f9c95e5c8a9803b8a9c1","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"7faa3c3ab8d7f9c95e5c8a9803b8a9c1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":274,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":274,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.242448,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8cf69014-57aa-4b75-9418-30565b6f25a9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7faa3c3ab8d7f9c95e5c8a9803b8a9c1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8cf69014-57aa-4b75-9418-30565b6f25a9","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7faa3c3ab8d7f9c95e5c8a9803b8a9c1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf69014-57aa-4b75-9418-30565b6f25a9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf69014-57aa-4b75-9418-30565b6f25a9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.776404076Z"}]},"request_id":"0d0be7ba-6824-420b-aa13-e632acef33d8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.921699} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7faa3c3ab8d7f9c95e5c8a9803b8a9c1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"761da329-da2a-4284-8888-9fd4ff15734b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.926987} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"7faa3c3ab8d7f9c95e5c8a9803b8a9c1","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf69014-57aa-4b75-9418-30565b6f25a9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf69014-57aa-4b75-9418-30565b6f25a9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.776404076Z"}]},"request_id":"68d06274-c031-4f65-9eb2-fc2deba2fadf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.9383695} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"7faa3c3ab8d7f9c95e5c8a9803b8a9c1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"7faa3c3ab8d7f9c95e5c8a9803b8a9c1"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/8cf69014-57aa-4b75-9418-30565b6f25a9? HTTP/1.1","status": "200","body_bytes_sent":"1142","request_time":"0.038","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7faa3c3ab8d7f9c95e5c8a9803b8a9c1"} device-1 | {"level":"info","message":"PATCH /devices/8cf69014-57aa-4b75-9418-30565b6f25a9? 200 33ms","method":"PATCH","requestID":"7faa3c3ab8d7f9c95e5c8a9803b8a9c1","responseTime":33,"status":200,"url":"/devices/8cf69014-57aa-4b75-9418-30565b6f25a9?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4","level":"info","message":"auth send jwt","requestID":"deb35260fd65a4a42abc40f605541657"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"deb35260fd65a4a42abc40f605541657","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"deb35260fd65a4a42abc40f605541657"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":275,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":275,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.128017,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/04b770d4-7f41-4931-b3a3-4bf08f4459c2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"deb35260fd65a4a42abc40f605541657","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/04b770d4-7f41-4931-b3a3-4bf08f4459c2","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"deb35260fd65a4a42abc40f605541657","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04b770d4-7f41-4931-b3a3-4bf08f4459c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F04b770d4-7f41-4931-b3a3-4bf08f4459c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.641606148Z"}]},"request_id":"4bb91b07-e699-463c-83b9-24c3401c25fa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676534.9625752} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"deb35260fd65a4a42abc40f605541657","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":276,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":276,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.209556,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":277,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":277,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.668868,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:36362","level":"info","msg":"Received request.","req_id":278,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:36362","level":"info","msg":"Sent response.","req_id":278,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.931123,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/57f883b2-ae24-4cb1-b2e8-7a4cbdb544ba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"deb35260fd65a4a42abc40f605541657","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/57f883b2-ae24-4cb1-b2e8-7a4cbdb544ba","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"deb35260fd65a4a42abc40f605541657","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/34dd9583-7a5d-40f2-802a-3df30d83eafd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"deb35260fd65a4a42abc40f605541657","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/34dd9583-7a5d-40f2-802a-3df30d83eafd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"deb35260fd65a4a42abc40f605541657","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8ef3b241-e1d5-4499-899d-1ac875e648b6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"deb35260fd65a4a42abc40f605541657","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8ef3b241-e1d5-4499-899d-1ac875e648b6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"deb35260fd65a4a42abc40f605541657","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:36376","level":"info","msg":"Received request.","req_id":279,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"client_addr":"127.0.0.1:36376","level":"info","msg":"Sent response.","req_id":279,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.397225,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:14Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/86efea3a-17c2-443a-9780-f106c7508bc6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"deb35260fd65a4a42abc40f605541657","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/86efea3a-17c2-443a-9780-f106c7508bc6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676534,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNH0.gN11GJfeUWTgp7tFC6XaR9eNkIX2Ymk49hnFbg1xxJ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 15ms","method":"POST","requestID":"deb35260fd65a4a42abc40f605541657","responseTime":15,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"deb35260fd65a4a42abc40f605541657"} gateway-1 | {"time_local":"18/Sep/2024:16:22:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/04b770d4-7f41-4931-b3a3-4bf08f4459c2? HTTP/1.1","status": "200","body_bytes_sent":"1141","request_time":"0.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"deb35260fd65a4a42abc40f605541657"} device-1 | {"level":"info","message":"GET /devices/04b770d4-7f41-4931-b3a3-4bf08f4459c2? 200 44ms","method":"GET","requestID":"deb35260fd65a4a42abc40f605541657","responseTime":44,"status":200,"url":"/devices/04b770d4-7f41-4931-b3a3-4bf08f4459c2?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k","level":"info","message":"auth send jwt","requestID":"76774be5456c84fa55a77d746a480bb6"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"76774be5456c84fa55a77d746a480bb6","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"76774be5456c84fa55a77d746a480bb6"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":280,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":280,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.537084,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/86efea3a-17c2-443a-9780-f106c7508bc6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"76774be5456c84fa55a77d746a480bb6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/86efea3a-17c2-443a-9780-f106c7508bc6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676535,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"76774be5456c84fa55a77d746a480bb6","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86efea3a-17c2-443a-9780-f106c7508bc6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86efea3a-17c2-443a-9780-f106c7508bc6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.707496774Z"}]},"request_id":"002c4348-96fb-4ea2-a574-fcff460f611e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676535.0161715} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"76774be5456c84fa55a77d746a480bb6","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":281,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":281,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.409476,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":282,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":282,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.965841,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:36362","level":"info","msg":"Received request.","req_id":283,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:36362","level":"info","msg":"Sent response.","req_id":283,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.063083,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:36376","level":"info","msg":"Received request.","req_id":284,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/eb7d3031-8ac1-44cf-a380-a2c3f101dee7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"76774be5456c84fa55a77d746a480bb6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/eb7d3031-8ac1-44cf-a380-a2c3f101dee7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676535,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"76774be5456c84fa55a77d746a480bb6","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1d2e4183-1c4b-4418-8baa-c4d6926a005b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"76774be5456c84fa55a77d746a480bb6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1d2e4183-1c4b-4418-8baa-c4d6926a005b","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676535,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"76774be5456c84fa55a77d746a480bb6","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/83d99f43-fe80-4f8a-902a-a5d2b598b411","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"76774be5456c84fa55a77d746a480bb6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/83d99f43-fe80-4f8a-902a-a5d2b598b411","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676535,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"76774be5456c84fa55a77d746a480bb6","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:36376","level":"info","msg":"Sent response.","req_id":284,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.916587,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f5c43d5b-ea5e-456d-9aa9-a71101917c6e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"76774be5456c84fa55a77d746a480bb6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f5c43d5b-ea5e-456d-9aa9-a71101917c6e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676535,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"76774be5456c84fa55a77d746a480bb6","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":285,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:36386","level":"info","msg":"Received request.","req_id":286,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":285,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.115143,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8cf69014-57aa-4b75-9418-30565b6f25a9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"76774be5456c84fa55a77d746a480bb6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8cf69014-57aa-4b75-9418-30565b6f25a9","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676535,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"76774be5456c84fa55a77d746a480bb6","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:36386","level":"info","msg":"Sent response.","req_id":286,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.682937,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/04b770d4-7f41-4931-b3a3-4bf08f4459c2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"76774be5456c84fa55a77d746a480bb6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/04b770d4-7f41-4931-b3a3-4bf08f4459c2","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676535,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"76774be5456c84fa55a77d746a480bb6","responseTime":12,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"76774be5456c84fa55a77d746a480bb6"} gateway-1 | {"time_local":"18/Sep/2024:16:22:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/86efea3a-17c2-443a-9780-f106c7508bc6? HTTP/1.1","status": "200","body_bytes_sent":"1491","request_time":"0.060","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"76774be5456c84fa55a77d746a480bb6"} device-1 | {"level":"info","message":"GET /devices/86efea3a-17c2-443a-9780-f106c7508bc6? 200 54ms","method":"GET","requestID":"76774be5456c84fa55a77d746a480bb6","responseTime":54,"status":200,"url":"/devices/86efea3a-17c2-443a-9780-f106c7508bc6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k","level":"info","message":"auth send jwt","requestID":"ddc3b097ae511998df6a59eec5c8035c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ddc3b097ae511998df6a59eec5c8035c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ddc3b097ae511998df6a59eec5c8035c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":287,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":287,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.169502,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8cf69014-57aa-4b75-9418-30565b6f25a9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ddc3b097ae511998df6a59eec5c8035c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8cf69014-57aa-4b75-9418-30565b6f25a9","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676535,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ddc3b097ae511998df6a59eec5c8035c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf69014-57aa-4b75-9418-30565b6f25a9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf69014-57aa-4b75-9418-30565b6f25a9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:14.776404076Z"}]},"request_id":"e15fbcc9-c757-4c9b-9bf7-5130ee761683","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676535.0774875} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"ddc3b097ae511998df6a59eec5c8035c","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":288,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":288,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.148128,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":289,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":289,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.980328,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:36362","level":"info","msg":"Received request.","req_id":290,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:36362","level":"info","msg":"Sent response.","req_id":290,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.916032,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:36376","level":"info","msg":"Received request.","req_id":291,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/13d67cf0-074f-4f34-95ac-5cd12c34f46c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ddc3b097ae511998df6a59eec5c8035c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/13d67cf0-074f-4f34-95ac-5cd12c34f46c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676535,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"ddc3b097ae511998df6a59eec5c8035c","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e70f87a4-b54a-41fa-9fa4-c230a69edfb5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ddc3b097ae511998df6a59eec5c8035c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e70f87a4-b54a-41fa-9fa4-c230a69edfb5","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676535,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"ddc3b097ae511998df6a59eec5c8035c","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/57d0a6fc-4eb1-42be-af1f-00c8ff6ca13a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ddc3b097ae511998df6a59eec5c8035c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/57d0a6fc-4eb1-42be-af1f-00c8ff6ca13a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676535,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"ddc3b097ae511998df6a59eec5c8035c","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:36376","level":"info","msg":"Sent response.","req_id":291,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.532865,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/04b770d4-7f41-4931-b3a3-4bf08f4459c2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ddc3b097ae511998df6a59eec5c8035c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/04b770d4-7f41-4931-b3a3-4bf08f4459c2","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676535,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"ddc3b097ae511998df6a59eec5c8035c","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ddc3b097ae511998df6a59eec5c8035c"} gateway-1 | {"time_local":"18/Sep/2024:16:22:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8cf69014-57aa-4b75-9418-30565b6f25a9? HTTP/1.1","status": "200","body_bytes_sent":"1142","request_time":"0.046","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ddc3b097ae511998df6a59eec5c8035c"} device-1 | {"level":"info","message":"GET /devices/8cf69014-57aa-4b75-9418-30565b6f25a9? 200 41ms","method":"GET","requestID":"ddc3b097ae511998df6a59eec5c8035c","responseTime":41,"status":200,"url":"/devices/8cf69014-57aa-4b75-9418-30565b6f25a9?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k","level":"info","message":"auth send jwt","requestID":"04c0aa2ee212e90d26155821da46862f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"04c0aa2ee212e90d26155821da46862f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"04c0aa2ee212e90d26155821da46862f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":292,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":292,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.288099,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"04c0aa2ee212e90d26155821da46862f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676535,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"04c0aa2ee212e90d26155821da46862f","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"6ead48ee-12c2-487f-a404-f34a3cce34ea","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676535.1404977} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"04c0aa2ee212e90d26155821da46862f","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"79abae91-9717-486a-8806-a5242a8d6ba1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676535.1482368} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"04c0aa2ee212e90d26155821da46862f","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"7d0e1a0b-3eb0-486a-a4df-8832e248884e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676535.1627111} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ca341499-4a84-4893-85a2-bf4e3de6d69c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676535.163226} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"04c0aa2ee212e90d26155821da46862f","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:15.162675555Z"}]},"request_id":"3c236d96-ea59-466f-811f-522209eca5d7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676535.1696703} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"04c0aa2ee212e90d26155821da46862f","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"04c0aa2ee212e90d26155821da46862f"} gateway-1 | {"time_local":"18/Sep/2024:16:22:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"284","request_time":"0.064","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"04c0aa2ee212e90d26155821da46862f"} device-1 | {"level":"info","message":"POST /devices? 201 58ms","method":"POST","requestID":"04c0aa2ee212e90d26155821da46862f","responseTime":58,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k","level":"info","message":"auth send jwt","requestID":"4649ccc3cc7199b5dbd58f7121dcd63d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"4649ccc3cc7199b5dbd58f7121dcd63d","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"4649ccc3cc7199b5dbd58f7121dcd63d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":293,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":293,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.324237,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4649ccc3cc7199b5dbd58f7121dcd63d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676535,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4649ccc3cc7199b5dbd58f7121dcd63d","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa87721bb-594f-4df6-b6cb-c01e36dd9065","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f39c9830-75ca-431f-a28c-d5db506444db","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676535.2060158} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4649ccc3cc7199b5dbd58f7121dcd63d","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6e904995-af08-47b8-86f9-a50c5359ef63","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676535.2139359} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"4649ccc3cc7199b5dbd58f7121dcd63d","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa87721bb-594f-4df6-b6cb-c01e36dd9065","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"51ff1c0c-8ed7-4313-b7e6-8eb83654c730","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676535.2254274} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"08ab7ef7-3b77-46a0-b322-ed8f67d287a8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676535.2256508} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"4649ccc3cc7199b5dbd58f7121dcd63d","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa87721bb-594f-4df6-b6cb-c01e36dd9065","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa87721bb-594f-4df6-b6cb-c01e36dd9065","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:15.225390509Z"}]},"request_id":"da15a472-a48b-46dd-bdb0-ce3b78b02b1f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676535.2325523} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4649ccc3cc7199b5dbd58f7121dcd63d","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"4649ccc3cc7199b5dbd58f7121dcd63d"} gateway-1 | {"time_local":"18/Sep/2024:16:22:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"706","request_time":"0.061","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4649ccc3cc7199b5dbd58f7121dcd63d"} device-1 | {"level":"info","message":"POST /devices? 201 54ms","method":"POST","requestID":"4649ccc3cc7199b5dbd58f7121dcd63d","responseTime":54,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k","level":"info","message":"auth send jwt","requestID":"820a264eebb1cd80c92a96fe9de825b3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"820a264eebb1cd80c92a96fe9de825b3","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"820a264eebb1cd80c92a96fe9de825b3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":294,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":294,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.898777,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:15Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"820a264eebb1cd80c92a96fe9de825b3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676535,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzNX0.NnZ2BDLW4ONnmFFSfJGVDekBY_mvCa0rGsDqI8cd24k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"820a264eebb1cd80c92a96fe9de825b3","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ccce739c-fa73-4dc0-bfa4-56a9cd611213","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676535.2722895} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"820a264eebb1cd80c92a96fe9de825b3","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"63e05a81-2c65-4de4-8efc-f4b4c1c09b61","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676535.2794485} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"820a264eebb1cd80c92a96fe9de825b3","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"46f905fb-455f-456a-a2be-daad7fb47573","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676535.293143} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c3079017-fef0-4dbf-afb8-f2ef72dde8a5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676535.2935996} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"820a264eebb1cd80c92a96fe9de825b3","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:15.293116402Z"}]},"request_id":"cc5e90ef-ce6b-465e-8d93-82cfbe019c6c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676535.300592} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"820a264eebb1cd80c92a96fe9de825b3","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"820a264eebb1cd80c92a96fe9de825b3"} gateway-1 | {"time_local":"18/Sep/2024:16:22:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.066","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"820a264eebb1cd80c92a96fe9de825b3"} device-1 | {"level":"info","message":"POST /devices? 201 60ms","method":"POST","requestID":"820a264eebb1cd80c92a96fe9de825b3","responseTime":60,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"63f486d20f507ceb4ab9a976e9251cc9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"63f486d20f507ceb4ab9a976e9251cc9","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/74272fac-78a1-4efb-a038-9318039449b1/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.006","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"63f486d20f507ceb4ab9a976e9251cc9"} device-1 | {"level":"info","message":"OPTIONS /devices/74272fac-78a1-4efb-a038-9318039449b1/websocket 200 2ms","method":"OPTIONS","requestID":"63f486d20f507ceb4ab9a976e9251cc9","responseTime":2,"status":200,"url":"/devices/74272fac-78a1-4efb-a038-9318039449b1/websocket"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cf31586208925dac4c1472c4475d42f6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"cf31586208925dac4c1472c4475d42f6","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"OPTIONS /devices/4317a56c-7098-4be6-b15c-55162b9f9d0f/websocket 200 1ms","method":"OPTIONS","requestID":"cf31586208925dac4c1472c4475d42f6","responseTime":1,"status":200,"url":"/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/4317a56c-7098-4be6-b15c-55162b9f9d0f/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"cf31586208925dac4c1472c4475d42f6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE","level":"info","message":"auth send jwt","requestID":"05ded7fa234c59f9df7c54f1551ccf14"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"05ded7fa234c59f9df7c54f1551ccf14","responseTime":8,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"05ded7fa234c59f9df7c54f1551ccf14"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":295,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":295,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.330739,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE","level":"info","message":"auth send jwt","requestID":"54c6162f38491c7a3c6e18aab02498b6"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"05ded7fa234c59f9df7c54f1551ccf14","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676537,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"54c6162f38491c7a3c6e18aab02498b6","responseTime":5,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"05ded7fa234c59f9df7c54f1551ccf14","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"54c6162f38491c7a3c6e18aab02498b6"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":296,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":296,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.269343,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"54c6162f38491c7a3c6e18aab02498b6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676537,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"54c6162f38491c7a3c6e18aab02498b6","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"05ded7fa234c59f9df7c54f1551ccf14"} gateway-1 | {"time_local":"18/Sep/2024:16:22:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/74272fac-78a1-4efb-a038-9318039449b1/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.150","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"05ded7fa234c59f9df7c54f1551ccf14"} device-1 | {"level":"info","message":"POST /devices/74272fac-78a1-4efb-a038-9318039449b1/websocket 200 140ms","method":"POST","requestID":"05ded7fa234c59f9df7c54f1551ccf14","responseTime":140,"status":200,"url":"/devices/74272fac-78a1-4efb-a038-9318039449b1/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"54c6162f38491c7a3c6e18aab02498b6"} gateway-1 | {"time_local":"18/Sep/2024:16:22:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/4317a56c-7098-4be6-b15c-55162b9f9d0f/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.220","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"54c6162f38491c7a3c6e18aab02498b6"} device-1 | {"level":"info","message":"POST /devices/4317a56c-7098-4be6-b15c-55162b9f9d0f/websocket 200 211ms","method":"POST","requestID":"54c6162f38491c7a3c6e18aab02498b6","responseTime":211,"status":200,"url":"/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"89bb3356718461ac272ad58be1509238","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"89bb3356718461ac272ad58be1509238","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/74272fac-78a1-4efb-a038-9318039449b1? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"89bb3356718461ac272ad58be1509238"} device-1 | {"level":"info","message":"OPTIONS /devices/74272fac-78a1-4efb-a038-9318039449b1? 200 2ms","method":"OPTIONS","requestID":"89bb3356718461ac272ad58be1509238","responseTime":2,"status":200,"url":"/devices/74272fac-78a1-4efb-a038-9318039449b1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE","level":"info","message":"auth send jwt","requestID":"d2b9aaebc2bd0ac875b58024b81cb934"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"d2b9aaebc2bd0ac875b58024b81cb934","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"d2b9aaebc2bd0ac875b58024b81cb934"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":297,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":297,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.79188,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d2b9aaebc2bd0ac875b58024b81cb934","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676537,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d2b9aaebc2bd0ac875b58024b81cb934","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"device 'http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f' connected"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:15.293116402Z"}]},"request_id":"7991da2c-af4b-4149-a85b-413fb4d5ebc8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.6544363} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"d2b9aaebc2bd0ac875b58024b81cb934","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f710415f-907b-4414-b04c-c1597d9773d3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.6629455} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"d2b9aaebc2bd0ac875b58024b81cb934","responseTime":8,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"22b861f7cea7c0e0e0b9cc2938894ff6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"22b861f7cea7c0e0e0b9cc2938894ff6","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/4317a56c-7098-4be6-b15c-55162b9f9d0f? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"22b861f7cea7c0e0e0b9cc2938894ff6"} device-1 | {"level":"info","message":"OPTIONS /devices/4317a56c-7098-4be6-b15c-55162b9f9d0f? 200 1ms","method":"OPTIONS","requestID":"22b861f7cea7c0e0e0b9cc2938894ff6","responseTime":1,"status":200,"url":"/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:15.293116402Z"}]},"request_id":"43358b76-9fca-42c7-9301-5cec7152e31b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.6751041} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"d2b9aaebc2bd0ac875b58024b81cb934","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"d2b9aaebc2bd0ac875b58024b81cb934"} gateway-1 | {"time_local":"18/Sep/2024:16:22:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/74272fac-78a1-4efb-a038-9318039449b1? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.053","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d2b9aaebc2bd0ac875b58024b81cb934"} device-1 | {"level":"info","message":"PATCH /devices/74272fac-78a1-4efb-a038-9318039449b1? 200 46ms","method":"PATCH","requestID":"d2b9aaebc2bd0ac875b58024b81cb934","responseTime":46,"status":200,"url":"/devices/74272fac-78a1-4efb-a038-9318039449b1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE","level":"info","message":"auth send jwt","requestID":"741c1e5f8018aed06792b5788608f3ff"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"741c1e5f8018aed06792b5788608f3ff","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"741c1e5f8018aed06792b5788608f3ff"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":298,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":298,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.789537,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"741c1e5f8018aed06792b5788608f3ff","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676537,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"741c1e5f8018aed06792b5788608f3ff","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:15.162675555Z"}]},"request_id":"deb94539-891c-47ff-a7fe-0f29e704c0a9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.7007785} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"741c1e5f8018aed06792b5788608f3ff","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8f2c1a33-692d-468a-9d4a-1d512267dcef","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.7089176} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"741c1e5f8018aed06792b5788608f3ff","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:15.162675555Z"}]},"request_id":"555406d1-9624-4c16-add9-3b4078e6b118","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.7256339} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"741c1e5f8018aed06792b5788608f3ff","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"741c1e5f8018aed06792b5788608f3ff"} gateway-1 | {"time_local":"18/Sep/2024:16:22:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/4317a56c-7098-4be6-b15c-55162b9f9d0f? HTTP/1.1","status": "200","body_bytes_sent":"845","request_time":"0.052","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"741c1e5f8018aed06792b5788608f3ff"} device-1 | {"level":"info","message":"PATCH /devices/4317a56c-7098-4be6-b15c-55162b9f9d0f? 200 45ms","method":"PATCH","requestID":"741c1e5f8018aed06792b5788608f3ff","responseTime":45,"status":200,"url":"/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE","level":"info","message":"auth send jwt","requestID":"9085572e1a354456f25283fe0387a4c1"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"9085572e1a354456f25283fe0387a4c1","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9085572e1a354456f25283fe0387a4c1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":299,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":299,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.073575,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9085572e1a354456f25283fe0387a4c1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676537,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9085572e1a354456f25283fe0387a4c1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:15.293116402Z"}]},"request_id":"ba8a8f78-9770-49d0-a89c-cc05c465c314","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.7565858} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"9085572e1a354456f25283fe0387a4c1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9085572e1a354456f25283fe0387a4c1"} gateway-1 | {"time_local":"18/Sep/2024:16:22:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/74272fac-78a1-4efb-a038-9318039449b1? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.027","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9085572e1a354456f25283fe0387a4c1"} device-1 | {"level":"info","message":"GET /devices/74272fac-78a1-4efb-a038-9318039449b1? 200 21ms","method":"GET","requestID":"9085572e1a354456f25283fe0387a4c1","responseTime":21,"status":200,"url":"/devices/74272fac-78a1-4efb-a038-9318039449b1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE","level":"info","message":"auth send jwt","requestID":"e1111aa4eef6321e0fac70a63d84808a"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"e1111aa4eef6321e0fac70a63d84808a","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"e1111aa4eef6321e0fac70a63d84808a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":300,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":300,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.270946,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e1111aa4eef6321e0fac70a63d84808a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676537,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e1111aa4eef6321e0fac70a63d84808a","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219"},"level":"info","message":"Attempting to run experiment","requestID":"e1111aa4eef6321e0fac70a63d84808a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219"},"level":"info","message":"Attempting to book experiment","requestID":"e1111aa4eef6321e0fac70a63d84808a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219"},"level":"info","message":"Successfully booked experiment","requestID":"e1111aa4eef6321e0fac70a63d84808a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2c4bcc20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2c4bf330-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":301,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":301,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.621018,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":302,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a87721bb-594f-4df6-b6cb-c01e36dd9065","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c4bcc20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a87721bb-594f-4df6-b6cb-c01e36dd9065","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676537,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"2c4bcc20-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":302,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.349092,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c4bf330-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676537,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2c4bf330-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa87721bb-594f-4df6-b6cb-c01e36dd9065","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa87721bb-594f-4df6-b6cb-c01e36dd9065","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:15.225390509Z"}]},"request_id":"e759a6de-38be-4494-9438-cf1522b75d8c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.8364723} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2c4bcc20-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:15.293116402Z"}]},"request_id":"6cd907a9-a644-45d0-9fd8-f6b54042e1d9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.837786} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2c4bf330-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2c4bf330-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/74272fac-78a1-4efb-a038-9318039449b1? 200 16ms","method":"GET","requestID":"2c4bf330-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/74272fac-78a1-4efb-a038-9318039449b1?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":303,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":303,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.670484,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c4bcc20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676537,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2c4bcc20-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2c4bcc20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/a87721bb-594f-4df6-b6cb-c01e36dd9065? 200 22ms","method":"GET","requestID":"2c4bcc20-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/a87721bb-594f-4df6-b6cb-c01e36dd9065?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219"},"level":"info","message":"Setting up experiment","requestID":"e1111aa4eef6321e0fac70a63d84808a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"e1111aa4eef6321e0fac70a63d84808a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219"},"level":"info","message":"Successfully locked booking for experiment","requestID":"e1111aa4eef6321e0fac70a63d84808a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"e1111aa4eef6321e0fac70a63d84808a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"e1111aa4eef6321e0fac70a63d84808a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219"},"level":"info","message":"Attempting to update booking for experiment","requestID":"e1111aa4eef6321e0fac70a63d84808a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219"},"level":"info","message":"Successfully updated booking for experiment","requestID":"e1111aa4eef6321e0fac70a63d84808a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219"},"level":"info","message":"Successfully set up experiment","requestID":"e1111aa4eef6321e0fac70a63d84808a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2c567a80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2c56c8a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2c56efb0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219"},"level":"info","message":"Successfully running experiment","requestID":"e1111aa4eef6321e0fac70a63d84808a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":304,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":304,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.66394,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":305,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c567a80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676537,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2c567a80-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":305,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.835173,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"client_addr":"127.0.0.1:36362","level":"info","msg":"Received request.","req_id":306,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c56c8a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676537,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"2c56c8a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:36362","level":"info","msg":"Sent response.","req_id":306,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.551408,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"87fb5726-857f-48fe-8bcd-0348779d53d9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.9075217} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c56efb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"2c56efb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:15.162675555Z"}]},"request_id":"6eefd475-a01b-4993-a7a6-d7fc43cda99f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.9099324} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"2c567a80-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2c56efb0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:15.293116402Z"}]},"request_id":"23e23354-1f94-48e0-b70e-685e78c5d2e7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.9132054} device-1 | {"level":"info","message":"POST /devices/4317a56c-7098-4be6-b15c-55162b9f9d0f/signaling 200 14ms","method":"POST","requestID":"2c56efb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2c56c8a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2c59aed0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":307,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2c567a80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/4317a56c-7098-4be6-b15c-55162b9f9d0f? 200 25ms","method":"GET","requestID":"2c567a80-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2c56c8a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/74272fac-78a1-4efb-a038-9318039449b1? 200 24ms","method":"GET","requestID":"2c56c8a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/devices/74272fac-78a1-4efb-a038-9318039449b1?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"62480931-a5bf-45c1-bc5e-15c08239a246","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.9227726} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":307,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.178506,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2c5ac040-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c59aed0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"2c59aed0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F215a7cd3-a352-40de-ade7-930ad5281219#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F215a7cd3-a352-40de-ade7-930ad5281219","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"128602e8-959f-4e9f-aec6-ea8e92392104","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.9249756} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"105a9e26-6234-4e7e-bd10-61afb0c99067","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.9252305} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"e1111aa4eef6321e0fac70a63d84808a","responseTime":23,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2c59aed0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/74272fac-78a1-4efb-a038-9318039449b1/signaling 200 11ms","method":"POST","requestID":"2c59aed0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/74272fac-78a1-4efb-a038-9318039449b1/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":308,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"41d601bd-9c5f-428e-a5f3-eedb518ad225","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.9312787} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":308,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.666999,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c5ac040-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2c5ac040-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"e1111aa4eef6321e0fac70a63d84808a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2c5ac040-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4317a56c-7098-4be6-b15c-55162b9f9d0f/signaling 200 11ms","method":"POST","requestID":"2c5ac040-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f/signaling"} gateway-1 | {"time_local":"18/Sep/2024:16:22:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"808","request_time":"0.167","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e1111aa4eef6321e0fac70a63d84808a"} experiment-1 | {"level":"info","message":"POST /experiments? 201 159ms","method":"POST","requestID":"e1111aa4eef6321e0fac70a63d84808a","responseTime":159,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2c5ce320-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE","level":"info","message":"auth send jwt","requestID":"39dbf8bb3d95d0e5af52b6820f646683"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"39dbf8bb3d95d0e5af52b6820f646683","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"39dbf8bb3d95d0e5af52b6820f646683"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":309,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"704ffa70-b1f4-4f2f-8037-35f6d266efee","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.9432545} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":310,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":309,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.237569,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c5ce320-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2c5ce320-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":310,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.703427,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"39dbf8bb3d95d0e5af52b6820f646683","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676537,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"39dbf8bb3d95d0e5af52b6820f646683","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2c5ce320-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/74272fac-78a1-4efb-a038-9318039449b1/signaling 200 12ms","method":"POST","requestID":"2c5ce320-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/74272fac-78a1-4efb-a038-9318039449b1/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:15.162675555Z"}]},"request_id":"161dee59-9a0f-48da-939f-8c55ac4a19c9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.9506888} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"e1111aa4eef6321e0fac70a63d84808a"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"39dbf8bb3d95d0e5af52b6820f646683","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2c5f2d10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2c5f7b30-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":311,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":311,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.942752,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"39dbf8bb3d95d0e5af52b6820f646683"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c5f2d10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676537,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2c5f2d10-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/4317a56c-7098-4be6-b15c-55162b9f9d0f? 200 18ms","method":"GET","requestID":"39dbf8bb3d95d0e5af52b6820f646683","responseTime":18,"status":200,"url":"/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4317a56c-7098-4be6-b15c-55162b9f9d0f? HTTP/1.1","status": "200","body_bytes_sent":"845","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"39dbf8bb3d95d0e5af52b6820f646683"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":312,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":312,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.895962,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c5f7b30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676537,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2c5f7b30-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE","level":"info","message":"auth send jwt","requestID":"5b890d41cfac847731c4c901cb35f85c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:15.162675555Z"}]},"request_id":"48edd926-cf03-4ff2-a1e3-b6faf36596bb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.9636366} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"5b890d41cfac847731c4c901cb35f85c","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2c5f2d10-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5b890d41cfac847731c4c901cb35f85c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:15.293116402Z"}]},"request_id":"f3da4101-7958-4291-85d2-49ba5fee5ea0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.964497} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"2c5f7b30-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":313,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":313,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.032449,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b890d41cfac847731c4c901cb35f85c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676537,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5b890d41cfac847731c4c901cb35f85c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2c5f2d10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/4317a56c-7098-4be6-b15c-55162b9f9d0f? 200 17ms","method":"GET","requestID":"2c5f2d10-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2c5f7b30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/74272fac-78a1-4efb-a038-9318039449b1? 200 17ms","method":"GET","requestID":"2c5f7b30-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/74272fac-78a1-4efb-a038-9318039449b1?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:15.293116402Z"}]},"request_id":"2b18a9cf-d83f-4070-b7a6-c91e322726d8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.9722667} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5b890d41cfac847731c4c901cb35f85c","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219"},"level":"info","message":"Building connection plan","requestID":"e1111aa4eef6321e0fac70a63d84808a"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"17ca22b4-4654-4527-aebe-62adc0ebba0d"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"50cb0fe4-7d6a-4ce8-ab23-7e6d37e0852a"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"7e29703f-cffc-4d85-b2d5-32c76f447ee3"}]},"level":"info","message":"Built pairwise service configurations","requestID":"e1111aa4eef6321e0fac70a63d84808a"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"e1111aa4eef6321e0fac70a63d84808a"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"2c628870-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5b890d41cfac847731c4c901cb35f85c"} gateway-1 | {"time_local":"18/Sep/2024:16:22:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/74272fac-78a1-4efb-a038-9318039449b1? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5b890d41cfac847731c4c901cb35f85c"} device-1 | {"level":"info","message":"GET /devices/74272fac-78a1-4efb-a038-9318039449b1? 200 12ms","method":"GET","requestID":"5b890d41cfac847731c4c901cb35f85c","responseTime":12,"status":200,"url":"/devices/74272fac-78a1-4efb-a038-9318039449b1?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":314,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":314,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.728344,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:17Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c628870-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676537,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzN30.ZoEsDhd3Z9gS5TgMDZClGhBOlSVo77EboK--ngSnRxE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2c628870-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"eebc2c5f-3094-4966-acc6-501350a951bf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.9865465} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"88dfd5ac-9e58-4fec-a3b2-87ef3d17ce94","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676537.9868045} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"2c628870-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"2c628870-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"2c628870-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83'","requestID":"2c628870-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83'","requestID":"2c628870-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"2c628870-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 25ms","method":"POST","requestID":"2c628870-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"2c628870-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"e1111aa4eef6321e0fac70a63d84808a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2c6ac5d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":315,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"75c49454-8642-4726-ac38-ff487e183715","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.0334804} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":315,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.144185,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c6ac5d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2c6ac5d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2c6ac5d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4317a56c-7098-4be6-b15c-55162b9f9d0f/signaling 200 8ms","method":"POST","requestID":"2c6ac5d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2c6c4c70-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":316,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"38dcb9c4-219e-46fd-a59b-7044b534cbb8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.0438669} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":316,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.153351,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c6c4c70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2c6c4c70-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2c6c4c70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/74272fac-78a1-4efb-a038-9318039449b1/signaling 200 9ms","method":"POST","requestID":"2c6c4c70-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/74272fac-78a1-4efb-a038-9318039449b1/signaling"} device-1 | {"device":"4317a56c-7098-4be6-b15c-55162b9f9d0f","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"4317a56c-7098-4be6-b15c-55162b9f9d0f","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"74272fac-78a1-4efb-a038-9318039449b1","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"74272fac-78a1-4efb-a038-9318039449b1","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 7286172326787424228 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:BdMQ\r\na=ice-pwd:AyvVTxErvUc/sj9TZ+XQaY4E\r\na=ice-options:trickle\r\na=fingerprint:sha-256 35:26:7D:49:2D:8D:49:10:15:0F:95:69:A4:E9:78:B5:42:92:37:68:1B:7B:21:5F:A1:C5:29:38:FC:09:18:F9\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"4317a56c-7098-4be6-b15c-55162b9f9d0f","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 2961427790716745988 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:1Zba\r\na=ice-pwd:cE6dJ8HQErAPgmVQhbvscy9I\r\na=ice-options:trickle\r\na=fingerprint:sha-256 6A:EE:EC:CA:69:B4:A8:1C:C3:3D:54:CC:9F:EF:55:FA:5C:B4:E4:70:AD:E9:A8:BA:4C:0D:D9:88:AA:E6:77:72\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"74272fac-78a1-4efb-a038-9318039449b1","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:3389266074 1 udp 2113937151 e4049d9b-2e30-4797-8c1a-8a2cb83d53f2.local 57584 typ host generation 0 ufrag 1Zba network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"74272fac-78a1-4efb-a038-9318039449b1","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1496299913 1 udp 1677729535 141.24.211.56 57584 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 1Zba network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"74272fac-78a1-4efb-a038-9318039449b1","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1'"} device-1 | {"content":{"candidate":"candidate:1063061396 1 udp 2113937151 57f71193-d356-4ab5-8775-3691baaab93b.local 38937 typ host generation 0 ufrag BdMQ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"4317a56c-7098-4be6-b15c-55162b9f9d0f","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3144707563 1 udp 1677729535 141.24.211.56 38937 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag BdMQ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"4317a56c-7098-4be6-b15c-55162b9f9d0f","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f'"} device-1 | {"device":"4317a56c-7098-4be6-b15c-55162b9f9d0f","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"902f913e-d1a7-4ce0-a105-4b1235b8ad83","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7003d9d1896c47c0061c1e2bd3c7796f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} device-1 | {"device":"74272fac-78a1-4efb-a038-9318039449b1","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"7003d9d1896c47c0061c1e2bd3c7796f","responseTime":2,"status":200,"url":"/auth"} device-1 | {"device":"74272fac-78a1-4efb-a038-9318039449b1","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83"}}},"level":"info","message":"received a callback","requestID":"7003d9d1896c47c0061c1e2bd3c7796f"} device-1 | {"device":"4317a56c-7098-4be6-b15c-55162b9f9d0f","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"4317a56c-7098-4be6-b15c-55162b9f9d0f","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"74272fac-78a1-4efb-a038-9318039449b1","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} gateway-1 | {"time_local":"18/Sep/2024:16:22:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"7003d9d1896c47c0061c1e2bd3c7796f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"7003d9d1896c47c0061c1e2bd3c7796f","responseTime":8,"status":200,"url":"/callbacks/experiment"} device-1 | {"device":"74272fac-78a1-4efb-a038-9318039449b1","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"902f913e-d1a7-4ce0-a105-4b1235b8ad83","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"902f913e-d1a7-4ce0-a105-4b1235b8ad83","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"902f913e-d1a7-4ce0-a105-4b1235b8ad83","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1901408e6450c99a7964cc98ced702ed","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"1901408e6450c99a7964cc98ced702ed","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83"}}},"level":"info","message":"received a callback","requestID":"1901408e6450c99a7964cc98ced702ed"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"2c7a7d40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":317,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F902f913e-d1a7-4ce0-a105-4b1235b8ad83","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"374a3670-cf6c-40c3-93c8-0da491b89a36","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.1380923} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":317,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.072071,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c7a7d40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"2c7a7d40-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"2c7a7d40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83 200 9ms","method":"GET","requestID":"2c7a7d40-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 36ms","method":"POST","requestID":"1901408e6450c99a7964cc98ced702ed","responseTime":36,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.039","http_referrer":"","http_user_agent":"node-fetch","requestID":"1901408e6450c99a7964cc98ced702ed"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2c7f8650-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":318,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8d0b8df9-3da4-48a7-ab85-a4087e052b48","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.1696348} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":318,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.306912,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c7f8650-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2c7f8650-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2c7f8650-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/74272fac-78a1-4efb-a038-9318039449b1/signaling 200 8ms","method":"POST","requestID":"2c7f8650-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/74272fac-78a1-4efb-a038-9318039449b1/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2c815b10-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":319,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"458887ae-2479-4d1d-90a5-eed22035068a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.1820655} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":319,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.174582,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c815b10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2c815b10-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2c815b10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4317a56c-7098-4be6-b15c-55162b9f9d0f/signaling 200 9ms","method":"POST","requestID":"2c815b10-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzOH0.D4sFKxejzsi1YatOQxuZ84fkhU8GM5DXRFI6J3BesbQ","level":"info","message":"auth send jwt","requestID":"28091d0750115a38e30fc77ae9eac622"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"28091d0750115a38e30fc77ae9eac622","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/215a7cd3-a352-40de-ade7-930ad5281219","requestID":"28091d0750115a38e30fc77ae9eac622"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":320,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":320,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.703331,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"28091d0750115a38e30fc77ae9eac622","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676538,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzOH0.D4sFKxejzsi1YatOQxuZ84fkhU8GM5DXRFI6J3BesbQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"28091d0750115a38e30fc77ae9eac622","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/215a7cd3-a352-40de-ade7-930ad5281219","requestID":"28091d0750115a38e30fc77ae9eac622"} gateway-1 | {"time_local":"18/Sep/2024:16:22:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/215a7cd3-a352-40de-ade7-930ad5281219 HTTP/1.1","status": "200","body_bytes_sent":"881","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"28091d0750115a38e30fc77ae9eac622"} experiment-1 | {"level":"info","message":"GET /experiments/215a7cd3-a352-40de-ade7-930ad5281219 200 11ms","method":"GET","requestID":"28091d0750115a38e30fc77ae9eac622","responseTime":11,"status":200,"url":"/experiments/215a7cd3-a352-40de-ade7-930ad5281219"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzOH0.D4sFKxejzsi1YatOQxuZ84fkhU8GM5DXRFI6J3BesbQ","level":"info","message":"auth send jwt","requestID":"7c6e054fd58a8a8657b31bd72dada7b7"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"7c6e054fd58a8a8657b31bd72dada7b7","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/215a7cd3-a352-40de-ade7-930ad5281219","requestID":"7c6e054fd58a8a8657b31bd72dada7b7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":321,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":321,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.704084,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c6e054fd58a8a8657b31bd72dada7b7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676538,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzOH0.D4sFKxejzsi1YatOQxuZ84fkhU8GM5DXRFI6J3BesbQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7c6e054fd58a8a8657b31bd72dada7b7","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219"},"level":"info","message":"Attempting to finish experiment","requestID":"7c6e054fd58a8a8657b31bd72dada7b7"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"2c899870-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":322,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":322,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.072722,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c899870-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676538,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzOH0.D4sFKxejzsi1YatOQxuZ84fkhU8GM5DXRFI6J3BesbQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2c899870-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83","device":"74272fac-78a1-4efb-a038-9318039449b1","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83","device":"4317a56c-7098-4be6-b15c-55162b9f9d0f","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"902f913e-d1a7-4ce0-a105-4b1235b8ad83","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3b8c3ee2ef070863e843ba6bebfd00c4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"3b8c3ee2ef070863e843ba6bebfd00c4","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6fbda545ac3b63e4987c0acfcd4451e5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"6fbda545ac3b63e4987c0acfcd4451e5","responseTime":0,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83"}}},"level":"info","message":"received a callback","requestID":"3b8c3ee2ef070863e843ba6bebfd00c4"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F902f913e-d1a7-4ce0-a105-4b1235b8ad83': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F902f913e-d1a7-4ce0-a105-4b1235b8ad83","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"a389d015-2568-47aa-ad6b-b34e858e1791","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.2529154} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3d947eaa-a110-4dd2-b727-4da70f26c40a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.2532105} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83"}}},"level":"info","message":"received a callback","requestID":"6fbda545ac3b63e4987c0acfcd4451e5"} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"2c899870-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"902f913e-d1a7-4ce0-a105-4b1235b8ad83","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"2c899870-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83 204 40ms","method":"DELETE","requestID":"2c899870-75da-11ef-ba7c-09eaa4331ae1","responseTime":40,"status":204,"url":"/peerconnections/902f913e-d1a7-4ce0-a105-4b1235b8ad83"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/215a7cd3-a352-40de-ade7-930ad5281219"},"level":"info","message":"Successfully finished experiment","requestID":"7c6e054fd58a8a8657b31bd72dada7b7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2c92c030-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":323,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F74272fac-78a1-4efb-a038-9318039449b1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b69f026f-9a03-4c52-b880-d553d1491c17","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.2968228} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":323,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.667407,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c92c030-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2c92c030-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2c92c030-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/74272fac-78a1-4efb-a038-9318039449b1/signaling 200 10ms","method":"POST","requestID":"2c92c030-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/74272fac-78a1-4efb-a038-9318039449b1/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F215a7cd3-a352-40de-ade7-930ad5281219': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F215a7cd3-a352-40de-ade7-930ad5281219","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"049e4828-71cb-45c6-9c95-fe9cf4091dbd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.3049822} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2c94e310-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"591bba97-4e95-4a86-8877-7e822f197f3e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.305239} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"7c6e054fd58a8a8657b31bd72dada7b7","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":324,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4317a56c-7098-4be6-b15c-55162b9f9d0f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dfbfa41f-0c0e-4f65-aea8-9b4fa873bed9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.310184} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":324,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.493811,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2c94e310-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2c94e310-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2c94e310-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4317a56c-7098-4be6-b15c-55162b9f9d0f/signaling 200 9ms","method":"POST","requestID":"2c94e310-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/215a7cd3-a352-40de-ade7-930ad5281219","requestID":"7c6e054fd58a8a8657b31bd72dada7b7"} gateway-1 | {"time_local":"18/Sep/2024:16:22:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/215a7cd3-a352-40de-ade7-930ad5281219 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.143","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7c6e054fd58a8a8657b31bd72dada7b7"} experiment-1 | {"level":"info","message":"DELETE /experiments/215a7cd3-a352-40de-ade7-930ad5281219 204 142ms","method":"DELETE","requestID":"7c6e054fd58a8a8657b31bd72dada7b7","responseTime":142,"status":204,"url":"/experiments/215a7cd3-a352-40de-ade7-930ad5281219"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 114ms","method":"POST","requestID":"3b8c3ee2ef070863e843ba6bebfd00c4","responseTime":114,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.117","http_referrer":"","http_user_agent":"node-fetch","requestID":"3b8c3ee2ef070863e843ba6bebfd00c4"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 114ms","method":"POST","requestID":"6fbda545ac3b63e4987c0acfcd4451e5","responseTime":114,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.118","http_referrer":"","http_user_agent":"node-fetch","requestID":"6fbda545ac3b63e4987c0acfcd4451e5"} device-1 | {"level":"info","message":"postDevices called","requestID":"a677fc29a1b2d2ff235874e37e4b0eb8"} gateway-1 | {"time_local":"18/Sep/2024:16:22:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3079","request_time":"0.899","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"cdca543da33390cadf6d67e21ab94995"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzOH0.D4sFKxejzsi1YatOQxuZ84fkhU8GM5DXRFI6J3BesbQ","level":"info","message":"auth send jwt","requestID":"a677fc29a1b2d2ff235874e37e4b0eb8"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a677fc29a1b2d2ff235874e37e4b0eb8","responseTime":3,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3079","request_time":"0.818","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"acb6ef3a2e9a33a9a41d6b2286514552"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":325,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":325,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.753822,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a677fc29a1b2d2ff235874e37e4b0eb8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676538,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzOH0.D4sFKxejzsi1YatOQxuZ84fkhU8GM5DXRFI6J3BesbQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a677fc29a1b2d2ff235874e37e4b0eb8","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/4317a56c-7098-4be6-b15c-55162b9f9d0f' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/74272fac-78a1-4efb-a038-9318039449b1' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"fb8c7f3b-8cfb-49e9-8c39-f97a82b3878b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.3951018} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a677fc29a1b2d2ff235874e37e4b0eb8","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1a0c7d88-905b-4b0f-9b61-51c6a32fcc3e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.4002078} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"a677fc29a1b2d2ff235874e37e4b0eb8","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"e08475ad-917f-46e7-be4e-47a86e49267f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.4115758} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ddfa96ec-5bf6-45f6-b3e9-5449004c5601","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.4118118} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"a677fc29a1b2d2ff235874e37e4b0eb8","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:18.411551956Z"}]},"request_id":"8ad6aadb-fbe0-49c1-8fd8-08bc0ede0d6e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.4159198} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a677fc29a1b2d2ff235874e37e4b0eb8","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"a677fc29a1b2d2ff235874e37e4b0eb8"} gateway-1 | {"time_local":"18/Sep/2024:16:22:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a677fc29a1b2d2ff235874e37e4b0eb8"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"a677fc29a1b2d2ff235874e37e4b0eb8","responseTime":48,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzOH0.D4sFKxejzsi1YatOQxuZ84fkhU8GM5DXRFI6J3BesbQ","level":"info","message":"auth send jwt","requestID":"3b3af5840b210c7cebdd4c1ad90f4949"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3b3af5840b210c7cebdd4c1ad90f4949","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"3b3af5840b210c7cebdd4c1ad90f4949"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":326,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":326,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.891741,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3b3af5840b210c7cebdd4c1ad90f4949","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676538,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzOH0.D4sFKxejzsi1YatOQxuZ84fkhU8GM5DXRFI6J3BesbQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3b3af5840b210c7cebdd4c1ad90f4949","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"aabce2a8-223c-42dd-93dc-892698c6108e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.4400952} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3b3af5840b210c7cebdd4c1ad90f4949","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"51f4e0db-92ff-4a64-921e-ac25f62bc1e0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.44528} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"3b3af5840b210c7cebdd4c1ad90f4949","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"b005efdb-6db3-4a87-807d-e1b1a8635c70","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.455231} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4d0e7851-59b9-4129-ae6e-34941306f548","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.4554567} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"3b3af5840b210c7cebdd4c1ad90f4949","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:18.455214935Z"}]},"request_id":"9770c891-bb62-4aa4-ab92-ffe55147d722","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.4591744} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3b3af5840b210c7cebdd4c1ad90f4949","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"3b3af5840b210c7cebdd4c1ad90f4949"} device-1 | {"level":"info","message":"POST /devices? 201 39ms","method":"POST","requestID":"3b3af5840b210c7cebdd4c1ad90f4949","responseTime":39,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.043","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3b3af5840b210c7cebdd4c1ad90f4949"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzOH0.D4sFKxejzsi1YatOQxuZ84fkhU8GM5DXRFI6J3BesbQ","level":"info","message":"auth send jwt","requestID":"a5fa3b02978ce0570997066d3cb443ca"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a5fa3b02978ce0570997066d3cb443ca","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"a5fa3b02978ce0570997066d3cb443ca"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":327,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":327,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.281634,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a5fa3b02978ce0570997066d3cb443ca","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676538,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzOH0.D4sFKxejzsi1YatOQxuZ84fkhU8GM5DXRFI6J3BesbQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a5fa3b02978ce0570997066d3cb443ca","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:18.411551956Z"}]},"request_id":"3b99cea9-d07c-427c-a8a6-fb6e4eeb9aeb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.9433107} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a5fa3b02978ce0570997066d3cb443ca","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e6cfc3d2-92c8-468b-83a9-3f9f9da03cd2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.949552} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"a5fa3b02978ce0570997066d3cb443ca","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:18.411551956Z"}]},"request_id":"e1d2f3ab-6e17-4127-b8b2-5db81bfd1bca","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676538.9624214} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a5fa3b02978ce0570997066d3cb443ca","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"a5fa3b02978ce0570997066d3cb443ca"} gateway-1 | {"time_local":"18/Sep/2024:16:22:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/17234131-6411-43c0-9d50-c159d990a952 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.040","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"a5fa3b02978ce0570997066d3cb443ca"} device-1 | {"level":"info","message":"PATCH /devices/17234131-6411-43c0-9d50-c159d990a952 200 35ms","method":"PATCH","requestID":"a5fa3b02978ce0570997066d3cb443ca","responseTime":35,"status":200,"url":"/devices/17234131-6411-43c0-9d50-c159d990a952"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzOH0.D4sFKxejzsi1YatOQxuZ84fkhU8GM5DXRFI6J3BesbQ","level":"info","message":"auth send jwt","requestID":"6d3607758c4694f7acc6e334aaeb654a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6d3607758c4694f7acc6e334aaeb654a","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"6d3607758c4694f7acc6e334aaeb654a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":328,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":328,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.204894,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:18Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6d3607758c4694f7acc6e334aaeb654a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676538,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjUzOH0.D4sFKxejzsi1YatOQxuZ84fkhU8GM5DXRFI6J3BesbQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6d3607758c4694f7acc6e334aaeb654a","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"6d3607758c4694f7acc6e334aaeb654a"} gateway-1 | {"time_local":"18/Sep/2024:16:22:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/17234131-6411-43c0-9d50-c159d990a952/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.024","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"6d3607758c4694f7acc6e334aaeb654a"} device-1 | {"level":"info","message":"POST /devices/17234131-6411-43c0-9d50-c159d990a952/websocket 200 19ms","method":"POST","requestID":"6d3607758c4694f7acc6e334aaeb654a","responseTime":19,"status":200,"url":"/devices/17234131-6411-43c0-9d50-c159d990a952/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"24a30e285249263aa02b099249b3d9a1","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"24a30e285249263aa02b099249b3d9a1","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/954a7195-3a78-4444-9a29-bd1f01dced9e/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"24a30e285249263aa02b099249b3d9a1"} device-1 | {"level":"info","message":"OPTIONS /devices/954a7195-3a78-4444-9a29-bd1f01dced9e/websocket 200 1ms","method":"OPTIONS","requestID":"24a30e285249263aa02b099249b3d9a1","responseTime":1,"status":200,"url":"/devices/954a7195-3a78-4444-9a29-bd1f01dced9e/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0","level":"info","message":"auth send jwt","requestID":"18b5c1fc4a0453aa90714642157c32f6"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"18b5c1fc4a0453aa90714642157c32f6","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"18b5c1fc4a0453aa90714642157c32f6"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":329,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":329,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.512663,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"18b5c1fc4a0453aa90714642157c32f6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676540,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"18b5c1fc4a0453aa90714642157c32f6","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"18b5c1fc4a0453aa90714642157c32f6"} gateway-1 | {"time_local":"18/Sep/2024:16:22:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/954a7195-3a78-4444-9a29-bd1f01dced9e/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.032","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"18b5c1fc4a0453aa90714642157c32f6"} device-1 | {"level":"info","message":"POST /devices/954a7195-3a78-4444-9a29-bd1f01dced9e/websocket 200 27ms","method":"POST","requestID":"18b5c1fc4a0453aa90714642157c32f6","responseTime":27,"status":200,"url":"/devices/954a7195-3a78-4444-9a29-bd1f01dced9e/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2827a1cf0d8b87a2f1da380946de1998","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"2827a1cf0d8b87a2f1da380946de1998","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/954a7195-3a78-4444-9a29-bd1f01dced9e? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"2827a1cf0d8b87a2f1da380946de1998"} device-1 | {"level":"info","message":"OPTIONS /devices/954a7195-3a78-4444-9a29-bd1f01dced9e? 200 1ms","method":"OPTIONS","requestID":"2827a1cf0d8b87a2f1da380946de1998","responseTime":1,"status":200,"url":"/devices/954a7195-3a78-4444-9a29-bd1f01dced9e?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0","level":"info","message":"auth send jwt","requestID":"3f67b0bcc0040a87784bc5a14af7339d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"3f67b0bcc0040a87784bc5a14af7339d","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"3f67b0bcc0040a87784bc5a14af7339d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":330,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":330,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.3022,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3f67b0bcc0040a87784bc5a14af7339d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676540,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3f67b0bcc0040a87784bc5a14af7339d","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:18.455214935Z"}]},"request_id":"754c189c-a419-45ee-b663-64b0d5f367a1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.5474427} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"3f67b0bcc0040a87784bc5a14af7339d","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d057d106-6011-425b-9fbe-a46292baee95","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.5550528} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"3f67b0bcc0040a87784bc5a14af7339d","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:18.455214935Z"}]},"request_id":"7c4879e0-3077-4310-9455-432556b4a9d4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.5682058} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3f67b0bcc0040a87784bc5a14af7339d","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"3f67b0bcc0040a87784bc5a14af7339d"} gateway-1 | {"time_local":"18/Sep/2024:16:22:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/954a7195-3a78-4444-9a29-bd1f01dced9e? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.046","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"3f67b0bcc0040a87784bc5a14af7339d"} device-1 | {"level":"info","message":"PATCH /devices/954a7195-3a78-4444-9a29-bd1f01dced9e? 200 39ms","method":"PATCH","requestID":"3f67b0bcc0040a87784bc5a14af7339d","responseTime":39,"status":200,"url":"/devices/954a7195-3a78-4444-9a29-bd1f01dced9e?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0","level":"info","message":"auth send jwt","requestID":"5d50b90209149f0a058d2c51f5df46aa"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5d50b90209149f0a058d2c51f5df46aa","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5d50b90209149f0a058d2c51f5df46aa"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":331,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":331,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.395836,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5d50b90209149f0a058d2c51f5df46aa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676540,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"5d50b90209149f0a058d2c51f5df46aa","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:18.411551956Z"}]},"request_id":"b32ab604-e0e2-415b-a07c-e755b02202be","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.5988142} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5d50b90209149f0a058d2c51f5df46aa","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5d50b90209149f0a058d2c51f5df46aa"} gateway-1 | {"time_local":"18/Sep/2024:16:22:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/17234131-6411-43c0-9d50-c159d990a952? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.029","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5d50b90209149f0a058d2c51f5df46aa"} device-1 | {"level":"info","message":"GET /devices/17234131-6411-43c0-9d50-c159d990a952? 200 23ms","method":"GET","requestID":"5d50b90209149f0a058d2c51f5df46aa","responseTime":23,"status":200,"url":"/devices/17234131-6411-43c0-9d50-c159d990a952?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0","level":"info","message":"auth send jwt","requestID":"3a70ec17ea11f0c278aa71c180d0a434"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"3a70ec17ea11f0c278aa71c180d0a434","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3a70ec17ea11f0c278aa71c180d0a434"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":332,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":332,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.149811,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3a70ec17ea11f0c278aa71c180d0a434","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676540,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3a70ec17ea11f0c278aa71c180d0a434","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:18.455214935Z"}]},"request_id":"7de93962-7cf4-4795-8bfe-e79c7546c2b3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.6296964} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3a70ec17ea11f0c278aa71c180d0a434","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3a70ec17ea11f0c278aa71c180d0a434"} gateway-1 | {"time_local":"18/Sep/2024:16:22:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/954a7195-3a78-4444-9a29-bd1f01dced9e? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3a70ec17ea11f0c278aa71c180d0a434"} device-1 | {"level":"info","message":"GET /devices/954a7195-3a78-4444-9a29-bd1f01dced9e? 200 19ms","method":"GET","requestID":"3a70ec17ea11f0c278aa71c180d0a434","responseTime":19,"status":200,"url":"/devices/954a7195-3a78-4444-9a29-bd1f01dced9e?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0","level":"info","message":"auth send jwt","requestID":"7ad50beddb5f9caf69c559fec00a3939"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"7ad50beddb5f9caf69c559fec00a3939","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"7ad50beddb5f9caf69c559fec00a3939"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":333,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":333,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.266143,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7ad50beddb5f9caf69c559fec00a3939","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676540,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7ad50beddb5f9caf69c559fec00a3939","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"},"level":"info","message":"Attempting to run experiment","requestID":"7ad50beddb5f9caf69c559fec00a3939"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"},"level":"info","message":"Attempting to book experiment","requestID":"7ad50beddb5f9caf69c559fec00a3939"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"},"level":"info","message":"Successfully booked experiment","requestID":"7ad50beddb5f9caf69c559fec00a3939"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2e011d40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2e016b60-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":334,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":334,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.657431,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2e011d40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676540,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2e011d40-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":335,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":335,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.954647,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2e016b60-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676540,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2e016b60-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:18.411551956Z"}]},"request_id":"cc8a0223-b16f-49e2-9834-670aa963261d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.7035315} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"2e011d40-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:18.455214935Z"}]},"request_id":"485b9955-d02a-41b4-b66e-eeb79b7e70e4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.7052336} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2e016b60-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2e011d40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/17234131-6411-43c0-9d50-c159d990a952? 200 21ms","method":"GET","requestID":"2e011d40-75da-11ef-ba7c-09eaa4331ae1","responseTime":21,"status":200,"url":"/devices/17234131-6411-43c0-9d50-c159d990a952?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2e016b60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/954a7195-3a78-4444-9a29-bd1f01dced9e? 200 21ms","method":"GET","requestID":"2e016b60-75da-11ef-ba7c-09eaa4331ae1","responseTime":21,"status":200,"url":"/devices/954a7195-3a78-4444-9a29-bd1f01dced9e?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"},"level":"info","message":"Setting up experiment","requestID":"7ad50beddb5f9caf69c559fec00a3939"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"7ad50beddb5f9caf69c559fec00a3939"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"},"level":"info","message":"Successfully locked booking for experiment","requestID":"7ad50beddb5f9caf69c559fec00a3939"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"7ad50beddb5f9caf69c559fec00a3939"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"7ad50beddb5f9caf69c559fec00a3939"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"},"level":"info","message":"Attempting to update booking for experiment","requestID":"7ad50beddb5f9caf69c559fec00a3939"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"},"level":"info","message":"Successfully updated booking for experiment","requestID":"7ad50beddb5f9caf69c559fec00a3939"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"},"level":"info","message":"Successfully set up experiment","requestID":"7ad50beddb5f9caf69c559fec00a3939"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2e0d0420-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2e0d7950-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2e0dc770-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"},"level":"info","message":"Successfully running experiment","requestID":"7ad50beddb5f9caf69c559fec00a3939"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":336,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":336,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.268621,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":337,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2e0d0420-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676540,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"2e0d0420-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":337,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.294877,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"client_addr":"127.0.0.1:36362","level":"info","msg":"Received request.","req_id":338,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2e0d7950-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676540,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"2e0d7950-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:36362","level":"info","msg":"Sent response.","req_id":338,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.034404,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e310ed67-01ca-495a-b1fd-1e15a6d73648","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.7861035} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2e0dc770-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"2e0dc770-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:18.411551956Z"}]},"request_id":"0147a4e7-0ef3-4090-b0ef-e06b4a370f3f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.7910938} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"2e0d0420-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2e0dc770-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:18.455214935Z"}]},"request_id":"46217655-62c9-43f6-9c4d-10ae3cc54b2d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.7943866} device-1 | {"level":"info","message":"POST /devices/17234131-6411-43c0-9d50-c159d990a952/signaling 200 20ms","method":"POST","requestID":"2e0dc770-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/17234131-6411-43c0-9d50-c159d990a952/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2e0d7950-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2e11bf10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2e0d0420-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb01c145e-daa0-441c-ab3d-fb80cff08c8c#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb01c145e-daa0-441c-ab3d-fb80cff08c8c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"41de995b-540d-45f8-8262-4f7e86ff4c57","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.805181} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bcd19098-405f-40f0-a8c1-17ea91a9fd62","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.8056378} device-1 | {"level":"info","message":"GET /devices/17234131-6411-43c0-9d50-c159d990a952? 200 36ms","method":"GET","requestID":"2e0d0420-75da-11ef-ba7c-09eaa4331ae1","responseTime":36,"status":200,"url":"/devices/17234131-6411-43c0-9d50-c159d990a952?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2e0d7950-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/954a7195-3a78-4444-9a29-bd1f01dced9e? 200 36ms","method":"GET","requestID":"2e0d7950-75da-11ef-ba7c-09eaa4331ae1","responseTime":36,"status":200,"url":"/devices/954a7195-3a78-4444-9a29-bd1f01dced9e?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"7ad50beddb5f9caf69c559fec00a3939","responseTime":23,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f29bf2d9-c5f9-4237-a8c3-32e48421a3d4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.8094518} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":339,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":339,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.576666,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2e11bf10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"2e11bf10-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2e136cc0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":340,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2e11bf10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/954a7195-3a78-4444-9a29-bd1f01dced9e/signaling 200 17ms","method":"POST","requestID":"2e11bf10-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/954a7195-3a78-4444-9a29-bd1f01dced9e/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fe05f8b1-ea00-4b4f-bffa-972dd2fdc38a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.81883} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":340,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.513762,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2e136cc0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"7ad50beddb5f9caf69c559fec00a3939"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"2e136cc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:22:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"812","request_time":"0.182","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7ad50beddb5f9caf69c559fec00a3939"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2e136cc0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"level":"info","message":"POST /experiments? 201 174ms","method":"POST","requestID":"7ad50beddb5f9caf69c559fec00a3939","responseTime":174,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"POST /devices/17234131-6411-43c0-9d50-c159d990a952/signaling 200 13ms","method":"POST","requestID":"2e136cc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/17234131-6411-43c0-9d50-c159d990a952/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0","level":"info","message":"auth send jwt","requestID":"6dc8caa090106b58198cdeaff7b8f324"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2e15ddc0-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"6dc8caa090106b58198cdeaff7b8f324","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6dc8caa090106b58198cdeaff7b8f324"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":341,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":342,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"16247ba8-b8dc-4330-bb56-3edd4f0be093","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.8333924} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":342,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.806586,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6dc8caa090106b58198cdeaff7b8f324","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676540,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6dc8caa090106b58198cdeaff7b8f324","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":341,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.523577,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2e15ddc0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"2e15ddc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:18.411551956Z"}]},"request_id":"1934a86f-35c3-43e7-8b6a-df4e4e41698d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.838104} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2e15ddc0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6dc8caa090106b58198cdeaff7b8f324","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"POST /devices/954a7195-3a78-4444-9a29-bd1f01dced9e/signaling 200 11ms","method":"POST","requestID":"2e15ddc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/954a7195-3a78-4444-9a29-bd1f01dced9e/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"7ad50beddb5f9caf69c559fec00a3939"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2e17d990-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6dc8caa090106b58198cdeaff7b8f324"} gateway-1 | {"time_local":"18/Sep/2024:16:22:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/17234131-6411-43c0-9d50-c159d990a952? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6dc8caa090106b58198cdeaff7b8f324"} device-1 | {"level":"info","message":"GET /devices/17234131-6411-43c0-9d50-c159d990a952? 200 13ms","method":"GET","requestID":"6dc8caa090106b58198cdeaff7b8f324","responseTime":13,"status":200,"url":"/devices/17234131-6411-43c0-9d50-c159d990a952?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":343,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":343,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.876188,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2e17d990-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676540,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2e17d990-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2e18eb00-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0","level":"info","message":"auth send jwt","requestID":"25f8a7e5ddd2bc885be0e7c994563524"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"25f8a7e5ddd2bc885be0e7c994563524","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":344,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"25f8a7e5ddd2bc885be0e7c994563524"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":344,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.962891,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2e18eb00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676540,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2e18eb00-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Received request.","req_id":345,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:18.411551956Z"}]},"request_id":"4b97f6bb-1b93-400a-9eee-7d6083f85f9b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.8535385} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"2e17d990-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33764","level":"info","msg":"Sent response.","req_id":345,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.747727,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"25f8a7e5ddd2bc885be0e7c994563524","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676540,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2e17d990-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"25f8a7e5ddd2bc885be0e7c994563524","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:18.455214935Z"}]},"request_id":"54ee7a06-3cde-46ff-9fe4-493808df538b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.8581042} device-1 | {"level":"info","message":"GET /devices/17234131-6411-43c0-9d50-c159d990a952? 200 18ms","method":"GET","requestID":"2e17d990-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/17234131-6411-43c0-9d50-c159d990a952?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2e18eb00-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:18.455214935Z"}]},"request_id":"5feb88fa-e597-4e52-aca3-3a0a3a19dbbe","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.8626254} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2e18eb00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/954a7195-3a78-4444-9a29-bd1f01dced9e? 200 15ms","method":"GET","requestID":"2e18eb00-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/954a7195-3a78-4444-9a29-bd1f01dced9e?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"25f8a7e5ddd2bc885be0e7c994563524","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"},"level":"info","message":"Building connection plan","requestID":"7ad50beddb5f9caf69c559fec00a3939"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"5547a433-03b4-4baa-b672-0a2d64f97a99"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"1e5d2a46-3fa1-4fe1-b5ac-a237a1aa320f"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"aa22a615-a29c-44fc-a276-c1318b2f4cdd"}]},"level":"info","message":"Built pairwise service configurations","requestID":"7ad50beddb5f9caf69c559fec00a3939"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"7ad50beddb5f9caf69c559fec00a3939"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"25f8a7e5ddd2bc885be0e7c994563524"} gateway-1 | {"time_local":"18/Sep/2024:16:22:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/954a7195-3a78-4444-9a29-bd1f01dced9e? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"25f8a7e5ddd2bc885be0e7c994563524"} device-1 | {"level":"info","message":"GET /devices/954a7195-3a78-4444-9a29-bd1f01dced9e? 200 15ms","method":"GET","requestID":"25f8a7e5ddd2bc885be0e7c994563524","responseTime":15,"status":200,"url":"/devices/954a7195-3a78-4444-9a29-bd1f01dced9e?"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"2e1bd130-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":346,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":346,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.862757,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2e1bd130-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676540,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0MH0.dkZRviOap860lHkNna_LHNrlrCGDEL8Czii40yYxFM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2e1bd130-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"baa74c53-b496-4505-ac54-7f0aff1f6ef4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.879833} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9cac193f-cdb5-44dd-9617-3873106da49b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.8801057} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"2e1bd130-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"2e1bd130-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"2e1bd130-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277'","requestID":"2e1bd130-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277'","requestID":"2e1bd130-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"2e1bd130-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 25ms","method":"POST","requestID":"2e1bd130-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"2e1bd130-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"7ad50beddb5f9caf69c559fec00a3939"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2e23c070-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":347,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7cf0128e-803a-4c1d-bf2f-adfb75d8d53c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.9245248} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":347,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.876464,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2e23c070-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"device":"954a7195-3a78-4444-9a29-bd1f01dced9e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"954a7195-3a78-4444-9a29-bd1f01dced9e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2e23c070-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2e23c070-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/17234131-6411-43c0-9d50-c159d990a952/signaling 200 11ms","method":"POST","requestID":"2e23c070-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/17234131-6411-43c0-9d50-c159d990a952/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2e25e350-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":348,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"57240b33-9838-4741-a92a-1872c763d6c5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676540.9374895} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":348,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.209579,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2e25e350-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2e25e350-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2e25e350-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/954a7195-3a78-4444-9a29-bd1f01dced9e/signaling 200 8ms","method":"POST","requestID":"2e25e350-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/954a7195-3a78-4444-9a29-bd1f01dced9e/signaling"} device-1 | {"device":"17234131-6411-43c0-9d50-c159d990a952","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"bb01c552-d7f4-44ff-8541-17d3ba930277","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 5615573455136766795 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:SQpf\r\na=ice-pwd:cDb3gRIN1seVP+gG8ARGQhlf\r\na=ice-options:trickle\r\na=fingerprint:sha-256 DE:B8:67:D4:62:FC:1B:15:76:89:F8:52:1E:64:24:AB:88:F5:6D:FD:5C:D0:A2:30:F1:37:4B:67:12:86:28:2B\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"954a7195-3a78-4444-9a29-bd1f01dced9e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:3294934674 1 udp 2113937151 5b4f23fc-4193-4ba8-9c32-0224e9104e90.local 37943 typ host generation 0 ufrag SQpf network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"954a7195-3a78-4444-9a29-bd1f01dced9e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"954a7195-3a78-4444-9a29-bd1f01dced9e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:1464801153 1 udp 1677729535 141.24.211.56 37943 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag SQpf network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"954a7195-3a78-4444-9a29-bd1f01dced9e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e'"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"bb01c552-d7f4-44ff-8541-17d3ba930277","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"954a7195-3a78-4444-9a29-bd1f01dced9e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e46c7a3cb860756f503d667ce2de5684","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e'"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"e46c7a3cb860756f503d667ce2de5684","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277"}}},"level":"info","message":"received a callback","requestID":"e46c7a3cb860756f503d667ce2de5684"} device-1 | {"device":"17234131-6411-43c0-9d50-c159d990a952","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"17234131-6411-43c0-9d50-c159d990a952","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"17234131-6411-43c0-9d50-c159d990a952","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"e46c7a3cb860756f503d667ce2de5684","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.007","http_referrer":"","http_user_agent":"node-fetch","requestID":"e46c7a3cb860756f503d667ce2de5684"} device-1 | {"data":{"peerconnection":"bb01c552-d7f4-44ff-8541-17d3ba930277","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"17234131-6411-43c0-9d50-c159d990a952","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"954a7195-3a78-4444-9a29-bd1f01dced9e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"17234131-6411-43c0-9d50-c159d990a952","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"bb01c552-d7f4-44ff-8541-17d3ba930277","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"954a7195-3a78-4444-9a29-bd1f01dced9e","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"bb01c552-d7f4-44ff-8541-17d3ba930277","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1ec9f637f54a95876249331391af0cbb","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"1ec9f637f54a95876249331391af0cbb","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277"}}},"level":"info","message":"received a callback","requestID":"1ec9f637f54a95876249331391af0cbb"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"2f62f730-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":349,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbb01c552-d7f4-44ff-8541-17d3ba930277","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"80fa3277-eaaa-4133-804a-1591e20d1ec2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.017387} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":349,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.722762,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2f62f730-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"2f62f730-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"2f62f730-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277 200 12ms","method":"GET","requestID":"2f62f730-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 47ms","method":"POST","requestID":"1ec9f637f54a95876249331391af0cbb","responseTime":47,"status":200,"url":"/callbacks/experiment"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2f6938c0-75da-11ef-ba7c-09eaa4331ae1"} gateway-1 | {"time_local":"18/Sep/2024:16:22:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch","requestID":"1ec9f637f54a95876249331391af0cbb"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":350,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ce12d159-f0f3-4675-a5d4-db16ed53b4c2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.0580065} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":350,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.433156,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2f6938c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"2f6938c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2f6938c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/954a7195-3a78-4444-9a29-bd1f01dced9e/signaling 200 13ms","method":"POST","requestID":"2f6938c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/954a7195-3a78-4444-9a29-bd1f01dced9e/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2f6ba9c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":351,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f41a0870-c043-4090-807e-e04faa1a8b6c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.0755203} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":351,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.315332,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2f6ba9c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"2f6ba9c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2f6ba9c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/17234131-6411-43c0-9d50-c159d990a952/signaling 200 13ms","method":"POST","requestID":"2f6ba9c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/17234131-6411-43c0-9d50-c159d990a952/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0M30.8vE8tuMIcHm-f5jVYQ3IrtyRfuyGE89-BmXhKl1admY","level":"info","message":"auth send jwt","requestID":"76ce423784598d30b99fb1c5e1a5e86a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"76ce423784598d30b99fb1c5e1a5e86a","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c","requestID":"76ce423784598d30b99fb1c5e1a5e86a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":352,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":352,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.206274,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"76ce423784598d30b99fb1c5e1a5e86a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676543,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0M30.8vE8tuMIcHm-f5jVYQ3IrtyRfuyGE89-BmXhKl1admY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"76ce423784598d30b99fb1c5e1a5e86a","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c","requestID":"76ce423784598d30b99fb1c5e1a5e86a"} gateway-1 | {"time_local":"18/Sep/2024:16:22:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c HTTP/1.1","status": "200","body_bytes_sent":"885","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"76ce423784598d30b99fb1c5e1a5e86a"} experiment-1 | {"level":"info","message":"GET /experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c 200 17ms","method":"GET","requestID":"76ce423784598d30b99fb1c5e1a5e86a","responseTime":17,"status":200,"url":"/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0M30.8vE8tuMIcHm-f5jVYQ3IrtyRfuyGE89-BmXhKl1admY","level":"info","message":"auth send jwt","requestID":"9448fe7fcf5490d3cbd08c81b0c23098"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"9448fe7fcf5490d3cbd08c81b0c23098","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c","requestID":"9448fe7fcf5490d3cbd08c81b0c23098"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":353,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":353,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.298208,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9448fe7fcf5490d3cbd08c81b0c23098","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676543,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0M30.8vE8tuMIcHm-f5jVYQ3IrtyRfuyGE89-BmXhKl1admY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"9448fe7fcf5490d3cbd08c81b0c23098","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"},"level":"info","message":"Attempting to finish experiment","requestID":"9448fe7fcf5490d3cbd08c81b0c23098"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"2f8461e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":354,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":354,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":2.695568,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2f8461e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676543,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0M30.8vE8tuMIcHm-f5jVYQ3IrtyRfuyGE89-BmXhKl1admY"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"2f8461e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277","device":"954a7195-3a78-4444-9a29-bd1f01dced9e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"17234131-6411-43c0-9d50-c159d990a952","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"17234131-6411-43c0-9d50-c159d990a952","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"17234131-6411-43c0-9d50-c159d990a952","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"bb01c552-d7f4-44ff-8541-17d3ba930277","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbb01c552-d7f4-44ff-8541-17d3ba930277': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbb01c552-d7f4-44ff-8541-17d3ba930277","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"d7caaaab-d20d-4b1e-88e8-0ff12cb81da7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.2607522} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f1cac7c88bbd31288ea0b0f08956ce8e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c633fd0f-68c0-4ed0-9a91-85710d48cc14","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.2612007} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f1cac7c88bbd31288ea0b0f08956ce8e","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"974e1af86b9268771baed9fb7ad9a7a4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277"}}},"level":"info","message":"received a callback","requestID":"f1cac7c88bbd31288ea0b0f08956ce8e"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"974e1af86b9268771baed9fb7ad9a7a4","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"2f8461e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277"}}},"level":"info","message":"received a callback","requestID":"974e1af86b9268771baed9fb7ad9a7a4"} device-1 | {"data":{"peerconnection":"bb01c552-d7f4-44ff-8541-17d3ba930277","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"2f8461e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277 204 56ms","method":"DELETE","requestID":"2f8461e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":56,"status":204,"url":"/peerconnections/bb01c552-d7f4-44ff-8541-17d3ba930277"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"},"level":"info","message":"Successfully finished experiment","requestID":"9448fe7fcf5490d3cbd08c81b0c23098"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2f906fd0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":355,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F954a7195-3a78-4444-9a29-bd1f01dced9e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b84f4ffa-18bf-4f0d-aa72-17f38611e9b1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.316778} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":355,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.734989,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2f906fd0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"2f906fd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2f906fd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/954a7195-3a78-4444-9a29-bd1f01dced9e/signaling 200 15ms","method":"POST","requestID":"2f906fd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/954a7195-3a78-4444-9a29-bd1f01dced9e/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2f935600-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb01c145e-daa0-441c-ab3d-fb80cff08c8c': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb01c145e-daa0-441c-ab3d-fb80cff08c8c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"50068216-85f7-472c-86f3-6c6be45edf17","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.328444} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ccc860d4-4875-4db4-a15f-e6659ecc9dfb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.3289988} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"9448fe7fcf5490d3cbd08c81b0c23098","responseTime":23,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":356,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F17234131-6411-43c0-9d50-c159d990a952","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4682a7ab-0152-44b8-9e3e-ab0bc236e00a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.336417} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":356,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.084625,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2f935600-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"2f935600-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2f935600-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/17234131-6411-43c0-9d50-c159d990a952/signaling 200 14ms","method":"POST","requestID":"2f935600-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/17234131-6411-43c0-9d50-c159d990a952/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c","requestID":"9448fe7fcf5490d3cbd08c81b0c23098"} gateway-1 | {"time_local":"18/Sep/2024:16:22:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.186","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9448fe7fcf5490d3cbd08c81b0c23098"} experiment-1 | {"level":"info","message":"DELETE /experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c 204 181ms","method":"DELETE","requestID":"9448fe7fcf5490d3cbd08c81b0c23098","responseTime":181,"status":204,"url":"/experiments/b01c145e-daa0-441c-ab3d-fb80cff08c8c"} gateway-1 | {"time_local":"18/Sep/2024:16:22:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3030","request_time":"4.403","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"ff34d2033e334602403ef3e580991a22"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 133ms","method":"POST","requestID":"f1cac7c88bbd31288ea0b0f08956ce8e","responseTime":133,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.139","http_referrer":"","http_user_agent":"node-fetch","requestID":"f1cac7c88bbd31288ea0b0f08956ce8e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 131ms","method":"POST","requestID":"974e1af86b9268771baed9fb7ad9a7a4","responseTime":131,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.140","http_referrer":"","http_user_agent":"node-fetch","requestID":"974e1af86b9268771baed9fb7ad9a7a4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0M30.8vE8tuMIcHm-f5jVYQ3IrtyRfuyGE89-BmXhKl1admY","level":"info","message":"auth send jwt","requestID":"d72233267cfe99dbf962e6ec191ee519"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d72233267cfe99dbf962e6ec191ee519","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d72233267cfe99dbf962e6ec191ee519"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":357,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:23Z"} gateway-1 | {"time_local":"18/Sep/2024:16:22:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2891","request_time":"2.919","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"9764eaedeee1843c58d345f4aa41734f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":357,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.893745,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d72233267cfe99dbf962e6ec191ee519","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676543,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0M30.8vE8tuMIcHm-f5jVYQ3IrtyRfuyGE89-BmXhKl1admY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d72233267cfe99dbf962e6ec191ee519","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/17234131-6411-43c0-9d50-c159d990a952' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"b1bc8d9d-8521-4e50-b20e-4322a0e914bf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.4276721} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d72233267cfe99dbf962e6ec191ee519","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/954a7195-3a78-4444-9a29-bd1f01dced9e' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ce8c884c-211a-4e98-8298-8dfd1f060209","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.4339004} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"d72233267cfe99dbf962e6ec191ee519","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"e54264b6-2ddf-48fc-bac5-d28519b191e6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.4448254} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1e9221ed-1024-4e72-bfca-250712230fff","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.44491} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"d72233267cfe99dbf962e6ec191ee519","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:23.444799733Z"}]},"request_id":"0b37be42-a0f9-42e5-b448-7e0620e1a4ed","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.453174} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d72233267cfe99dbf962e6ec191ee519","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d72233267cfe99dbf962e6ec191ee519"} device-1 | {"level":"info","message":"POST /devices? 201 52ms","method":"POST","requestID":"d72233267cfe99dbf962e6ec191ee519","responseTime":52,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.058","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d72233267cfe99dbf962e6ec191ee519"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0M30.8vE8tuMIcHm-f5jVYQ3IrtyRfuyGE89-BmXhKl1admY","level":"info","message":"auth send jwt","requestID":"954917c994f02193feba6c295d7ebe1f"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"954917c994f02193feba6c295d7ebe1f","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"954917c994f02193feba6c295d7ebe1f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":358,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":358,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.880626,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:23Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"954917c994f02193feba6c295d7ebe1f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676543,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0M30.8vE8tuMIcHm-f5jVYQ3IrtyRfuyGE89-BmXhKl1admY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"954917c994f02193feba6c295d7ebe1f","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"7ee4667b-99f0-4e43-bf6b-127799d41826","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.482146} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"954917c994f02193feba6c295d7ebe1f","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3d3776ff-788d-44b9-86a4-6bac43170edb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.48738} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"954917c994f02193feba6c295d7ebe1f","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"ea992e3c-59c7-497e-8f46-1d01a49a1544","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.4971173} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c1041349-b137-470d-a401-18e1b047a983","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.4973323} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"954917c994f02193feba6c295d7ebe1f","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:23.497097905Z"}]},"request_id":"d1d6a9a0-1a87-4efc-b4ab-a9701e30a13c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676543.501324} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"954917c994f02193feba6c295d7ebe1f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"954917c994f02193feba6c295d7ebe1f"} gateway-1 | {"time_local":"18/Sep/2024:16:22:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.047","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"954917c994f02193feba6c295d7ebe1f"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"954917c994f02193feba6c295d7ebe1f","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3f546c1a6c05c482361cd145ebddf65e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"3f546c1a6c05c482361cd145ebddf65e","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/49ce2148-e468-4ae0-9b57-bda00c20182f/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"3f546c1a6c05c482361cd145ebddf65e"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"13152a967e33c34577dc9021087598d8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} device-1 | {"level":"info","message":"OPTIONS /devices/49ce2148-e468-4ae0-9b57-bda00c20182f/websocket 200 0ms","method":"OPTIONS","requestID":"3f546c1a6c05c482361cd145ebddf65e","responseTime":0,"status":200,"url":"/devices/49ce2148-e468-4ae0-9b57-bda00c20182f/websocket"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"13152a967e33c34577dc9021087598d8","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"13152a967e33c34577dc9021087598d8"} device-1 | {"level":"info","message":"OPTIONS /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2/websocket 200 1ms","method":"OPTIONS","requestID":"13152a967e33c34577dc9021087598d8","responseTime":1,"status":200,"url":"/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o","level":"info","message":"auth send jwt","requestID":"0f2a868b5df9babc1dcdd9c0a8ffb0c7"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"0f2a868b5df9babc1dcdd9c0a8ffb0c7","responseTime":6,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o","level":"info","message":"auth send jwt","requestID":"f2b8fe706b3f594b6836393e22714be3"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"f2b8fe706b3f594b6836393e22714be3","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"0f2a868b5df9babc1dcdd9c0a8ffb0c7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"f2b8fe706b3f594b6836393e22714be3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":359,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":359,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.794168,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0f2a868b5df9babc1dcdd9c0a8ffb0c7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676545,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0f2a868b5df9babc1dcdd9c0a8ffb0c7","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Received request.","req_id":360,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Sent response.","req_id":360,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.08664,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f2b8fe706b3f594b6836393e22714be3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676545,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"f2b8fe706b3f594b6836393e22714be3","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"0f2a868b5df9babc1dcdd9c0a8ffb0c7"} device-1 | {"level":"info","message":"POST /devices/49ce2148-e468-4ae0-9b57-bda00c20182f/websocket 200 24ms","method":"POST","requestID":"0f2a868b5df9babc1dcdd9c0a8ffb0c7","responseTime":24,"status":200,"url":"/devices/49ce2148-e468-4ae0-9b57-bda00c20182f/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/49ce2148-e468-4ae0-9b57-bda00c20182f/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.031","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"0f2a868b5df9babc1dcdd9c0a8ffb0c7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"f2b8fe706b3f594b6836393e22714be3"} device-1 | {"level":"info","message":"POST /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2/websocket 200 30ms","method":"POST","requestID":"f2b8fe706b3f594b6836393e22714be3","responseTime":30,"status":200,"url":"/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.037","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f2b8fe706b3f594b6836393e22714be3"} device-1 | {"level":"info","message":"device 'http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3c3aef25559615d41e604fe4bcd78d13","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"3c3aef25559615d41e604fe4bcd78d13","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"OPTIONS /devices/49ce2148-e468-4ae0-9b57-bda00c20182f? 200 0ms","method":"OPTIONS","requestID":"3c3aef25559615d41e604fe4bcd78d13","responseTime":0,"status":200,"url":"/devices/49ce2148-e468-4ae0-9b57-bda00c20182f?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/49ce2148-e468-4ae0-9b57-bda00c20182f? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"3c3aef25559615d41e604fe4bcd78d13"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f3b1cb4b50771d0d28f86eef654e5b4f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f3b1cb4b50771d0d28f86eef654e5b4f","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f3b1cb4b50771d0d28f86eef654e5b4f"} device-1 | {"level":"info","message":"OPTIONS /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2? 200 1ms","method":"OPTIONS","requestID":"f3b1cb4b50771d0d28f86eef654e5b4f","responseTime":1,"status":200,"url":"/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o","level":"info","message":"auth send jwt","requestID":"ed8ef839a17440b34efebc0fd7fe2d1b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ed8ef839a17440b34efebc0fd7fe2d1b","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"ed8ef839a17440b34efebc0fd7fe2d1b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":361,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o","level":"info","message":"auth send jwt","requestID":"ad8a7bd7709b8e7b70428c5f87d06d0c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ad8a7bd7709b8e7b70428c5f87d06d0c","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":361,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.155403,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"ad8a7bd7709b8e7b70428c5f87d06d0c"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ed8ef839a17440b34efebc0fd7fe2d1b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676545,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ed8ef839a17440b34efebc0fd7fe2d1b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":362,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":362,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.786129,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ad8a7bd7709b8e7b70428c5f87d06d0c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676545,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ad8a7bd7709b8e7b70428c5f87d06d0c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:23.497097905Z"}]},"request_id":"0cd29029-79e1-447c-8a91-f21045c8b7c4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.5660708} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ed8ef839a17440b34efebc0fd7fe2d1b","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:23.444799733Z"}]},"request_id":"1cd37d07-b986-4735-8d6c-2f67bfde952c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.567447} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ad8a7bd7709b8e7b70428c5f87d06d0c","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ae6d9473-33e8-4a3e-ad1c-6932260e8a5b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.5755043} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"ed8ef839a17440b34efebc0fd7fe2d1b","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"03ae7aee-228c-45cd-b55e-e3113637dcc2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.5807323} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"ad8a7bd7709b8e7b70428c5f87d06d0c","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:23.444799733Z"}]},"request_id":"72db1fb9-d994-4c0c-9876-e2bd2baa4e06","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.5845883} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ad8a7bd7709b8e7b70428c5f87d06d0c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"ad8a7bd7709b8e7b70428c5f87d06d0c"} gateway-1 | {"time_local":"18/Sep/2024:16:22:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.037","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ad8a7bd7709b8e7b70428c5f87d06d0c"} device-1 | {"level":"info","message":"PATCH /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2? 200 33ms","method":"PATCH","requestID":"ad8a7bd7709b8e7b70428c5f87d06d0c","responseTime":33,"status":200,"url":"/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:23.497097905Z"}]},"request_id":"5b8f67c1-f407-4c2e-8971-ce3ebe47d514","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.599947} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ed8ef839a17440b34efebc0fd7fe2d1b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"ed8ef839a17440b34efebc0fd7fe2d1b"} gateway-1 | {"time_local":"18/Sep/2024:16:22:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/49ce2148-e468-4ae0-9b57-bda00c20182f? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.060","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ed8ef839a17440b34efebc0fd7fe2d1b"} device-1 | {"level":"info","message":"PATCH /devices/49ce2148-e468-4ae0-9b57-bda00c20182f? 200 53ms","method":"PATCH","requestID":"ed8ef839a17440b34efebc0fd7fe2d1b","responseTime":53,"status":200,"url":"/devices/49ce2148-e468-4ae0-9b57-bda00c20182f?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o","level":"info","message":"auth send jwt","requestID":"f7a5ccd3748f58368aa71e2b771df37f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f7a5ccd3748f58368aa71e2b771df37f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f7a5ccd3748f58368aa71e2b771df37f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":363,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":363,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.007466,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f7a5ccd3748f58368aa71e2b771df37f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676545,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f7a5ccd3748f58368aa71e2b771df37f","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:23.444799733Z"}]},"request_id":"4440e530-585e-4092-9bfc-050c0e750d8e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.6228714} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f7a5ccd3748f58368aa71e2b771df37f","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f7a5ccd3748f58368aa71e2b771df37f"} device-1 | {"level":"info","message":"GET /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2? 200 11ms","method":"GET","requestID":"f7a5ccd3748f58368aa71e2b771df37f","responseTime":11,"status":200,"url":"/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f7a5ccd3748f58368aa71e2b771df37f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o","level":"info","message":"auth send jwt","requestID":"875dd0c061cb578e660c10a15f9dc0b2"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"875dd0c061cb578e660c10a15f9dc0b2","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"875dd0c061cb578e660c10a15f9dc0b2"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":364,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":364,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.649715,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"875dd0c061cb578e660c10a15f9dc0b2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676545,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"875dd0c061cb578e660c10a15f9dc0b2","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:23.497097905Z"}]},"request_id":"65b36024-e796-4efe-8540-e804dce44ee2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.6393173} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"875dd0c061cb578e660c10a15f9dc0b2","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"875dd0c061cb578e660c10a15f9dc0b2"} gateway-1 | {"time_local":"18/Sep/2024:16:22:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/49ce2148-e468-4ae0-9b57-bda00c20182f? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"875dd0c061cb578e660c10a15f9dc0b2"} device-1 | {"level":"info","message":"GET /devices/49ce2148-e468-4ae0-9b57-bda00c20182f? 200 11ms","method":"GET","requestID":"875dd0c061cb578e660c10a15f9dc0b2","responseTime":11,"status":200,"url":"/devices/49ce2148-e468-4ae0-9b57-bda00c20182f?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o","level":"info","message":"auth send jwt","requestID":"0a19ea27c4870df202653fe1895feaf8"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0a19ea27c4870df202653fe1895feaf8","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"0a19ea27c4870df202653fe1895feaf8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":365,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":365,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.719023,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0a19ea27c4870df202653fe1895feaf8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676545,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0a19ea27c4870df202653fe1895feaf8","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"},"level":"info","message":"Attempting to run experiment","requestID":"0a19ea27c4870df202653fe1895feaf8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"},"level":"info","message":"Attempting to book experiment","requestID":"0a19ea27c4870df202653fe1895feaf8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"},"level":"info","message":"Successfully booked experiment","requestID":"0a19ea27c4870df202653fe1895feaf8"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"30faae30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"30fad540-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":366,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":366,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.140481,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Received request.","req_id":367,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"30faae30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676545,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"30faae30-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Sent response.","req_id":367,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.133062,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"30fad540-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676545,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"30fad540-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:23.444799733Z"}]},"request_id":"e43546a1-22a7-40f3-9be4-9c2d42827521","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.692425} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"30faae30-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:23.497097905Z"}]},"request_id":"e19e1ff3-3690-42c7-a53f-4f342af823b6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.6930268} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"30fad540-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"30fad540-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/49ce2148-e468-4ae0-9b57-bda00c20182f? 200 13ms","method":"GET","requestID":"30fad540-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/49ce2148-e468-4ae0-9b57-bda00c20182f?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"30faae30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2? 200 14ms","method":"GET","requestID":"30faae30-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"},"level":"info","message":"Setting up experiment","requestID":"0a19ea27c4870df202653fe1895feaf8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"0a19ea27c4870df202653fe1895feaf8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"},"level":"info","message":"Successfully locked booking for experiment","requestID":"0a19ea27c4870df202653fe1895feaf8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"0a19ea27c4870df202653fe1895feaf8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"0a19ea27c4870df202653fe1895feaf8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"},"level":"info","message":"Attempting to update booking for experiment","requestID":"0a19ea27c4870df202653fe1895feaf8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"},"level":"info","message":"Successfully updated booking for experiment","requestID":"0a19ea27c4870df202653fe1895feaf8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"},"level":"info","message":"Successfully set up experiment","requestID":"0a19ea27c4870df202653fe1895feaf8"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3103aee0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3103d5f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3103fd00-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"},"level":"info","message":"Successfully running experiment","requestID":"0a19ea27c4870df202653fe1895feaf8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":368,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":368,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.743589,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Received request.","req_id":369,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3103aee0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676545,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3103aee0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Sent response.","req_id":369,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.642302,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3103d5f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676545,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3103d5f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:58714","level":"info","msg":"Received request.","req_id":370,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:23.497097905Z"}]},"request_id":"bfe85bf7-3e70-427a-a7ff-b373bf84c1a6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.7543547} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4750c9f4-2709-4a68-a81e-8fe687e6bb65","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.7546678} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3103d5f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:58714","level":"info","msg":"Sent response.","req_id":370,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.164053,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3103fd00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"3103fd00-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:23.444799733Z"}]},"request_id":"79942c1c-3b7a-4fa0-8c06-87ce198b9ee1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.7560208} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"3103aee0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3103d5f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/49ce2148-e468-4ae0-9b57-bda00c20182f? 200 18ms","method":"GET","requestID":"3103d5f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/49ce2148-e468-4ae0-9b57-bda00c20182f?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3103fd00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2/signaling 200 18ms","method":"POST","requestID":"3103fd00-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3103aee0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2? 200 21ms","method":"GET","requestID":"3103aee0-75da-11ef-ba7c-09eaa4331ae1","responseTime":21,"status":200,"url":"/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"31073150-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0951ec2c-6d57-4f5f-93b3-6b6e2c28819c#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0951ec2c-6d57-4f5f-93b3-6b6e2c28819c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"c3fc1f0d-4165-4f54-aec0-8a791393b147","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.7661874} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9526a977-1b10-4157-b5cd-7d90a1ce5bc3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.7664003} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"31077f70-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"0a19ea27c4870df202653fe1895feaf8","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":371,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":371,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.931333,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Received request.","req_id":372,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1fb0c445-d115-4f2c-90e1-730fafce901e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.7709029} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"31073150-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"31073150-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ff9d058e-9f63-442f-90b4-360c84e52e04","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.7739975} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Sent response.","req_id":372,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.251032,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"31077f70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"31073150-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"31077f70-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"POST /devices/49ce2148-e468-4ae0-9b57-bda00c20182f/signaling 200 11ms","method":"POST","requestID":"31073150-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/49ce2148-e468-4ae0-9b57-bda00c20182f/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"0a19ea27c4870df202653fe1895feaf8"} gateway-1 | {"time_local":"18/Sep/2024:16:22:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"778","request_time":"0.133","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0a19ea27c4870df202653fe1895feaf8"} experiment-1 | {"level":"info","message":"POST /experiments? 201 127ms","method":"POST","requestID":"0a19ea27c4870df202653fe1895feaf8","responseTime":127,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"31077f70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2/signaling 200 13ms","method":"POST","requestID":"31077f70-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o","level":"info","message":"auth send jwt","requestID":"374f328f088394f0ee784a09a2b1cd20"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"374f328f088394f0ee784a09a2b1cd20","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3109c960-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"374f328f088394f0ee784a09a2b1cd20"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":373,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Received request.","req_id":374,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"69f94b33-c8ff-4740-9c42-11e2874b0586","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.7877903} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Sent response.","req_id":374,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.582437,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"374f328f088394f0ee784a09a2b1cd20","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676545,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"374f328f088394f0ee784a09a2b1cd20","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":373,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.945749,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3109c960-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3109c960-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:23.444799733Z"}]},"request_id":"4e79b96e-aaac-4876-81ed-7963df6304b7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.7920501} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3109c960-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"374f328f088394f0ee784a09a2b1cd20","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"POST /devices/49ce2148-e468-4ae0-9b57-bda00c20182f/signaling 200 11ms","method":"POST","requestID":"3109c960-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/49ce2148-e468-4ae0-9b57-bda00c20182f/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"0a19ea27c4870df202653fe1895feaf8"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"310bc530-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"310bec40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"374f328f088394f0ee784a09a2b1cd20"} gateway-1 | {"time_local":"18/Sep/2024:16:22:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"374f328f088394f0ee784a09a2b1cd20"} device-1 | {"level":"info","message":"GET /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2? 200 13ms","method":"GET","requestID":"374f328f088394f0ee784a09a2b1cd20","responseTime":13,"status":200,"url":"/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":375,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":375,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.791558,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Received request.","req_id":376,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"310bc530-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676545,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"310bc530-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Sent response.","req_id":376,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.97558,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"310bec40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676545,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"310bec40-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o","level":"info","message":"auth send jwt","requestID":"a14eaf4f66e301687f9782312bf83985"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a14eaf4f66e301687f9782312bf83985","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a14eaf4f66e301687f9782312bf83985"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:23.444799733Z"}]},"request_id":"1c9364f3-29fc-47d6-bfc1-faf065b1a668","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.8037395} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"310bc530-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:23.497097905Z"}]},"request_id":"b4b6eba5-46d4-4fe8-8629-0a20bd112f6d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.8050818} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"310bc530-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"310bec40-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":377,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":377,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.01583,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} device-1 | {"level":"info","message":"GET /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2? 200 13ms","method":"GET","requestID":"310bc530-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a14eaf4f66e301687f9782312bf83985","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676545,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a14eaf4f66e301687f9782312bf83985","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"310bec40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:23.497097905Z"}]},"request_id":"80642b75-1963-43ea-b21a-1a88330477a0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.8136811} device-1 | {"level":"info","message":"GET /devices/49ce2148-e468-4ae0-9b57-bda00c20182f? 200 18ms","method":"GET","requestID":"310bec40-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/49ce2148-e468-4ae0-9b57-bda00c20182f?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a14eaf4f66e301687f9782312bf83985","responseTime":2,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"},"level":"info","message":"Building connection plan","requestID":"0a19ea27c4870df202653fe1895feaf8"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"bbc6dd84-f879-4044-9fb8-6f735388fdf3"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"e4cfbaa6-a539-4ce0-b165-0cf76b702e18"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/file","uuid":"ed148736-4722-47b5-98e9-542505f8d073"}]},"level":"info","message":"Built pairwise service configurations","requestID":"0a19ea27c4870df202653fe1895feaf8"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"0a19ea27c4870df202653fe1895feaf8"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"310f47a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a14eaf4f66e301687f9782312bf83985"} gateway-1 | {"time_local":"18/Sep/2024:16:22:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/49ce2148-e468-4ae0-9b57-bda00c20182f? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a14eaf4f66e301687f9782312bf83985"} device-1 | {"level":"info","message":"GET /devices/49ce2148-e468-4ae0-9b57-bda00c20182f? 200 18ms","method":"GET","requestID":"a14eaf4f66e301687f9782312bf83985","responseTime":18,"status":200,"url":"/devices/49ce2148-e468-4ae0-9b57-bda00c20182f?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":378,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":378,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.785155,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"310f47a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676545,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0NX0.c5n8_j97Hzvmzyx0pfGCB02SsSp_s4eXXLY1K5bdB3o"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"310f47a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"3a064ada-8011-4c55-b451-99707bfc074a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.8304973} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f9569dbc-2fb0-4c50-b2ee-c303f142234e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.8307567} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"310f47a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"310f47a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"310f47a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512'","requestID":"310f47a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512'","requestID":"310f47a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"310f47a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 25ms","method":"POST","requestID":"310f47a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"310f47a0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"0a19ea27c4870df202653fe1895feaf8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"31170fd0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":379,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8b47994f-8402-46ed-bc23-3c98be2f9e15","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.8745518} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":379,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.940277,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"31170fd0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"31170fd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"31170fd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2/signaling 200 9ms","method":"POST","requestID":"31170fd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3118bd80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":380,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2db4a3d2-54d2-49bc-b5e8-e85dea285875","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.8842435} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":380,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.504991,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3118bd80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3118bd80-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3118bd80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/49ce2148-e468-4ae0-9b57-bda00c20182f/signaling 200 9ms","method":"POST","requestID":"3118bd80-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/49ce2148-e468-4ae0-9b57-bda00c20182f/signaling"} device-1 | {"device":"a0e0fe3d-f4a1-404e-ad55-6297761a55a2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"a0e0fe3d-f4a1-404e-ad55-6297761a55a2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"49ce2148-e468-4ae0-9b57-bda00c20182f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"49ce2148-e468-4ae0-9b57-bda00c20182f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 1747355718349331438 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:G5A9\r\na=ice-pwd:rUsNYgoIsXxCZyZoxOWstV4Q\r\na=ice-options:trickle\r\na=fingerprint:sha-256 48:B8:0D:45:91:79:02:3A:48:45:D3:F6:16:B6:40:43:46:08:7A:25:D2:4E:A4:AE:F9:15:CB:40:83:9C:E6:E2\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"a0e0fe3d-f4a1-404e-ad55-6297761a55a2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 131927599292768378 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:n2Xa\r\na=ice-pwd:gj9oQObKBK9CUdeIv+k9ryoY\r\na=ice-options:trickle\r\na=fingerprint:sha-256 D7:A5:F7:99:E8:45:4C:D1:4B:86:AA:FB:3E:9B:FC:C5:CD:9E:DE:BB:27:33:39:EC:3D:45:79:C4:C2:12:8D:CE\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"49ce2148-e468-4ae0-9b57-bda00c20182f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1291421726 1 udp 2113937151 e82f53a1-4254-4974-b7c8-4d83be396579.local 55984 typ host generation 0 ufrag n2Xa network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"49ce2148-e468-4ae0-9b57-bda00c20182f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3755092237 1 udp 1677729535 141.24.211.56 55984 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag n2Xa network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"49ce2148-e468-4ae0-9b57-bda00c20182f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f'"} device-1 | {"content":{"candidate":"candidate:816911440 1 udp 2113937151 5cfc6190-7197-4c4b-9251-9eef5cb6e59b.local 45927 typ host generation 0 ufrag G5A9 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"a0e0fe3d-f4a1-404e-ad55-6297761a55a2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2744825155 1 udp 1677729535 141.24.211.56 45927 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag G5A9 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"a0e0fe3d-f4a1-404e-ad55-6297761a55a2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2'"} device-1 | {"device":"a0e0fe3d-f4a1-404e-ad55-6297761a55a2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"49ce2148-e468-4ae0-9b57-bda00c20182f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b32014c0-cc73-4c4a-b4b7-c00335ff5512","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"a0e0fe3d-f4a1-404e-ad55-6297761a55a2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"49ce2148-e468-4ae0-9b57-bda00c20182f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"49ce2148-e468-4ae0-9b57-bda00c20182f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d1872fa48e1ec7eb0307f741df54f85f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d1872fa48e1ec7eb0307f741df54f85f","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"a0e0fe3d-f4a1-404e-ad55-6297761a55a2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connecting","url":"http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512"}}},"level":"info","message":"received a callback","requestID":"d1872fa48e1ec7eb0307f741df54f85f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"d1872fa48e1ec7eb0307f741df54f85f","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"d1872fa48e1ec7eb0307f741df54f85f"} device-1 | {"device":"49ce2148-e468-4ae0-9b57-bda00c20182f","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"b32014c0-cc73-4c4a-b4b7-c00335ff5512","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"b32014c0-cc73-4c4a-b4b7-c00335ff5512","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b32014c0-cc73-4c4a-b4b7-c00335ff5512","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"348f3f4bb69ec72a2f88ecf592698c61","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"348f3f4bb69ec72a2f88ecf592698c61","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512"}}},"level":"info","message":"received a callback","requestID":"348f3f4bb69ec72a2f88ecf592698c61"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"31278a90-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":381,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb32014c0-cc73-4c4a-b4b7-c00335ff5512","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a5436cab-16dc-45b4-ae3e-766850bc7b61","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676545.982119} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":381,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.335126,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"31278a90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"31278a90-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"31278a90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512 200 9ms","method":"GET","requestID":"31278a90-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512"} gateway-1 | {"time_local":"18/Sep/2024:16:22:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.042","http_referrer":"","http_user_agent":"node-fetch","requestID":"348f3f4bb69ec72a2f88ecf592698c61"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 39ms","method":"POST","requestID":"348f3f4bb69ec72a2f88ecf592698c61","responseTime":39,"status":200,"url":"/callbacks/experiment"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"312cbab0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":382,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5a5b735c-9086-44ac-b84c-16273356ce78","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.0162268} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":382,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":6.292224,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"312cbab0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"312cbab0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"312cbab0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/49ce2148-e468-4ae0-9b57-bda00c20182f/signaling 200 13ms","method":"POST","requestID":"312cbab0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/49ce2148-e468-4ae0-9b57-bda00c20182f/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"312f2bb0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":383,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"26db91d3-26de-4985-b521-5898e2acb03d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.0317245} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":383,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.676008,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"312f2bb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"312f2bb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"312f2bb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2/signaling 200 9ms","method":"POST","requestID":"312f2bb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0Nn0.KlsO6f0YWRr_StPUDIEjvEVT-UFVMzOiJQBSUiUobKM","level":"info","message":"auth send jwt","requestID":"284afaa26bfcad24318d94ba7c0b67db"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"284afaa26bfcad24318d94ba7c0b67db","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c","requestID":"284afaa26bfcad24318d94ba7c0b67db"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":384,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":384,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":2.588725,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"284afaa26bfcad24318d94ba7c0b67db","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676546,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0Nn0.KlsO6f0YWRr_StPUDIEjvEVT-UFVMzOiJQBSUiUobKM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"284afaa26bfcad24318d94ba7c0b67db","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c","requestID":"284afaa26bfcad24318d94ba7c0b67db"} gateway-1 | {"time_local":"18/Sep/2024:16:22:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c HTTP/1.1","status": "200","body_bytes_sent":"851","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"284afaa26bfcad24318d94ba7c0b67db"} experiment-1 | {"level":"info","message":"GET /experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c 200 18ms","method":"GET","requestID":"284afaa26bfcad24318d94ba7c0b67db","responseTime":18,"status":200,"url":"/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0Nn0.KlsO6f0YWRr_StPUDIEjvEVT-UFVMzOiJQBSUiUobKM","level":"info","message":"auth send jwt","requestID":"f1b472fd7aa89b885c3b1434f296a963"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f1b472fd7aa89b885c3b1434f296a963","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c","requestID":"f1b472fd7aa89b885c3b1434f296a963"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":385,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":385,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.203043,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f1b472fd7aa89b885c3b1434f296a963","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676546,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0Nn0.KlsO6f0YWRr_StPUDIEjvEVT-UFVMzOiJQBSUiUobKM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f1b472fd7aa89b885c3b1434f296a963","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"},"level":"info","message":"Attempting to finish experiment","requestID":"f1b472fd7aa89b885c3b1434f296a963"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"314f5de0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":386,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":386,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.306326,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"314f5de0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676546,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0Nn0.KlsO6f0YWRr_StPUDIEjvEVT-UFVMzOiJQBSUiUobKM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"314f5de0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512","device":"49ce2148-e468-4ae0-9b57-bda00c20182f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512","device":"a0e0fe3d-f4a1-404e-ad55-6297761a55a2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b32014c0-cc73-4c4a-b4b7-c00335ff5512","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb32014c0-cc73-4c4a-b4b7-c00335ff5512': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb32014c0-cc73-4c4a-b4b7-c00335ff5512","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"473d23c1-0deb-4bae-8a10-26ec9eddd625","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.2619262} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3148dda2fba51f2af09be0b63bf27bea","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"45100462-94cf-4911-923f-ef0a4f1e0d99","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.2623427} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"3148dda2fba51f2af09be0b63bf27bea","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"314f5de0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512"}}},"level":"info","message":"received a callback","requestID":"3148dda2fba51f2af09be0b63bf27bea"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"31046a612ca45f157c0e8592d65b3370","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"31046a612ca45f157c0e8592d65b3370","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512"}}},"level":"info","message":"received a callback","requestID":"31046a612ca45f157c0e8592d65b3370"} device-1 | {"data":{"peerconnection":"b32014c0-cc73-4c4a-b4b7-c00335ff5512","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"314f5de0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512 204 44ms","method":"DELETE","requestID":"314f5de0-75da-11ef-ba7c-09eaa4331ae1","responseTime":44,"status":204,"url":"/peerconnections/b32014c0-cc73-4c4a-b4b7-c00335ff5512"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"},"level":"info","message":"Successfully finished experiment","requestID":"f1b472fd7aa89b885c3b1434f296a963"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"315948f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":387,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49ce2148-e468-4ae0-9b57-bda00c20182f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"efe897a7-4e8b-49a5-b518-89554f573bf4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.3097959} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":387,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.049549,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"315948f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"315948f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"315948f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/49ce2148-e468-4ae0-9b57-bda00c20182f/signaling 200 12ms","method":"POST","requestID":"315948f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/49ce2148-e468-4ae0-9b57-bda00c20182f/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0951ec2c-6d57-4f5f-93b3-6b6e2c28819c': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0951ec2c-6d57-4f5f-93b3-6b6e2c28819c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"73739006-7481-430c-955e-bfe0af841d92","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.316113} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"67615c6b-ed19-4292-aaf6-4e8ddf933c87","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.3166802} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"f1b472fd7aa89b885c3b1434f296a963","responseTime":17,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"315b92e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":388,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa0e0fe3d-f4a1-404e-ad55-6297761a55a2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4802ebf5-0e46-469b-85b3-74e7b320b4c5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.324018} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":388,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.049363,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"315b92e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"315b92e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"315b92e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2/signaling 200 11ms","method":"POST","requestID":"315b92e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c","requestID":"f1b472fd7aa89b885c3b1434f296a963"} gateway-1 | {"time_local":"18/Sep/2024:16:22:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.167","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f1b472fd7aa89b885c3b1434f296a963"} experiment-1 | {"level":"info","message":"DELETE /experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c 204 163ms","method":"DELETE","requestID":"f1b472fd7aa89b885c3b1434f296a963","responseTime":163,"status":204,"url":"/experiments/0951ec2c-6d57-4f5f-93b3-6b6e2c28819c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 121ms","method":"POST","requestID":"3148dda2fba51f2af09be0b63bf27bea","responseTime":121,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.125","http_referrer":"","http_user_agent":"node-fetch","requestID":"3148dda2fba51f2af09be0b63bf27bea"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 121ms","method":"POST","requestID":"31046a612ca45f157c0e8592d65b3370","responseTime":121,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.126","http_referrer":"","http_user_agent":"node-fetch","requestID":"31046a612ca45f157c0e8592d65b3370"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0Nn0.KlsO6f0YWRr_StPUDIEjvEVT-UFVMzOiJQBSUiUobKM","level":"info","message":"auth send jwt","requestID":"0baddb175c7bd6ee42d9505d3f51de0a"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0baddb175c7bd6ee42d9505d3f51de0a","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"0baddb175c7bd6ee42d9505d3f51de0a"} gateway-1 | {"time_local":"18/Sep/2024:16:22:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2973","request_time":"0.875","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"fd885a74a45f8a18b18909d6fc960f45"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":389,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:26Z"} gateway-1 | {"time_local":"18/Sep/2024:16:22:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2973","request_time":"0.885","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d2eee87f1aa48c630a4e11e26a0d2937"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":389,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.902833,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0baddb175c7bd6ee42d9505d3f51de0a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676546,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0Nn0.KlsO6f0YWRr_StPUDIEjvEVT-UFVMzOiJQBSUiUobKM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0baddb175c7bd6ee42d9505d3f51de0a","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/a0e0fe3d-f4a1-404e-ad55-6297761a55a2' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/49ce2148-e468-4ae0-9b57-bda00c20182f' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"b283bce2-7614-4a64-bc09-0e91993f81b8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.4211633} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0baddb175c7bd6ee42d9505d3f51de0a","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6b2439d2-0eef-4c2a-b272-26b82e8a8107","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.4254732} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"0baddb175c7bd6ee42d9505d3f51de0a","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"59f30fe7-6e38-48a2-80ab-735e231f984e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.4346988} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"274e3e4d-9632-4c69-a77b-a4ac1b0bd901","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.434745} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"0baddb175c7bd6ee42d9505d3f51de0a","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:26.434666318Z"}]},"request_id":"55c6797d-98a5-4d52-8e84-456bd2507c8f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.4390457} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0baddb175c7bd6ee42d9505d3f51de0a","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"0baddb175c7bd6ee42d9505d3f51de0a"} gateway-1 | {"time_local":"18/Sep/2024:16:22:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.056","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0baddb175c7bd6ee42d9505d3f51de0a"} device-1 | {"level":"info","message":"POST /devices? 201 49ms","method":"POST","requestID":"0baddb175c7bd6ee42d9505d3f51de0a","responseTime":49,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0Nn0.KlsO6f0YWRr_StPUDIEjvEVT-UFVMzOiJQBSUiUobKM","level":"info","message":"auth send jwt","requestID":"c6ceedff8b3b4c762c7c5d30f33cd323"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c6ceedff8b3b4c762c7c5d30f33cd323","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"c6ceedff8b3b4c762c7c5d30f33cd323"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":390,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":390,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.033526,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c6ceedff8b3b4c762c7c5d30f33cd323","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676546,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0Nn0.KlsO6f0YWRr_StPUDIEjvEVT-UFVMzOiJQBSUiUobKM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c6ceedff8b3b4c762c7c5d30f33cd323","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"c52a1950-7438-4c7b-aa22-d1262771d9c6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.461912} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c6ceedff8b3b4c762c7c5d30f33cd323","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b53b914f-0cd3-4c04-8455-d5aa98a940e5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.4657242} authorization-1 | {"level":"info","message":"POST /relations/update 200 2ms","method":"POST","requestID":"c6ceedff8b3b4c762c7c5d30f33cd323","responseTime":2,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"1d51927c-8810-4abc-b513-0819deede38b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.4813287} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d2670bfc-bafa-47b5-a6df-49229dc4e112","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.481466} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"c6ceedff8b3b4c762c7c5d30f33cd323","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:26.481301672Z"}]},"request_id":"312ea622-8d67-4bec-9bbe-d17d378cec81","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.4855077} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c6ceedff8b3b4c762c7c5d30f33cd323","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c6ceedff8b3b4c762c7c5d30f33cd323"} gateway-1 | {"time_local":"18/Sep/2024:16:22:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c6ceedff8b3b4c762c7c5d30f33cd323"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"c6ceedff8b3b4c762c7c5d30f33cd323","responseTime":40,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0Nn0.KlsO6f0YWRr_StPUDIEjvEVT-UFVMzOiJQBSUiUobKM","level":"info","message":"auth send jwt","requestID":"f5fb88befe9c0b8b1eaab2b02addd61d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f5fb88befe9c0b8b1eaab2b02addd61d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"f5fb88befe9c0b8b1eaab2b02addd61d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":391,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":391,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.224655,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f5fb88befe9c0b8b1eaab2b02addd61d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676546,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0Nn0.KlsO6f0YWRr_StPUDIEjvEVT-UFVMzOiJQBSUiUobKM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f5fb88befe9c0b8b1eaab2b02addd61d","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:26.481301672Z"}]},"request_id":"a1fa07eb-a96f-41b6-bbbd-9d92f32fae9c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.9692621} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f5fb88befe9c0b8b1eaab2b02addd61d","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"63a77f79-d06f-4495-9541-879bb92f031c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.9748309} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"f5fb88befe9c0b8b1eaab2b02addd61d","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:26.481301672Z"}]},"request_id":"dfb548fb-6c86-48ac-8211-01d68c25dbb4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676546.9864798} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f5fb88befe9c0b8b1eaab2b02addd61d","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"f5fb88befe9c0b8b1eaab2b02addd61d"} gateway-1 | {"time_local":"18/Sep/2024:16:22:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.036","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"f5fb88befe9c0b8b1eaab2b02addd61d"} device-1 | {"level":"info","message":"PATCH /devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545 200 30ms","method":"PATCH","requestID":"f5fb88befe9c0b8b1eaab2b02addd61d","responseTime":30,"status":200,"url":"/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0Nn0.KlsO6f0YWRr_StPUDIEjvEVT-UFVMzOiJQBSUiUobKM","level":"info","message":"auth send jwt","requestID":"994c1d91c8a7dbc32f2ae8657f27c039"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"994c1d91c8a7dbc32f2ae8657f27c039","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"994c1d91c8a7dbc32f2ae8657f27c039"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":392,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":392,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.250286,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:26Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"994c1d91c8a7dbc32f2ae8657f27c039","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676546,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0Nn0.KlsO6f0YWRr_StPUDIEjvEVT-UFVMzOiJQBSUiUobKM"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"994c1d91c8a7dbc32f2ae8657f27c039","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"994c1d91c8a7dbc32f2ae8657f27c039"} device-1 | {"level":"info","message":"POST /devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545/websocket 200 22ms","method":"POST","requestID":"994c1d91c8a7dbc32f2ae8657f27c039","responseTime":22,"status":200,"url":"/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.028","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"994c1d91c8a7dbc32f2ae8657f27c039"} device-1 | {"level":"info","message":"device 'http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"68be4f596a635beb7fd700ba1a651fdb","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"68be4f596a635beb7fd700ba1a651fdb","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/94954e39-3b99-46a9-8f9a-12da0469d388/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"68be4f596a635beb7fd700ba1a651fdb"} device-1 | {"level":"info","message":"OPTIONS /devices/94954e39-3b99-46a9-8f9a-12da0469d388/websocket 200 1ms","method":"OPTIONS","requestID":"68be4f596a635beb7fd700ba1a651fdb","responseTime":1,"status":200,"url":"/devices/94954e39-3b99-46a9-8f9a-12da0469d388/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM","level":"info","message":"auth send jwt","requestID":"10f12320f231983d68e3d8242989390b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"10f12320f231983d68e3d8242989390b","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"10f12320f231983d68e3d8242989390b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":393,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":393,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.208468,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"10f12320f231983d68e3d8242989390b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676548,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"10f12320f231983d68e3d8242989390b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"10f12320f231983d68e3d8242989390b"} device-1 | {"level":"info","message":"POST /devices/94954e39-3b99-46a9-8f9a-12da0469d388/websocket 200 23ms","method":"POST","requestID":"10f12320f231983d68e3d8242989390b","responseTime":23,"status":200,"url":"/devices/94954e39-3b99-46a9-8f9a-12da0469d388/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/94954e39-3b99-46a9-8f9a-12da0469d388/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.029","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"10f12320f231983d68e3d8242989390b"} device-1 | {"level":"info","message":"device 'http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"31689d3e1e3b54a5765d7537b0f3e931","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"31689d3e1e3b54a5765d7537b0f3e931","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/94954e39-3b99-46a9-8f9a-12da0469d388? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"31689d3e1e3b54a5765d7537b0f3e931"} device-1 | {"level":"info","message":"OPTIONS /devices/94954e39-3b99-46a9-8f9a-12da0469d388? 200 1ms","method":"OPTIONS","requestID":"31689d3e1e3b54a5765d7537b0f3e931","responseTime":1,"status":200,"url":"/devices/94954e39-3b99-46a9-8f9a-12da0469d388?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM","level":"info","message":"auth send jwt","requestID":"0bbf437a429f3c3b197631e81ab26e52"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0bbf437a429f3c3b197631e81ab26e52","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"0bbf437a429f3c3b197631e81ab26e52"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":394,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":394,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.274668,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0bbf437a429f3c3b197631e81ab26e52","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676548,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0bbf437a429f3c3b197631e81ab26e52","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:26.434666318Z"}]},"request_id":"379d00e9-5377-4af3-9e1c-fb936c909441","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.5942023} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"0bbf437a429f3c3b197631e81ab26e52","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0f902d14-4069-44f7-a629-9b64014bb7cf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.6028056} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"0bbf437a429f3c3b197631e81ab26e52","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:26.434666318Z"}]},"request_id":"b394a76b-0b6c-4910-86b1-6fea4832879a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.6143167} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0bbf437a429f3c3b197631e81ab26e52","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"0bbf437a429f3c3b197631e81ab26e52"} gateway-1 | {"time_local":"18/Sep/2024:16:22:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/94954e39-3b99-46a9-8f9a-12da0469d388? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.046","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"0bbf437a429f3c3b197631e81ab26e52"} device-1 | {"level":"info","message":"PATCH /devices/94954e39-3b99-46a9-8f9a-12da0469d388? 200 39ms","method":"PATCH","requestID":"0bbf437a429f3c3b197631e81ab26e52","responseTime":39,"status":200,"url":"/devices/94954e39-3b99-46a9-8f9a-12da0469d388?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM","level":"info","message":"auth send jwt","requestID":"8a1478132080ebf0bb632e2328b93499"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"8a1478132080ebf0bb632e2328b93499","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8a1478132080ebf0bb632e2328b93499"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":395,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":395,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.148986,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8a1478132080ebf0bb632e2328b93499","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676548,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8a1478132080ebf0bb632e2328b93499","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:26.434666318Z"}]},"request_id":"754f3c4c-43f4-4e72-9c52-ec9e78107dff","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.6443048} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8a1478132080ebf0bb632e2328b93499","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8a1478132080ebf0bb632e2328b93499"} gateway-1 | {"time_local":"18/Sep/2024:16:22:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/94954e39-3b99-46a9-8f9a-12da0469d388? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8a1478132080ebf0bb632e2328b93499"} device-1 | {"level":"info","message":"GET /devices/94954e39-3b99-46a9-8f9a-12da0469d388? 200 18ms","method":"GET","requestID":"8a1478132080ebf0bb632e2328b93499","responseTime":18,"status":200,"url":"/devices/94954e39-3b99-46a9-8f9a-12da0469d388?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM","level":"info","message":"auth send jwt","requestID":"9e1b3ea5e372dae75581949f6257ea36"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"9e1b3ea5e372dae75581949f6257ea36","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9e1b3ea5e372dae75581949f6257ea36"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":396,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":396,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.168463,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9e1b3ea5e372dae75581949f6257ea36","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676548,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9e1b3ea5e372dae75581949f6257ea36","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:26.481301672Z"}]},"request_id":"b2b1389e-c73a-4e53-988e-0ec6ede81343","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.6710339} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9e1b3ea5e372dae75581949f6257ea36","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9e1b3ea5e372dae75581949f6257ea36"} device-1 | {"level":"info","message":"GET /devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545? 200 18ms","method":"GET","requestID":"9e1b3ea5e372dae75581949f6257ea36","responseTime":18,"status":200,"url":"/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9e1b3ea5e372dae75581949f6257ea36"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM","level":"info","message":"auth send jwt","requestID":"e2bfd8a4b4bf896439459de1345621f7"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"e2bfd8a4b4bf896439459de1345621f7","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"e2bfd8a4b4bf896439459de1345621f7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":397,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":397,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":2.759509,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e2bfd8a4b4bf896439459de1345621f7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676548,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"e2bfd8a4b4bf896439459de1345621f7","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"},"level":"info","message":"Attempting to run experiment","requestID":"e2bfd8a4b4bf896439459de1345621f7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"},"level":"info","message":"Attempting to book experiment","requestID":"e2bfd8a4b4bf896439459de1345621f7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"},"level":"info","message":"Successfully booked experiment","requestID":"e2bfd8a4b4bf896439459de1345621f7"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"32cb9da0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"32cbebc0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":398,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":398,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.399218,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Received request.","req_id":399,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"32cb9da0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676548,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"32cb9da0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Sent response.","req_id":399,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.77952,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"32cbebc0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676548,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"32cbebc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:26.434666318Z"}]},"request_id":"2f399fa6-e82c-4338-ae51-608d74e5f165","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.7437103} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"32cb9da0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:26.481301672Z"}]},"request_id":"192cf92a-d172-4533-a06b-f4803b7bde7f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.744885} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"32cbebc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"32cb9da0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/94954e39-3b99-46a9-8f9a-12da0469d388? 200 20ms","method":"GET","requestID":"32cb9da0-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/94954e39-3b99-46a9-8f9a-12da0469d388?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"32cbebc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545? 200 19ms","method":"GET","requestID":"32cbebc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"},"level":"info","message":"Setting up experiment","requestID":"e2bfd8a4b4bf896439459de1345621f7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"e2bfd8a4b4bf896439459de1345621f7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"},"level":"info","message":"Successfully locked booking for experiment","requestID":"e2bfd8a4b4bf896439459de1345621f7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"e2bfd8a4b4bf896439459de1345621f7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"e2bfd8a4b4bf896439459de1345621f7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"},"level":"info","message":"Attempting to update booking for experiment","requestID":"e2bfd8a4b4bf896439459de1345621f7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"},"level":"info","message":"Successfully updated booking for experiment","requestID":"e2bfd8a4b4bf896439459de1345621f7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"},"level":"info","message":"Successfully set up experiment","requestID":"e2bfd8a4b4bf896439459de1345621f7"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"32d7ab90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"32d7f9b0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"},"level":"info","message":"Successfully running experiment","requestID":"e2bfd8a4b4bf896439459de1345621f7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"32d86ee0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":400,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":400,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.316813,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Received request.","req_id":401,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"32d7ab90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676548,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"32d7ab90-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Sent response.","req_id":401,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.203001,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"client_addr":"127.0.0.1:58714","level":"info","msg":"Received request.","req_id":402,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"32d7f9b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676548,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"32d7f9b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ba3d30dc-ec1e-4e03-9407-ba037652d098","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.8288655} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:26.434666318Z"}]},"request_id":"5ceb9d32-4bf5-4a70-8e41-f83500d5ccbb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.8301587} authorization-1 | {"client_addr":"127.0.0.1:58714","level":"info","msg":"Sent response.","req_id":402,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":6.33174,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"32d86ee0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"32d86ee0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"32d7ab90-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:26.481301672Z"}]},"request_id":"8cd3b4d5-23ce-46fb-aa72-e910840db950","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.8332407} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"32d7f9b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ffc7924f8-48dc-4e95-93e1-851c3263ec84#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ffc7924f8-48dc-4e95-93e1-851c3263ec84","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"ab943c60-13f5-43ae-9565-ef22646bf551","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.8422117} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2f0caaac-ae1a-4a82-8811-5568ace42413","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.842776} authorization-1 | {"level":"info","message":"POST /relations/update 200 26ms","method":"POST","requestID":"e2bfd8a4b4bf896439459de1345621f7","responseTime":26,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"32d86ee0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/94954e39-3b99-46a9-8f9a-12da0469d388/signaling 200 34ms","method":"POST","requestID":"32d86ee0-75da-11ef-ba7c-09eaa4331ae1","responseTime":34,"status":200,"url":"/devices/94954e39-3b99-46a9-8f9a-12da0469d388/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"32d7ab90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/94954e39-3b99-46a9-8f9a-12da0469d388? 200 40ms","method":"GET","requestID":"32d7ab90-75da-11ef-ba7c-09eaa4331ae1","responseTime":40,"status":200,"url":"/devices/94954e39-3b99-46a9-8f9a-12da0469d388?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"32d7f9b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545? 200 39ms","method":"GET","requestID":"32d7f9b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":39,"status":200,"url":"/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"32de1430-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":403,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"32deb070-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7de873af-cf2c-45e7-8265-be4c9822fd0c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.857736} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":403,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.397064,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Received request.","req_id":404,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"32de1430-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"e2bfd8a4b4bf896439459de1345621f7"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"32de1430-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:22:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"782","request_time":"0.182","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e2bfd8a4b4bf896439459de1345621f7"} experiment-1 | {"level":"info","message":"POST /experiments? 201 175ms","method":"POST","requestID":"e2bfd8a4b4bf896439459de1345621f7","responseTime":175,"status":201,"url":"/experiments?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dc02a017-614d-438d-88ab-dbfd8de12d0a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.8626242} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Sent response.","req_id":404,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.526133,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"32deb070-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"32deb070-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"32de1430-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545/signaling 200 14ms","method":"POST","requestID":"32de1430-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM","level":"info","message":"auth send jwt","requestID":"93ebf97be42be34ebb01f02be9a3075c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"32deb070-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/94954e39-3b99-46a9-8f9a-12da0469d388/signaling 200 12ms","method":"POST","requestID":"32deb070-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/94954e39-3b99-46a9-8f9a-12da0469d388/signaling"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"93ebf97be42be34ebb01f02be9a3075c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"93ebf97be42be34ebb01f02be9a3075c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"32e0fa60-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":405,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":405,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.966852,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"93ebf97be42be34ebb01f02be9a3075c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676548,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"93ebf97be42be34ebb01f02be9a3075c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Received request.","req_id":406,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"61c71ff1-80a5-4c5f-aa5b-baeb65a4835b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.8762805} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Sent response.","req_id":406,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.092796,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"32e0fa60-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"32e0fa60-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:26.434666318Z"}]},"request_id":"7f643f98-669e-47a3-b02f-0cf8cf7d7974","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.8783824} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"93ebf97be42be34ebb01f02be9a3075c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"32e0fa60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545/signaling 200 13ms","method":"POST","requestID":"32e0fa60-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"93ebf97be42be34ebb01f02be9a3075c"} gateway-1 | {"time_local":"18/Sep/2024:16:22:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/94954e39-3b99-46a9-8f9a-12da0469d388? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"93ebf97be42be34ebb01f02be9a3075c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"e2bfd8a4b4bf896439459de1345621f7"} device-1 | {"level":"info","message":"GET /devices/94954e39-3b99-46a9-8f9a-12da0469d388? 200 16ms","method":"GET","requestID":"93ebf97be42be34ebb01f02be9a3075c","responseTime":16,"status":200,"url":"/devices/94954e39-3b99-46a9-8f9a-12da0469d388?"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"32e34450-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"32e39270-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":407,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM","level":"info","message":"auth send jwt","requestID":"e67b673eacba1341936202d04eb02e17"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e67b673eacba1341936202d04eb02e17","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e67b673eacba1341936202d04eb02e17"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":407,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.803332,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Received request.","req_id":408,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"32e34450-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676548,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"32e34450-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:58702","level":"info","msg":"Sent response.","req_id":408,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.941541,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":409,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"32e39270-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676548,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"32e39270-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":409,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.60867,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e67b673eacba1341936202d04eb02e17","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676548,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e67b673eacba1341936202d04eb02e17","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:26.434666318Z"}]},"request_id":"83e89921-372b-4fb5-8eac-0cc0a8ba0b2e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.8952553} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"32e34450-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:26.481301672Z"}]},"request_id":"663de926-c877-40be-bd48-892bf352f6fd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.8975687} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"32e39270-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:26.481301672Z"}]},"request_id":"0d5b2b65-0cc8-4820-939d-25ecae5e31cb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.899738} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"32e34450-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/94954e39-3b99-46a9-8f9a-12da0469d388? 200 15ms","method":"GET","requestID":"32e34450-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/94954e39-3b99-46a9-8f9a-12da0469d388?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e67b673eacba1341936202d04eb02e17","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"32e39270-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545? 200 17ms","method":"GET","requestID":"32e39270-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e67b673eacba1341936202d04eb02e17"} device-1 | {"level":"info","message":"GET /devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545? 200 16ms","method":"GET","requestID":"e67b673eacba1341936202d04eb02e17","responseTime":16,"status":200,"url":"/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e67b673eacba1341936202d04eb02e17"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"},"level":"info","message":"Building connection plan","requestID":"e2bfd8a4b4bf896439459de1345621f7"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"d0253321-8585-4ccb-8322-a2360245c58e"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"d85551c6-ecb1-4f29-8025-862bf7ec1fe6"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/file","uuid":"95e168f1-76e1-449c-8577-c1ddddb2964d"}]},"level":"info","message":"Built pairwise service configurations","requestID":"e2bfd8a4b4bf896439459de1345621f7"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"e2bfd8a4b4bf896439459de1345621f7"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"32e69fb0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":410,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":410,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.755986,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"32e69fb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676548,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU0OH0.fCswX9TmiIl6Nj06WCj7PhaDbhvwXl9dfTHzELOXEnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"32e69fb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"4ffc1e50-5f07-470c-89bd-66512abe57be","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.9196393} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4726d9e1-7e46-4bed-99bd-06e1aff13bb7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.919939} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"32e69fb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"32e69fb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"32e69fb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/fb640212-620f-4254-b4e0-bf8717324803'","requestID":"32e69fb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/fb640212-620f-4254-b4e0-bf8717324803'","requestID":"32e69fb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"32e69fb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 23ms","method":"POST","requestID":"32e69fb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":23,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"32e69fb0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"e2bfd8a4b4bf896439459de1345621f7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"32ee67e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":411,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6caf6c22-df09-42bc-9aba-338e9d55a7ff","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.962874} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":411,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.157885,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"32ee67e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"32ee67e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"32ee67e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/94954e39-3b99-46a9-8f9a-12da0469d388/signaling 200 9ms","method":"POST","requestID":"32ee67e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/94954e39-3b99-46a9-8f9a-12da0469d388/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"32f01590-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":412,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cbf994c9-d375-4aa7-ade5-d4e068e0c917","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676548.973878} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":412,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.275087,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"32f01590-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"32f01590-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"device":"94954e39-3b99-46a9-8f9a-12da0469d388","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"94954e39-3b99-46a9-8f9a-12da0469d388","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"32f01590-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545/signaling 200 10ms","method":"POST","requestID":"32f01590-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545/signaling"} device-1 | {"device":"4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"fb640212-620f-4254-b4e0-bf8717324803","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 2035820704843116466 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:+O0+\r\na=ice-pwd:Vz3YNG7EirKJ1RGqrCV7Cc4H\r\na=ice-options:trickle\r\na=fingerprint:sha-256 5F:76:49:9C:12:DF:65:C8:B0:64:C9:C5:AC:E4:6F:E1:51:A2:E9:05:BC:3F:34:FE:9C:C7:34:D0:71:36:32:1D\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"94954e39-3b99-46a9-8f9a-12da0469d388","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:246316347 1 udp 2113937151 e00847bc-9fa5-4529-b26e-09d858678089.local 52557 typ host generation 0 ufrag +O0+ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"94954e39-3b99-46a9-8f9a-12da0469d388","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"94954e39-3b99-46a9-8f9a-12da0469d388","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:2642795560 1 udp 1677729535 141.24.211.56 52557 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag +O0+ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"94954e39-3b99-46a9-8f9a-12da0469d388","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388'"} device-1 | {"device":"94954e39-3b99-46a9-8f9a-12da0469d388","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388'"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/fb640212-620f-4254-b4e0-bf8717324803' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"fb640212-620f-4254-b4e0-bf8717324803","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d902d757f602cf2f1b0c48fe031f8955","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d902d757f602cf2f1b0c48fe031f8955","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connecting","url":"http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/fb640212-620f-4254-b4e0-bf8717324803"}}},"level":"info","message":"received a callback","requestID":"d902d757f602cf2f1b0c48fe031f8955"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"d902d757f602cf2f1b0c48fe031f8955","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.007","http_referrer":"","http_user_agent":"node-fetch","requestID":"d902d757f602cf2f1b0c48fe031f8955"} device-1 | {"data":{"peerconnection":"fb640212-620f-4254-b4e0-bf8717324803","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"94954e39-3b99-46a9-8f9a-12da0469d388","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"data":{"peerconnection":"fb640212-620f-4254-b4e0-bf8717324803","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"94954e39-3b99-46a9-8f9a-12da0469d388","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/fb640212-620f-4254-b4e0-bf8717324803' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"fb640212-620f-4254-b4e0-bf8717324803","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ee40ba175234fbf224ea3932dbccb365","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ee40ba175234fbf224ea3932dbccb365","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/fb640212-620f-4254-b4e0-bf8717324803"}}},"level":"info","message":"received a callback","requestID":"ee40ba175234fbf224ea3932dbccb365"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"342d5080-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":413,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ffb640212-620f-4254-b4e0-bf8717324803","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"66b1e6be-6c63-42e9-98b3-7d077e0e2fd1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.0532832} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":413,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.47911,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/fb640212-620f-4254-b4e0-bf8717324803","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"342d5080-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/fb640212-620f-4254-b4e0-bf8717324803","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"342d5080-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"342d5080-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/fb640212-620f-4254-b4e0-bf8717324803 200 9ms","method":"GET","requestID":"342d5080-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/peerconnections/fb640212-620f-4254-b4e0-bf8717324803"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 42ms","method":"POST","requestID":"ee40ba175234fbf224ea3932dbccb365","responseTime":42,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.045","http_referrer":"","http_user_agent":"node-fetch","requestID":"ee40ba175234fbf224ea3932dbccb365"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3432f5d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":414,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b6c1996a-55b7-4540-a37d-073e45563c27","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.0902407} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":414,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.528719,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3432f5d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3432f5d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3432f5d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/94954e39-3b99-46a9-8f9a-12da0469d388/signaling 200 10ms","method":"POST","requestID":"3432f5d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/94954e39-3b99-46a9-8f9a-12da0469d388/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3434ca90-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":415,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a96b110f-341a-4bd1-96a5-2cf2627ec385","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.101947} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":415,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.479663,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3434ca90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3434ca90-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3434ca90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545/signaling 200 10ms","method":"POST","requestID":"3434ca90-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1MX0.NKzEolu0fyw9KMsfuFeS3jxbIaWmPU32oVYCz_BfFRI","level":"info","message":"auth send jwt","requestID":"72b8b7255a0b7d1f746769d7d575d0d0"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"72b8b7255a0b7d1f746769d7d575d0d0","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84","requestID":"72b8b7255a0b7d1f746769d7d575d0d0"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":416,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":416,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.256298,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"72b8b7255a0b7d1f746769d7d575d0d0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676551,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1MX0.NKzEolu0fyw9KMsfuFeS3jxbIaWmPU32oVYCz_BfFRI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"72b8b7255a0b7d1f746769d7d575d0d0","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84","requestID":"72b8b7255a0b7d1f746769d7d575d0d0"} gateway-1 | {"time_local":"18/Sep/2024:16:22:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84 HTTP/1.1","status": "200","body_bytes_sent":"855","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"72b8b7255a0b7d1f746769d7d575d0d0"} experiment-1 | {"level":"info","message":"GET /experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84 200 16ms","method":"GET","requestID":"72b8b7255a0b7d1f746769d7d575d0d0","responseTime":16,"status":200,"url":"/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1MX0.NKzEolu0fyw9KMsfuFeS3jxbIaWmPU32oVYCz_BfFRI","level":"info","message":"auth send jwt","requestID":"872eee3bbf8b8cedefcadcc3d80850ef"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"872eee3bbf8b8cedefcadcc3d80850ef","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84","requestID":"872eee3bbf8b8cedefcadcc3d80850ef"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":417,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":417,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.33742,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"872eee3bbf8b8cedefcadcc3d80850ef","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676551,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1MX0.NKzEolu0fyw9KMsfuFeS3jxbIaWmPU32oVYCz_BfFRI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"872eee3bbf8b8cedefcadcc3d80850ef","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"},"level":"info","message":"Attempting to finish experiment","requestID":"872eee3bbf8b8cedefcadcc3d80850ef"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"345c4fc0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":418,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":418,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":2.355517,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/fb640212-620f-4254-b4e0-bf8717324803","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"345c4fc0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/fb640212-620f-4254-b4e0-bf8717324803","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676551,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1MX0.NKzEolu0fyw9KMsfuFeS3jxbIaWmPU32oVYCz_BfFRI"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"345c4fc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/fb640212-620f-4254-b4e0-bf8717324803","device":"94954e39-3b99-46a9-8f9a-12da0469d388","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/fb640212-620f-4254-b4e0-bf8717324803' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/fb640212-620f-4254-b4e0-bf8717324803' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"fb640212-620f-4254-b4e0-bf8717324803","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ffb640212-620f-4254-b4e0-bf8717324803': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ffb640212-620f-4254-b4e0-bf8717324803","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"0a1ea861-78f0-493a-b11c-8bf38413b5fb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.379524} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"26af3026-ea0c-43d0-b58f-1f4dab6b4cb6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.379867} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"eba26de70d9ce6102e1af0444bf29110","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"345c4fc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"eba26de70d9ce6102e1af0444bf29110","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/fb640212-620f-4254-b4e0-bf8717324803"}}},"level":"info","message":"received a callback","requestID":"eba26de70d9ce6102e1af0444bf29110"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b7bc6126707ccf83e65888e659c6ca59","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b7bc6126707ccf83e65888e659c6ca59","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/fb640212-620f-4254-b4e0-bf8717324803"}}},"level":"info","message":"received a callback","requestID":"b7bc6126707ccf83e65888e659c6ca59"} device-1 | {"data":{"peerconnection":"fb640212-620f-4254-b4e0-bf8717324803","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"345c4fc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/fb640212-620f-4254-b4e0-bf8717324803 204 43ms","method":"DELETE","requestID":"345c4fc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":43,"status":204,"url":"/peerconnections/fb640212-620f-4254-b4e0-bf8717324803"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"},"level":"info","message":"Successfully finished experiment","requestID":"872eee3bbf8b8cedefcadcc3d80850ef"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"34657780-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":419,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94954e39-3b99-46a9-8f9a-12da0469d388","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bc28c1b0-e6ab-4f4a-9c04-f5025b171c9b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.420386} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":419,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.576995,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"34657780-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"34657780-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"34657780-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/94954e39-3b99-46a9-8f9a-12da0469d388/signaling 200 8ms","method":"POST","requestID":"34657780-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/94954e39-3b99-46a9-8f9a-12da0469d388/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ffc7924f8-48dc-4e95-93e1-851c3263ec84': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ffc7924f8-48dc-4e95-93e1-851c3263ec84","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"aec4e94c-178f-4499-a83a-10c1b0fc9b42","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.4255724} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a734b583-1b72-4268-bba0-0967d07f0451","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.425831} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"34672530-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"872eee3bbf8b8cedefcadcc3d80850ef","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":420,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6c2b6f7a-a775-47c8-bb29-eef3e289adc3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.4316504} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":420,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.37383,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"34672530-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"34672530-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"34672530-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545/signaling 200 9ms","method":"POST","requestID":"34672530-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84","requestID":"872eee3bbf8b8cedefcadcc3d80850ef"} gateway-1 | {"time_local":"18/Sep/2024:16:22:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.151","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"872eee3bbf8b8cedefcadcc3d80850ef"} experiment-1 | {"level":"info","message":"DELETE /experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84 204 147ms","method":"DELETE","requestID":"872eee3bbf8b8cedefcadcc3d80850ef","responseTime":147,"status":204,"url":"/experiments/fc7924f8-48dc-4e95-93e1-851c3263ec84"} gateway-1 | {"time_local":"18/Sep/2024:16:22:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2924","request_time":"4.467","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"3c53b4f279e0b264cd0f63250efb3fdd"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 107ms","method":"POST","requestID":"eba26de70d9ce6102e1af0444bf29110","responseTime":107,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.110","http_referrer":"","http_user_agent":"node-fetch","requestID":"eba26de70d9ce6102e1af0444bf29110"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 107ms","method":"POST","requestID":"b7bc6126707ccf83e65888e659c6ca59","responseTime":107,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.111","http_referrer":"","http_user_agent":"node-fetch","requestID":"b7bc6126707ccf83e65888e659c6ca59"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1MX0.NKzEolu0fyw9KMsfuFeS3jxbIaWmPU32oVYCz_BfFRI","level":"info","message":"auth send jwt","requestID":"4479d24a388e14104ae228c996f8c6eb"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4479d24a388e14104ae228c996f8c6eb","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"4479d24a388e14104ae228c996f8c6eb"} gateway-1 | {"time_local":"18/Sep/2024:16:22:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2462","request_time":"2.964","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"3c0b1b2d4c94fa46ab48cdcf5f3764f8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":421,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":421,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.978053,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4479d24a388e14104ae228c996f8c6eb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676551,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1MX0.NKzEolu0fyw9KMsfuFeS3jxbIaWmPU32oVYCz_BfFRI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4479d24a388e14104ae228c996f8c6eb","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/4f8d4dd5-eafc-4171-9cbd-e2779eaa6545' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"8fb5a0e9-bfa4-4a3b-bcb0-753827fea3a0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.5129504} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4479d24a388e14104ae228c996f8c6eb","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/94954e39-3b99-46a9-8f9a-12da0469d388' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"32c3c61a-7926-4674-a98b-e963ad30b71d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.5185082} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"4479d24a388e14104ae228c996f8c6eb","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"cb528966-babe-4b64-9fb9-c0186e74b811","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.5288572} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ae836c2c-b7f0-41b7-bc9e-26a7f33ee810","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.529106} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"4479d24a388e14104ae228c996f8c6eb","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:31.528835200Z"}]},"request_id":"20a34fd7-71e8-439c-94c3-985c11250401","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.533821} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4479d24a388e14104ae228c996f8c6eb","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"4479d24a388e14104ae228c996f8c6eb"} gateway-1 | {"time_local":"18/Sep/2024:16:22:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4479d24a388e14104ae228c996f8c6eb"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"4479d24a388e14104ae228c996f8c6eb","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1MX0.NKzEolu0fyw9KMsfuFeS3jxbIaWmPU32oVYCz_BfFRI","level":"info","message":"auth send jwt","requestID":"193251fe9cf398998905efa48e68f044"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"193251fe9cf398998905efa48e68f044","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"193251fe9cf398998905efa48e68f044"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":422,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":422,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.719913,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:31Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"193251fe9cf398998905efa48e68f044","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676551,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1MX0.NKzEolu0fyw9KMsfuFeS3jxbIaWmPU32oVYCz_BfFRI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"193251fe9cf398998905efa48e68f044","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"b55e4e4d-8ac0-4b5c-8549-71230545fd35","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.5640304} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"193251fe9cf398998905efa48e68f044","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"af9a54a6-7c07-4e83-92d1-541608a318dc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.568749} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"193251fe9cf398998905efa48e68f044","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"60c4606f-3b61-4201-95aa-5e2aaba1c0b1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.578826} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"308c1ad3-74c1-4da6-b471-4161612120a3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.5788953} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"193251fe9cf398998905efa48e68f044","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:31.578786376Z"}]},"request_id":"60c1dd6d-fe96-42af-abef-e79f262758f4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676551.5832212} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"193251fe9cf398998905efa48e68f044","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"193251fe9cf398998905efa48e68f044"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"193251fe9cf398998905efa48e68f044","responseTime":43,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"193251fe9cf398998905efa48e68f044"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1Mn0.Vw-x0qkZ6tepbfEU1pVHLvCmpvh8tH8Qx_LPAzplPDg","level":"info","message":"auth send jwt","requestID":"9f5f2176a21e661bc61f5f21c2737f4b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9f5f2176a21e661bc61f5f21c2737f4b","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"9f5f2176a21e661bc61f5f21c2737f4b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":423,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:32Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":423,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.202547,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:32Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9f5f2176a21e661bc61f5f21c2737f4b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676552,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1Mn0.Vw-x0qkZ6tepbfEU1pVHLvCmpvh8tH8Qx_LPAzplPDg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9f5f2176a21e661bc61f5f21c2737f4b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:31.528835200Z"}]},"request_id":"422d2515-1ee6-445e-a4b9-e57db0840292","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676552.067306} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9f5f2176a21e661bc61f5f21c2737f4b","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0d356788-7e0c-4306-8bae-423a0dfaf177","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676552.0742645} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"9f5f2176a21e661bc61f5f21c2737f4b","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:31.528835200Z"}]},"request_id":"8d58b4ff-6322-454f-b203-d8087ec1531f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676552.086541} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9f5f2176a21e661bc61f5f21c2737f4b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"9f5f2176a21e661bc61f5f21c2737f4b"} device-1 | {"level":"info","message":"PATCH /devices/79434f77-a9a2-4991-9510-f78c9da419ef 200 36ms","method":"PATCH","requestID":"9f5f2176a21e661bc61f5f21c2737f4b","responseTime":36,"status":200,"url":"/devices/79434f77-a9a2-4991-9510-f78c9da419ef"} gateway-1 | {"time_local":"18/Sep/2024:16:22:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/79434f77-a9a2-4991-9510-f78c9da419ef HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.042","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"9f5f2176a21e661bc61f5f21c2737f4b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1Mn0.Vw-x0qkZ6tepbfEU1pVHLvCmpvh8tH8Qx_LPAzplPDg","level":"info","message":"auth send jwt","requestID":"a6f8ef7a24529dc7db4c10e90fe3b025"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a6f8ef7a24529dc7db4c10e90fe3b025","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"a6f8ef7a24529dc7db4c10e90fe3b025"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":424,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:32Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":424,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.248848,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:32Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a6f8ef7a24529dc7db4c10e90fe3b025","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676552,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1Mn0.Vw-x0qkZ6tepbfEU1pVHLvCmpvh8tH8Qx_LPAzplPDg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a6f8ef7a24529dc7db4c10e90fe3b025","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"a6f8ef7a24529dc7db4c10e90fe3b025"} gateway-1 | {"time_local":"18/Sep/2024:16:22:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/79434f77-a9a2-4991-9510-f78c9da419ef/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"a6f8ef7a24529dc7db4c10e90fe3b025"} device-1 | {"level":"info","message":"POST /devices/79434f77-a9a2-4991-9510-f78c9da419ef/websocket 200 21ms","method":"POST","requestID":"a6f8ef7a24529dc7db4c10e90fe3b025","responseTime":21,"status":200,"url":"/devices/79434f77-a9a2-4991-9510-f78c9da419ef/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ce1878fdc9b26e2e1e55603d34eecb9b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"ce1878fdc9b26e2e1e55603d34eecb9b","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ce1878fdc9b26e2e1e55603d34eecb9b"} device-1 | {"level":"info","message":"OPTIONS /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca/websocket 200 1ms","method":"OPTIONS","requestID":"ce1878fdc9b26e2e1e55603d34eecb9b","responseTime":1,"status":200,"url":"/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE","level":"info","message":"auth send jwt","requestID":"7b3f2da0092dd4180fd43fc20a492bb4"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"7b3f2da0092dd4180fd43fc20a492bb4","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"7b3f2da0092dd4180fd43fc20a492bb4"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":425,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":425,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.257043,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b3f2da0092dd4180fd43fc20a492bb4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676553,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7b3f2da0092dd4180fd43fc20a492bb4","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"7b3f2da0092dd4180fd43fc20a492bb4"} device-1 | {"level":"info","message":"POST /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca/websocket 200 19ms","method":"POST","requestID":"7b3f2da0092dd4180fd43fc20a492bb4","responseTime":19,"status":200,"url":"/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"7b3f2da0092dd4180fd43fc20a492bb4"} device-1 | {"level":"info","message":"device 'http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bf0b2511eac96cf373ab12c26727e868","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"bf0b2511eac96cf373ab12c26727e868","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"bf0b2511eac96cf373ab12c26727e868"} device-1 | {"level":"info","message":"OPTIONS /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca? 200 2ms","method":"OPTIONS","requestID":"bf0b2511eac96cf373ab12c26727e868","responseTime":2,"status":200,"url":"/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE","level":"info","message":"auth send jwt","requestID":"52063527dc359b549ac2c2de413e45cd"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"52063527dc359b549ac2c2de413e45cd","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"52063527dc359b549ac2c2de413e45cd"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":426,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":426,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.233091,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"52063527dc359b549ac2c2de413e45cd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676553,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"52063527dc359b549ac2c2de413e45cd","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:31.578786376Z"}]},"request_id":"22745420-b111-417b-908a-d11e756c63df","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676553.7174346} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"52063527dc359b549ac2c2de413e45cd","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e5af29fc-6162-42c3-ad84-932f9172d698","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676553.7266939} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"52063527dc359b549ac2c2de413e45cd","responseTime":7,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:31.578786376Z"}]},"request_id":"2a614aa9-cdbc-46dd-bb0b-92c0516d47ba","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676553.7380376} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"52063527dc359b549ac2c2de413e45cd","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"52063527dc359b549ac2c2de413e45cd"} gateway-1 | {"time_local":"18/Sep/2024:16:22:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.047","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"52063527dc359b549ac2c2de413e45cd"} device-1 | {"level":"info","message":"PATCH /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca? 200 40ms","method":"PATCH","requestID":"52063527dc359b549ac2c2de413e45cd","responseTime":40,"status":200,"url":"/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE","level":"info","message":"auth send jwt","requestID":"d23fecf0e6bc18755418c1b53f581995"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d23fecf0e6bc18755418c1b53f581995","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d23fecf0e6bc18755418c1b53f581995"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":427,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":427,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.241849,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d23fecf0e6bc18755418c1b53f581995","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676553,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d23fecf0e6bc18755418c1b53f581995","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:31.528835200Z"}]},"request_id":"2fc5bc5c-6bb6-45a9-9f71-5df4ffd688f3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676553.768548} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"d23fecf0e6bc18755418c1b53f581995","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d23fecf0e6bc18755418c1b53f581995"} device-1 | {"level":"info","message":"GET /devices/79434f77-a9a2-4991-9510-f78c9da419ef? 200 18ms","method":"GET","requestID":"d23fecf0e6bc18755418c1b53f581995","responseTime":18,"status":200,"url":"/devices/79434f77-a9a2-4991-9510-f78c9da419ef?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/79434f77-a9a2-4991-9510-f78c9da419ef? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d23fecf0e6bc18755418c1b53f581995"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE","level":"info","message":"auth send jwt","requestID":"563afa774a08e468c46bb4d9a7e0693e"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"563afa774a08e468c46bb4d9a7e0693e","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"563afa774a08e468c46bb4d9a7e0693e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":428,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":428,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.349945,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"563afa774a08e468c46bb4d9a7e0693e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676553,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"563afa774a08e468c46bb4d9a7e0693e","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:31.578786376Z"}]},"request_id":"9997d281-c34a-4596-b149-7f6b272cf1ff","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676553.7951639} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"563afa774a08e468c46bb4d9a7e0693e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"563afa774a08e468c46bb4d9a7e0693e"} gateway-1 | {"time_local":"18/Sep/2024:16:22:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"563afa774a08e468c46bb4d9a7e0693e"} device-1 | {"level":"info","message":"GET /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca? 200 18ms","method":"GET","requestID":"563afa774a08e468c46bb4d9a7e0693e","responseTime":18,"status":200,"url":"/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE","level":"info","message":"auth send jwt","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5732f5a71eaf40ff534679f0b1f623f5","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":429,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":429,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.242491,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5732f5a71eaf40ff534679f0b1f623f5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676553,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5732f5a71eaf40ff534679f0b1f623f5","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"},"level":"info","message":"Attempting to run experiment","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"},"level":"info","message":"Attempting to book experiment","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"},"level":"info","message":"Successfully booked experiment","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"35d979e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"35d9a0f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":430,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":430,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.39486,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"35d979e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676553,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"35d979e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Received request.","req_id":431,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Sent response.","req_id":431,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.216512,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"35d9a0f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676553,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"35d9a0f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:31.528835200Z"}]},"request_id":"680781db-5c96-47d9-9fd9-9623534ca18d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676553.8649173} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"35d979e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:31.578786376Z"}]},"request_id":"714c241e-f517-43a1-b881-a1256be39354","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676553.871757} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"35d979e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"35d9a0f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/79434f77-a9a2-4991-9510-f78c9da419ef? 200 20ms","method":"GET","requestID":"35d979e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/79434f77-a9a2-4991-9510-f78c9da419ef?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"35d9a0f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca? 200 24ms","method":"GET","requestID":"35d9a0f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"},"level":"info","message":"Setting up experiment","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"},"level":"info","message":"Successfully locked booking for experiment","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"},"level":"info","message":"Attempting to update booking for experiment","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"},"level":"info","message":"Successfully updated booking for experiment","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"},"level":"info","message":"Successfully set up experiment","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"35e4c480-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"35e512a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"35e560c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":432,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":432,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.723862,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Received request.","req_id":433,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:33Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"},"level":"info","message":"Successfully running experiment","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"35e4c480-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676553,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"35e4c480-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Sent response.","req_id":433,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.038571,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"35e512a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676553,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"35e512a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40788","level":"info","msg":"Received request.","req_id":434,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"client_addr":"127.0.0.1:40788","level":"info","msg":"Sent response.","req_id":434,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.090975,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:31.578786376Z"}]},"request_id":"8de75b56-bd7a-4748-a539-aa2893036fe3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676553.950149} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e95957e1-a7e1-4e20-ae21-79beb975a47c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676553.9502735} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"35e512a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"35e560c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 18ms","method":"POST","requestID":"35e560c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:31.528835200Z"}]},"request_id":"4c0fa323-73f6-4571-8f73-bb7db45e73ac","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676553.9517188} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"35e4c480-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"35e512a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca? 200 31ms","method":"GET","requestID":"35e512a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":31,"status":200,"url":"/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"35e560c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/79434f77-a9a2-4991-9510-f78c9da419ef/signaling 200 31ms","method":"POST","requestID":"35e560c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":31,"status":200,"url":"/devices/79434f77-a9a2-4991-9510-f78c9da419ef/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"35e4c480-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/79434f77-a9a2-4991-9510-f78c9da419ef? 200 36ms","method":"GET","requestID":"35e4c480-75da-11ef-ba7c-09eaa4331ae1","responseTime":36,"status":200,"url":"/devices/79434f77-a9a2-4991-9510-f78c9da419ef?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"35ea69d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"35eab7f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbdd499ef-0d39-41fe-a2a3-9781a3f49bed#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbdd499ef-0d39-41fe-a2a3-9781a3f49bed","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"e0243d7c-dc05-4078-a777-3a096c104fc9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676553.962741} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"faf15472-8787-4a31-937a-44ded751c53a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676553.9629796} authorization-1 | {"level":"info","message":"POST /relations/update 200 27ms","method":"POST","requestID":"5732f5a71eaf40ff534679f0b1f623f5","responseTime":27,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":435,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Received request.","req_id":436,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b10bc23f-73e4-41e4-b678-61a2497c851f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676553.9748664} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":435,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.714401,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"35ea69d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"35ea69d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"291e4438-f4d8-4a05-96ec-28ff1f373efe","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676553.9757912} gateway-1 | {"time_local":"18/Sep/2024:16:22:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"782","request_time":"0.174","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} experiment-1 | {"level":"info","message":"POST /experiments? 201 167ms","method":"POST","requestID":"5732f5a71eaf40ff534679f0b1f623f5","responseTime":167,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Sent response.","req_id":436,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.325333,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"35eab7f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"35eab7f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"35ea69d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca/signaling 200 15ms","method":"POST","requestID":"35ea69d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE","level":"info","message":"auth send jwt","requestID":"09ab2a097aca433bb26aafdce3e7e641"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"35eab7f0-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"09ab2a097aca433bb26aafdce3e7e641","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"POST /devices/79434f77-a9a2-4991-9510-f78c9da419ef/signaling 200 15ms","method":"POST","requestID":"35eab7f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/79434f77-a9a2-4991-9510-f78c9da419ef/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"09ab2a097aca433bb26aafdce3e7e641"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"35ed5000-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":437,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":437,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.732294,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Received request.","req_id":438,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"09ab2a097aca433bb26aafdce3e7e641","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676553,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"09ab2a097aca433bb26aafdce3e7e641","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a5ace56a-e80a-4906-a01c-969eeb848ea3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676553.9882498} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Sent response.","req_id":438,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.325134,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"35ed5000-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"35ed5000-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:31.528835200Z"}]},"request_id":"de910af3-8d13-4b4c-8d1b-13e817953b64","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676553.9915977} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"35ed5000-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca/signaling 200 8ms","method":"POST","requestID":"35ed5000-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"09ab2a097aca433bb26aafdce3e7e641","responseTime":2,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"35eefdb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"35ef24c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"09ab2a097aca433bb26aafdce3e7e641"} device-1 | {"level":"info","message":"GET /devices/79434f77-a9a2-4991-9510-f78c9da419ef? 200 14ms","method":"GET","requestID":"09ab2a097aca433bb26aafdce3e7e641","responseTime":14,"status":200,"url":"/devices/79434f77-a9a2-4991-9510-f78c9da419ef?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":439,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:33Z"} gateway-1 | {"time_local":"18/Sep/2024:16:22:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/79434f77-a9a2-4991-9510-f78c9da419ef? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"09ab2a097aca433bb26aafdce3e7e641"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":439,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.918131,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Received request.","req_id":440,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"35eefdb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676553,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"35eefdb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Sent response.","req_id":440,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.736206,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"35ef24c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676553,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"35ef24c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1NH0.vnuXOfeR1AsB3oLtTS4aQqDTH34BkAYlA7S2tH5VqEw","level":"info","message":"auth send jwt","requestID":"38e31d7b5f2131b9b476c1d641ba9d74"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"38e31d7b5f2131b9b476c1d641ba9d74","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"38e31d7b5f2131b9b476c1d641ba9d74"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:31.528835200Z"}]},"request_id":"4cebd271-6c64-4c71-bee1-b0906d76962e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676554.0046911} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"35eefdb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:31.578786376Z"}]},"request_id":"8dbab154-0bed-4f29-879d-f9fb1bb08719","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676554.0057175} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"35ef24c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":441,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:34Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":441,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.738984,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:34Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"38e31d7b5f2131b9b476c1d641ba9d74","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676554,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1NH0.vnuXOfeR1AsB3oLtTS4aQqDTH34BkAYlA7S2tH5VqEw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"38e31d7b5f2131b9b476c1d641ba9d74","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"35eefdb0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:31.578786376Z"}]},"request_id":"5100c701-5181-4f0e-be43-351df01553fd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676554.01196} device-1 | {"level":"info","message":"GET /devices/79434f77-a9a2-4991-9510-f78c9da419ef? 200 17ms","method":"GET","requestID":"35eefdb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/79434f77-a9a2-4991-9510-f78c9da419ef?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"38e31d7b5f2131b9b476c1d641ba9d74","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"35ef24c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca? 200 17ms","method":"GET","requestID":"35ef24c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"},"level":"info","message":"Building connection plan","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"dfc52727-18ab-4587-bfed-d0dc6aaa499c"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"95ae1c3d-9be6-4634-bef2-3289db6e8378"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/file","uuid":"1f0929fc-a824-4a5f-9c7e-f84350ecbd04"}]},"level":"info","message":"Built pairwise service configurations","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"38e31d7b5f2131b9b476c1d641ba9d74"} gateway-1 | {"time_local":"18/Sep/2024:16:22:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"38e31d7b5f2131b9b476c1d641ba9d74"} device-1 | {"level":"info","message":"GET /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca? 200 12ms","method":"GET","requestID":"38e31d7b5f2131b9b476c1d641ba9d74","responseTime":12,"status":200,"url":"/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca?"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"35f23200-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":442,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:34Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":442,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.814847,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:34Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"35f23200-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676553,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1M30.y6B_a9UGabSk1Mu1l7bXih--_ofiUWk625ImXhP-weE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"35f23200-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"1ea45497-2b1e-434c-8c32-b2be95ce3ea0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676554.0274699} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d5417962-244e-4b4b-b741-e9fec9283c36","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676554.027711} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"35f23200-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"35f23200-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"35f23200-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf'","requestID":"35f23200-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf'","requestID":"35f23200-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"35f23200-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 24ms","method":"POST","requestID":"35f23200-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"35f23200-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"5732f5a71eaf40ff534679f0b1f623f5"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"35fa4850-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":443,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:34Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e40b0c18-c34e-457e-a992-36c540c1c3d0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676554.0738692} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":443,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.59683,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:34Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"35fa4850-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"device":"1ea141c9-ec37-4119-b12b-761c5ca866ca","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"1ea141c9-ec37-4119-b12b-761c5ca866ca","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"35fa4850-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"35fa4850-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/79434f77-a9a2-4991-9510-f78c9da419ef/signaling 200 13ms","method":"POST","requestID":"35fa4850-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/79434f77-a9a2-4991-9510-f78c9da419ef/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 1417651845009919725 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:WGxq\r\na=ice-pwd:0cpiI5Mfy21OMFZfHA/h810h\r\na=ice-options:trickle\r\na=fingerprint:sha-256 37:72:2F:3D:0E:1B:3A:77:25:CF:1E:B0:A7:DD:BC:60:A1:02:55:99:2A:1B:84:9A:CF:4D:EA:DB:8A:34:82:8C\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"1ea141c9-ec37-4119-b12b-761c5ca866ca","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"35fcb950-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":444,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:34Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"927e831a-d704-4538-a74f-8ee9d6ee7525","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676554.0895984} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":444,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.057568,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:34Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"35fcb950-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"35fcb950-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"35fcb950-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca/signaling 200 8ms","method":"POST","requestID":"35fcb950-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca/signaling"} device-1 | {"device":"79434f77-a9a2-4991-9510-f78c9da419ef","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"614f1c1f-c1ce-4b1f-8b89-26db1290afbf","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"79434f77-a9a2-4991-9510-f78c9da419ef","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"79434f77-a9a2-4991-9510-f78c9da419ef","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"79434f77-a9a2-4991-9510-f78c9da419ef","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"79434f77-a9a2-4991-9510-f78c9da419ef","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"614f1c1f-c1ce-4b1f-8b89-26db1290afbf","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7afd7f703437d32a957a6ab0450d8e67","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"7afd7f703437d32a957a6ab0450d8e67","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connecting","url":"http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf"}}},"level":"info","message":"received a callback","requestID":"7afd7f703437d32a957a6ab0450d8e67"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"7afd7f703437d32a957a6ab0450d8e67","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"7afd7f703437d32a957a6ab0450d8e67"} device-1 | {"content":{"candidate":"candidate:3237878357 1 udp 2113937151 ace6816c-2ccf-4ab1-ae7f-83764823ca5c.local 48530 typ host generation 0 ufrag WGxq network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"1ea141c9-ec37-4119-b12b-761c5ca866ca","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1406516038 1 udp 1677729535 141.24.211.56 48530 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag WGxq network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"1ea141c9-ec37-4119-b12b-761c5ca866ca","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3992518836 1 udp 33562623 141.24.210.113 51561 typ relay raddr 141.24.211.56 rport 48530 generation 0 ufrag WGxq network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"1ea141c9-ec37-4119-b12b-761c5ca866ca","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"1ea141c9-ec37-4119-b12b-761c5ca866ca","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca'"} device-1 | {"data":{"peerconnection":"614f1c1f-c1ce-4b1f-8b89-26db1290afbf","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"1ea141c9-ec37-4119-b12b-761c5ca866ca","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"79434f77-a9a2-4991-9510-f78c9da419ef","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"1ea141c9-ec37-4119-b12b-761c5ca866ca","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"79434f77-a9a2-4991-9510-f78c9da419ef","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"614f1c1f-c1ce-4b1f-8b89-26db1290afbf","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"614f1c1f-c1ce-4b1f-8b89-26db1290afbf","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"dcd488e46fa1f76d2dd041cb3397de9d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"dcd488e46fa1f76d2dd041cb3397de9d","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf"}}},"level":"info","message":"received a callback","requestID":"dcd488e46fa1f76d2dd041cb3397de9d"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"373bc900-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":445,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F614f1c1f-c1ce-4b1f-8b89-26db1290afbf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ecf39f33-4b5b-4d68-ae5c-d2c3bd0e09a6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.1806235} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":445,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.44492,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"373bc900-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"373bc900-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"373bc900-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf 200 9ms","method":"GET","requestID":"373bc900-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 33ms","method":"POST","requestID":"dcd488e46fa1f76d2dd041cb3397de9d","responseTime":33,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.037","http_referrer":"","http_user_agent":"node-fetch","requestID":"dcd488e46fa1f76d2dd041cb3397de9d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"373fe7b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":446,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"704ff750-ebc9-4c61-a252-fc334c307c4a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.2084599} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":446,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.7445,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"373fe7b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"373fe7b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"373fe7b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/79434f77-a9a2-4991-9510-f78c9da419ef/signaling 200 10ms","method":"POST","requestID":"373fe7b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/79434f77-a9a2-4991-9510-f78c9da419ef/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3741bc70-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":447,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f25ff2f1-361b-4196-9615-69e03c61ec72","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.2203557} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":447,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.52309,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3741bc70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3741bc70-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3741bc70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca/signaling 200 10ms","method":"POST","requestID":"3741bc70-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1Nn0.RlZrBVoo6YksOC1DH064dDuDESQW1oJNIp1OWg9pidY","level":"info","message":"auth send jwt","requestID":"10b420215a555e21ee5b39ef84d7fa5e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"10b420215a555e21ee5b39ef84d7fa5e","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed","requestID":"10b420215a555e21ee5b39ef84d7fa5e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":448,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":448,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.270846,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"10b420215a555e21ee5b39ef84d7fa5e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676556,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1Nn0.RlZrBVoo6YksOC1DH064dDuDESQW1oJNIp1OWg9pidY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"10b420215a555e21ee5b39ef84d7fa5e","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed","requestID":"10b420215a555e21ee5b39ef84d7fa5e"} experiment-1 | {"level":"info","message":"GET /experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed 200 16ms","method":"GET","requestID":"10b420215a555e21ee5b39ef84d7fa5e","responseTime":16,"status":200,"url":"/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"} gateway-1 | {"time_local":"18/Sep/2024:16:22:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed HTTP/1.1","status": "200","body_bytes_sent":"855","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"10b420215a555e21ee5b39ef84d7fa5e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1Nn0.RlZrBVoo6YksOC1DH064dDuDESQW1oJNIp1OWg9pidY","level":"info","message":"auth send jwt","requestID":"d09832793feb2594d025d184f95de712"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"d09832793feb2594d025d184f95de712","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed","requestID":"d09832793feb2594d025d184f95de712"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":449,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":449,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.224565,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d09832793feb2594d025d184f95de712","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676556,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1Nn0.RlZrBVoo6YksOC1DH064dDuDESQW1oJNIp1OWg9pidY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d09832793feb2594d025d184f95de712","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"},"level":"info","message":"Attempting to finish experiment","requestID":"d09832793feb2594d025d184f95de712"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"37606800-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":450,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":450,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.171841,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"37606800-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676556,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1Nn0.RlZrBVoo6YksOC1DH064dDuDESQW1oJNIp1OWg9pidY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"37606800-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf","device":"1ea141c9-ec37-4119-b12b-761c5ca866ca","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"79434f77-a9a2-4991-9510-f78c9da419ef","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"79434f77-a9a2-4991-9510-f78c9da419ef","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"79434f77-a9a2-4991-9510-f78c9da419ef","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"614f1c1f-c1ce-4b1f-8b89-26db1290afbf","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"796470761134f7d56d5c54725ff05728","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"796470761134f7d56d5c54725ff05728","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b85dbd46a71ccb28a2843c2982a2baa1","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dd51144d-9e84-4598-8e98-5951492f3244","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.4435} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf"}}},"level":"info","message":"received a callback","requestID":"796470761134f7d56d5c54725ff05728"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F614f1c1f-c1ce-4b1f-8b89-26db1290afbf': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F614f1c1f-c1ce-4b1f-8b89-26db1290afbf","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"a8159663-cecb-41b8-ab43-4a93e0d67ff6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.443935} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b85dbd46a71ccb28a2843c2982a2baa1","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf"}}},"level":"info","message":"received a callback","requestID":"b85dbd46a71ccb28a2843c2982a2baa1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"37606800-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"614f1c1f-c1ce-4b1f-8b89-26db1290afbf","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"37606800-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf 204 47ms","method":"DELETE","requestID":"37606800-75da-11ef-ba7c-09eaa4331ae1","responseTime":47,"status":204,"url":"/peerconnections/614f1c1f-c1ce-4b1f-8b89-26db1290afbf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"},"level":"info","message":"Successfully finished experiment","requestID":"d09832793feb2594d025d184f95de712"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"376b3d70-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":451,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F79434f77-a9a2-4991-9510-f78c9da419ef","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9786a469-8ce4-4f5e-b121-605d97fcefe9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.494057} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":451,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.4618,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"376b3d70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"376b3d70-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"376b3d70-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbdd499ef-0d39-41fe-a2a3-9781a3f49bed': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbdd499ef-0d39-41fe-a2a3-9781a3f49bed","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"5b24d117-641d-404f-8111-2a5e4859a5cc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.5010827} device-1 | {"level":"info","message":"POST /devices/79434f77-a9a2-4991-9510-f78c9da419ef/signaling 200 14ms","method":"POST","requestID":"376b3d70-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/79434f77-a9a2-4991-9510-f78c9da419ef/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"56bf6ebc-2177-4f67-a5df-bd5f1637ff1e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.5015059} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"d09832793feb2594d025d184f95de712","responseTime":18,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"376dfc90-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":452,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1ea141c9-ec37-4119-b12b-761c5ca866ca","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"468e5cfa-9f50-4106-8874-85e3f89cfcd4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.5123246} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":452,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.550591,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"376dfc90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"376dfc90-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"376dfc90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/1ea141c9-ec37-4119-b12b-761c5ca866ca/signaling 200 14ms","method":"POST","requestID":"376dfc90-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed","requestID":"d09832793feb2594d025d184f95de712"} gateway-1 | {"time_local":"18/Sep/2024:16:22:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.176","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d09832793feb2594d025d184f95de712"} experiment-1 | {"level":"info","message":"DELETE /experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed 204 171ms","method":"DELETE","requestID":"d09832793feb2594d025d184f95de712","responseTime":171,"status":204,"url":"/experiments/bdd499ef-0d39-41fe-a2a3-9781a3f49bed"} gateway-1 | {"time_local":"18/Sep/2024:16:22:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3318","request_time":"4.450","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"734fd82963db80522888dabce92e3aef"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 132ms","method":"POST","requestID":"796470761134f7d56d5c54725ff05728","responseTime":132,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.135","http_referrer":"","http_user_agent":"node-fetch","requestID":"796470761134f7d56d5c54725ff05728"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 131ms","method":"POST","requestID":"b85dbd46a71ccb28a2843c2982a2baa1","responseTime":131,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.136","http_referrer":"","http_user_agent":"node-fetch","requestID":"b85dbd46a71ccb28a2843c2982a2baa1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1Nn0.RlZrBVoo6YksOC1DH064dDuDESQW1oJNIp1OWg9pidY","level":"info","message":"auth send jwt","requestID":"57902aca77b55e33dbcc2a84a813541b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"57902aca77b55e33dbcc2a84a813541b","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"57902aca77b55e33dbcc2a84a813541b"} gateway-1 | {"time_local":"18/Sep/2024:16:22:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2457","request_time":"2.927","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"00aff0a799a0b229b5caf599abcd31e9"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":453,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":453,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.817827,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57902aca77b55e33dbcc2a84a813541b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676556,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1Nn0.RlZrBVoo6YksOC1DH064dDuDESQW1oJNIp1OWg9pidY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"57902aca77b55e33dbcc2a84a813541b","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/79434f77-a9a2-4991-9510-f78c9da419ef' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"6d491f3b-ba00-43f4-8175-8ad2058096c0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.6040432} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"57902aca77b55e33dbcc2a84a813541b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/1ea141c9-ec37-4119-b12b-761c5ca866ca' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e8958b79-a2b9-4dff-907c-673b8fe756ab","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.6101334} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"57902aca77b55e33dbcc2a84a813541b","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"83f249e7-98e3-43c3-92a5-011f943ecd97","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.6198108} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"66c6e6be-928d-4fab-acd7-fd4b6e6a666a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.6200416} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"57902aca77b55e33dbcc2a84a813541b","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:36.619787043Z"}]},"request_id":"25ae5b47-f7f3-46cd-8cea-16544ad845a4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.6241188} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"57902aca77b55e33dbcc2a84a813541b","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"57902aca77b55e33dbcc2a84a813541b"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"57902aca77b55e33dbcc2a84a813541b","responseTime":45,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"57902aca77b55e33dbcc2a84a813541b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1Nn0.RlZrBVoo6YksOC1DH064dDuDESQW1oJNIp1OWg9pidY","level":"info","message":"auth send jwt","requestID":"7624a14b2923596eb5852156d5a9daad"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7624a14b2923596eb5852156d5a9daad","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"7624a14b2923596eb5852156d5a9daad"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":454,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":454,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.505244,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7624a14b2923596eb5852156d5a9daad","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676556,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1Nn0.RlZrBVoo6YksOC1DH064dDuDESQW1oJNIp1OWg9pidY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7624a14b2923596eb5852156d5a9daad","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"68c43167-6c25-4884-8fd1-8f284a381607","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.6548858} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7624a14b2923596eb5852156d5a9daad","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2a568b59-1a41-4acf-bbf3-1daa6cf09399","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.6593804} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"7624a14b2923596eb5852156d5a9daad","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"60defe0f-5d9c-4be2-b2aa-f0a3bbf53428","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.670475} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f789e607-881e-4b61-ae2a-d8254e7ef4a4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.6708791} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"7624a14b2923596eb5852156d5a9daad","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:36.670431517Z"}]},"request_id":"12db23f5-5f7c-47a4-a63c-14238b982a09","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676556.6763866} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7624a14b2923596eb5852156d5a9daad","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"7624a14b2923596eb5852156d5a9daad"} gateway-1 | {"time_local":"18/Sep/2024:16:22:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7624a14b2923596eb5852156d5a9daad"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"7624a14b2923596eb5852156d5a9daad","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4","level":"info","message":"auth send jwt","requestID":"5b174c30b57cd92dc66d60e9e8f99c8b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"5b174c30b57cd92dc66d60e9e8f99c8b","responseTime":5,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4","level":"info","message":"auth send jwt","requestID":"73481cd119264be510457329f8939ebf"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"73481cd119264be510457329f8939ebf","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"5b174c30b57cd92dc66d60e9e8f99c8b"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"73481cd119264be510457329f8939ebf"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":455,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":455,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.161928,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b174c30b57cd92dc66d60e9e8f99c8b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676557,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5b174c30b57cd92dc66d60e9e8f99c8b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Received request.","req_id":456,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Sent response.","req_id":456,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.932013,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"73481cd119264be510457329f8939ebf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676557,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"73481cd119264be510457329f8939ebf","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:36.670431517Z"}]},"request_id":"1f250aec-4fce-4740-84ff-1aaa63c6724e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.1578429} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5b174c30b57cd92dc66d60e9e8f99c8b","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:36.619787043Z"}]},"request_id":"f706fd20-0197-4cf9-bb5a-9e4cd458812a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.1585891} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"73481cd119264be510457329f8939ebf","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a2596210-7a12-4521-beb1-8e84cb6382b8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.1622827} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"5b174c30b57cd92dc66d60e9e8f99c8b","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"04d6e61d-1c2d-4431-badb-67cea24474bb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.1638997} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"73481cd119264be510457329f8939ebf","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:36.619787043Z"}]},"request_id":"8d48a335-8bc1-445c-9ca2-4f80fc62cfa5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.166826} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"73481cd119264be510457329f8939ebf","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"73481cd119264be510457329f8939ebf"} gateway-1 | {"time_local":"18/Sep/2024:16:22:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/7ee63d43-e360-48b3-b82e-405e4974e849 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.030","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"73481cd119264be510457329f8939ebf"} device-1 | {"level":"info","message":"PATCH /devices/7ee63d43-e360-48b3-b82e-405e4974e849 200 22ms","method":"PATCH","requestID":"73481cd119264be510457329f8939ebf","responseTime":22,"status":200,"url":"/devices/7ee63d43-e360-48b3-b82e-405e4974e849"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4","level":"info","message":"auth send jwt","requestID":"d943e2eac67d79d7040b4103d7585381"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d943e2eac67d79d7040b4103d7585381","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"d943e2eac67d79d7040b4103d7585381"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":457,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":457,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.654667,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d943e2eac67d79d7040b4103d7585381","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676557,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d943e2eac67d79d7040b4103d7585381","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:36.670431517Z"}]},"request_id":"74fe6e6e-ac37-4d3a-b8b6-29e1ffbfbfe4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.179133} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5b174c30b57cd92dc66d60e9e8f99c8b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"5b174c30b57cd92dc66d60e9e8f99c8b"} gateway-1 | {"time_local":"18/Sep/2024:16:22:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.043","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"5b174c30b57cd92dc66d60e9e8f99c8b"} device-1 | {"level":"info","message":"PATCH /devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8 200 36ms","method":"PATCH","requestID":"5b174c30b57cd92dc66d60e9e8f99c8b","responseTime":36,"status":200,"url":"/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4","level":"info","message":"auth send jwt","requestID":"481f0ce7f194c6d7fc1b6aba453b1e96"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"481f0ce7f194c6d7fc1b6aba453b1e96","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"481f0ce7f194c6d7fc1b6aba453b1e96"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":458,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":458,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.776636,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"481f0ce7f194c6d7fc1b6aba453b1e96","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676557,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"481f0ce7f194c6d7fc1b6aba453b1e96","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"d943e2eac67d79d7040b4103d7585381"} device-1 | {"level":"info","message":"POST /devices/7ee63d43-e360-48b3-b82e-405e4974e849/websocket 200 19ms","method":"POST","requestID":"d943e2eac67d79d7040b4103d7585381","responseTime":19,"status":200,"url":"/devices/7ee63d43-e360-48b3-b82e-405e4974e849/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/7ee63d43-e360-48b3-b82e-405e4974e849/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.023","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"d943e2eac67d79d7040b4103d7585381"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"481f0ce7f194c6d7fc1b6aba453b1e96"} gateway-1 | {"time_local":"18/Sep/2024:16:22:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.019","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"481f0ce7f194c6d7fc1b6aba453b1e96"} device-1 | {"level":"info","message":"POST /devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8/websocket 200 16ms","method":"POST","requestID":"481f0ce7f194c6d7fc1b6aba453b1e96","responseTime":16,"status":200,"url":"/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4","level":"info","message":"auth send jwt","requestID":"d6d3859a06891abfcbd0bfc61d371979"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d6d3859a06891abfcbd0bfc61d371979","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d6d3859a06891abfcbd0bfc61d371979"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":459,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":459,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.659604,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d6d3859a06891abfcbd0bfc61d371979","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676557,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d6d3859a06891abfcbd0bfc61d371979","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:36.619787043Z"}]},"request_id":"7f089504-5478-46df-8715-85c96c4621bf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.232648} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d6d3859a06891abfcbd0bfc61d371979","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d6d3859a06891abfcbd0bfc61d371979"} device-1 | {"level":"info","message":"GET /devices/7ee63d43-e360-48b3-b82e-405e4974e849? 200 9ms","method":"GET","requestID":"d6d3859a06891abfcbd0bfc61d371979","responseTime":9,"status":200,"url":"/devices/7ee63d43-e360-48b3-b82e-405e4974e849?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7ee63d43-e360-48b3-b82e-405e4974e849? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d6d3859a06891abfcbd0bfc61d371979"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4","level":"info","message":"auth send jwt","requestID":"429121207da884c408fa3f39fc63f5e3"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"429121207da884c408fa3f39fc63f5e3","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"429121207da884c408fa3f39fc63f5e3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":460,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":460,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.638737,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"429121207da884c408fa3f39fc63f5e3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676557,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"429121207da884c408fa3f39fc63f5e3","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:36.670431517Z"}]},"request_id":"cf5bfa62-4d43-4370-9bcd-67f66f2c6b23","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.2464151} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"429121207da884c408fa3f39fc63f5e3","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"429121207da884c408fa3f39fc63f5e3"} gateway-1 | {"time_local":"18/Sep/2024:16:22:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"429121207da884c408fa3f39fc63f5e3"} device-1 | {"level":"info","message":"GET /devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8? 200 9ms","method":"GET","requestID":"429121207da884c408fa3f39fc63f5e3","responseTime":9,"status":200,"url":"/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4","level":"info","message":"auth send jwt","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"53f21f52e06ab1c564bb6a6f2660d573","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":461,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":461,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.686037,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"53f21f52e06ab1c564bb6a6f2660d573","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676557,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"53f21f52e06ab1c564bb6a6f2660d573","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707"},"level":"info","message":"Attempting to run experiment","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707"},"level":"info","message":"Attempting to book experiment","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707"},"level":"info","message":"Successfully booked experiment","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"37e79960-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"37e7c070-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":462,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":462,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.835519,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Received request.","req_id":463,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"37e79960-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676557,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"37e79960-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Sent response.","req_id":463,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.79856,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"37e7c070-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676557,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"37e7c070-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:36.619787043Z"}]},"request_id":"20587a78-322d-40f2-bc0c-02972390e4f9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.311055} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"37e79960-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:36.670431517Z"}]},"request_id":"60707648-31e1-45a3-b854-0cc13d522830","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.3125038} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"37e7c070-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"37e79960-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/7ee63d43-e360-48b3-b82e-405e4974e849? 200 16ms","method":"GET","requestID":"37e79960-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/7ee63d43-e360-48b3-b82e-405e4974e849?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"37e7c070-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8? 200 16ms","method":"GET","requestID":"37e7c070-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707"},"level":"info","message":"Setting up experiment","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707"},"level":"info","message":"Successfully locked booking for experiment","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707"},"level":"info","message":"Attempting to update booking for experiment","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707"},"level":"info","message":"Successfully updated booking for experiment","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707"},"level":"info","message":"Successfully set up experiment","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"37f1d290-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"37f220b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"37f26ed0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":464,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":464,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.265718,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Received request.","req_id":465,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707"},"level":"info","message":"Successfully running experiment","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"37f1d290-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676557,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"37f1d290-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Sent response.","req_id":465,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.408561,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"37f220b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676557,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"37f220b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":466,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":466,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.519438,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"de45882b-1c93-4b74-9d39-7262f262bb44","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.3825538} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"37f26ed0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"37f26ed0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:36.670431517Z"}]},"request_id":"4e9d7604-9e9c-448a-bc73-062c6f49c049","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.3872437} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"37f220b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"37f26ed0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:36.619787043Z"}]},"request_id":"e4744f65-374c-4845-a01c-28a0196be79a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.391203} device-1 | {"level":"info","message":"POST /devices/7ee63d43-e360-48b3-b82e-405e4974e849/signaling 200 19ms","method":"POST","requestID":"37f26ed0-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/7ee63d43-e360-48b3-b82e-405e4974e849/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"37f1d290-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"37f5f140-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"37f220b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8? 200 30ms","method":"GET","requestID":"37f220b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":30,"status":200,"url":"/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"37f1d290-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/7ee63d43-e360-48b3-b82e-405e4974e849? 200 34ms","method":"GET","requestID":"37f1d290-75da-11ef-ba7c-09eaa4331ae1","responseTime":34,"status":200,"url":"/devices/7ee63d43-e360-48b3-b82e-405e4974e849?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":467,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F66aade12-9285-4c41-aae8-f92294643707#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F66aade12-9285-4c41-aae8-f92294643707","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"2dc98ece-df28-4a80-a784-5ce0abdab271","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.4044206} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ed487d18-b786-4d81-bfa7-c1ac095119f0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.4047153} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3e4351e6-5914-426d-a3a4-a0359759902a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.4047763} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":467,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.814471,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"37f777e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"37f5f140-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"37f5f140-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/update 200 27ms","method":"POST","requestID":"53f21f52e06ab1c564bb6a6f2660d573","responseTime":27,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"37f5f140-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8/signaling 200 15ms","method":"POST","requestID":"37f5f140-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":468,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d3aa88f0-2fae-416e-a5fd-16cc501e93b8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.4138665} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":468,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.095245,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"37f777e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"37f777e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"37f777e0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"level":"info","message":"POST /experiments? 201 163ms","method":"POST","requestID":"53f21f52e06ab1c564bb6a6f2660d573","responseTime":163,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"786","request_time":"0.167","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} device-1 | {"level":"info","message":"POST /devices/7ee63d43-e360-48b3-b82e-405e4974e849/signaling 200 12ms","method":"POST","requestID":"37f777e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/7ee63d43-e360-48b3-b82e-405e4974e849/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"37f9c1d0-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4","level":"info","message":"auth send jwt","requestID":"ed138be54159b7b306068eb29d1d97b9"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ed138be54159b7b306068eb29d1d97b9","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":469,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ed138be54159b7b306068eb29d1d97b9"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"17895589-0344-47ea-9a3d-e05cd8e88f50","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.426868} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":469,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.554163,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Received request.","req_id":470,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"37f9c1d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"37f9c1d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Sent response.","req_id":470,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.673574,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ed138be54159b7b306068eb29d1d97b9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676557,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ed138be54159b7b306068eb29d1d97b9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"37f9c1d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8/signaling 200 12ms","method":"POST","requestID":"37f9c1d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:36.619787043Z"}]},"request_id":"55a99bca-d0f9-45a0-9636-1b3f73e00260","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.4344232} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ed138be54159b7b306068eb29d1d97b9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"37fc0bc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"37fc59e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":471,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":471,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.930705,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Received request.","req_id":472,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"37fc0bc0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676557,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"37fc0bc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:40774","level":"info","msg":"Sent response.","req_id":472,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.650847,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"37fc59e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676557,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"37fc59e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ed138be54159b7b306068eb29d1d97b9"} gateway-1 | {"time_local":"18/Sep/2024:16:22:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7ee63d43-e360-48b3-b82e-405e4974e849? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ed138be54159b7b306068eb29d1d97b9"} device-1 | {"level":"info","message":"GET /devices/7ee63d43-e360-48b3-b82e-405e4974e849? 200 19ms","method":"GET","requestID":"ed138be54159b7b306068eb29d1d97b9","responseTime":19,"status":200,"url":"/devices/7ee63d43-e360-48b3-b82e-405e4974e849?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:36.619787043Z"}]},"request_id":"74e5683b-cb38-417e-a402-4d5ee6c4118f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.444889} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"37fc0bc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"37fc0bc0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:36.670431517Z"}]},"request_id":"6dadcb4b-b2d9-4cd9-bb8b-b63609eb24ad","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.447793} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4","level":"info","message":"auth send jwt","requestID":"3b16bba0cdc3a2abffff6bad06fb5dda"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3b16bba0cdc3a2abffff6bad06fb5dda","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"GET /devices/7ee63d43-e360-48b3-b82e-405e4974e849? 200 12ms","method":"GET","requestID":"37fc0bc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/7ee63d43-e360-48b3-b82e-405e4974e849?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"37fc59e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3b16bba0cdc3a2abffff6bad06fb5dda"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":473,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"37fc59e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":473,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.782423,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} device-1 | {"level":"info","message":"GET /devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8? 200 14ms","method":"GET","requestID":"37fc59e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3b16bba0cdc3a2abffff6bad06fb5dda","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676557,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3b16bba0cdc3a2abffff6bad06fb5dda","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707"},"level":"info","message":"Building connection plan","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"035ad2b7-1624-41fe-935e-4a1f7836275f"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"af0d434b-2fed-41fb-830e-d6c63cf54b24"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/file","uuid":"be9369c6-c844-4421-bfc1-101393c2aa8a"}]},"level":"info","message":"Built pairwise service configurations","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"37fef1f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:36.670431517Z"}]},"request_id":"49f8d756-0161-4b2e-b24f-eb461fc03676","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.4559956} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3b16bba0cdc3a2abffff6bad06fb5dda","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":474,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3b16bba0cdc3a2abffff6bad06fb5dda"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":474,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.900168,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} gateway-1 | {"time_local":"18/Sep/2024:16:22:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3b16bba0cdc3a2abffff6bad06fb5dda"} device-1 | {"level":"info","message":"GET /devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8? 200 10ms","method":"GET","requestID":"3b16bba0cdc3a2abffff6bad06fb5dda","responseTime":10,"status":200,"url":"/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8?"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"37fef1f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676557,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1N30.affTcErXnJSs7es_1J347aJNeQ7vRXzIrFbf9YCMym4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"37fef1f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"88380d92-fcba-4839-8eb5-90063d806ad0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.467054} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d4766e01-0780-4a98-b392-489a4c16fe13","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.4673405} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"37fef1f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"37fef1f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"37fef1f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/3be2a3dc-2475-495f-989f-f4a62b0eb9de'","requestID":"37fef1f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/3be2a3dc-2475-495f-989f-f4a62b0eb9de'","requestID":"37fef1f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"37fef1f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 25ms","method":"POST","requestID":"37fef1f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"37fef1f0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"53f21f52e06ab1c564bb6a6f2660d573"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3806ba20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":475,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4b1e2a4e-040c-41d7-8f1d-53631d304dad","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.5107055} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":475,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.481328,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3806ba20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3806ba20-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3806ba20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7ee63d43-e360-48b3-b82e-405e4974e849/signaling 200 9ms","method":"POST","requestID":"3806ba20-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/7ee63d43-e360-48b3-b82e-405e4974e849/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"380867d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":476,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4288d178-97bc-48d4-a469-64cb0ac98afa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676557.5217636} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":476,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.260331,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:37Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"380867d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"380867d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"380867d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8/signaling 200 9ms","method":"POST","requestID":"380867d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8/signaling"} device-1 | {"device":"f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"3be2a3dc-2475-495f-989f-f4a62b0eb9de","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"7ee63d43-e360-48b3-b82e-405e4974e849","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"3be2a3dc-2475-495f-989f-f4a62b0eb9de","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"7ee63d43-e360-48b3-b82e-405e4974e849","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"7ee63d43-e360-48b3-b82e-405e4974e849","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"7ee63d43-e360-48b3-b82e-405e4974e849","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"7ee63d43-e360-48b3-b82e-405e4974e849","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/3be2a3dc-2475-495f-989f-f4a62b0eb9de' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"3be2a3dc-2475-495f-989f-f4a62b0eb9de","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8e81c5dfcddc085c15fee5595b0857cc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"8e81c5dfcddc085c15fee5595b0857cc","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connecting","url":"http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/3be2a3dc-2475-495f-989f-f4a62b0eb9de"}}},"level":"info","message":"received a callback","requestID":"8e81c5dfcddc085c15fee5595b0857cc"} device-1 | {"device":"f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"3be2a3dc-2475-495f-989f-f4a62b0eb9de","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"7ee63d43-e360-48b3-b82e-405e4974e849","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 17ms","method":"POST","requestID":"8e81c5dfcddc085c15fee5595b0857cc","responseTime":17,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch","requestID":"8e81c5dfcddc085c15fee5595b0857cc"} device-1 | {"device":"f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"7ee63d43-e360-48b3-b82e-405e4974e849","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"3be2a3dc-2475-495f-989f-f4a62b0eb9de","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/3be2a3dc-2475-495f-989f-f4a62b0eb9de' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"3be2a3dc-2475-495f-989f-f4a62b0eb9de","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2d7473149d98f435376cfefea69b6c36","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"2d7473149d98f435376cfefea69b6c36","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/3be2a3dc-2475-495f-989f-f4a62b0eb9de"}}},"level":"info","message":"received a callback","requestID":"2d7473149d98f435376cfefea69b6c36"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"39450680-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":477,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:39Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F3be2a3dc-2475-495f-989f-f4a62b0eb9de","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"81e086e2-4ada-4506-9b19-b43487f49204","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676559.5986283} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":477,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":4.389819,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/3be2a3dc-2475-495f-989f-f4a62b0eb9de","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"39450680-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/3be2a3dc-2475-495f-989f-f4a62b0eb9de","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"39450680-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"39450680-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/3be2a3dc-2475-495f-989f-f4a62b0eb9de 200 13ms","method":"GET","requestID":"39450680-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/peerconnections/3be2a3dc-2475-495f-989f-f4a62b0eb9de"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 47ms","method":"POST","requestID":"2d7473149d98f435376cfefea69b6c36","responseTime":47,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.052","http_referrer":"","http_user_agent":"node-fetch","requestID":"2d7473149d98f435376cfefea69b6c36"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"394a84c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":478,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:39Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9bb59b4f-03e7-49ed-86a0-705ae9ff2229","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676559.6348975} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":478,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.280476,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"394a84c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"394a84c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"394a84c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7ee63d43-e360-48b3-b82e-405e4974e849/signaling 200 10ms","method":"POST","requestID":"394a84c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/7ee63d43-e360-48b3-b82e-405e4974e849/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"394c8090-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":479,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:39Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1e87c97c-a289-4d1a-9616-5bc6535ec9e4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676559.645997} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":479,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.479666,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"394c8090-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"394c8090-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"394c8090-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8/signaling 200 9ms","method":"POST","requestID":"394c8090-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1OX0.HAO13mOfUPzPawZjzDKS6Uj3AecOTtMq-qrzGiFkFao","level":"info","message":"auth send jwt","requestID":"edacf5ffb66ed911fcc38ab12636e2da"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"edacf5ffb66ed911fcc38ab12636e2da","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/66aade12-9285-4c41-aae8-f92294643707","requestID":"edacf5ffb66ed911fcc38ab12636e2da"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":480,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:39Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":480,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.301355,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"edacf5ffb66ed911fcc38ab12636e2da","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676559,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1OX0.HAO13mOfUPzPawZjzDKS6Uj3AecOTtMq-qrzGiFkFao"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"edacf5ffb66ed911fcc38ab12636e2da","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/66aade12-9285-4c41-aae8-f92294643707","requestID":"edacf5ffb66ed911fcc38ab12636e2da"} gateway-1 | {"time_local":"18/Sep/2024:16:22:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/66aade12-9285-4c41-aae8-f92294643707 HTTP/1.1","status": "200","body_bytes_sent":"859","request_time":"0.027","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"edacf5ffb66ed911fcc38ab12636e2da"} experiment-1 | {"level":"info","message":"GET /experiments/66aade12-9285-4c41-aae8-f92294643707 200 21ms","method":"GET","requestID":"edacf5ffb66ed911fcc38ab12636e2da","responseTime":21,"status":200,"url":"/experiments/66aade12-9285-4c41-aae8-f92294643707"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1OX0.HAO13mOfUPzPawZjzDKS6Uj3AecOTtMq-qrzGiFkFao","level":"info","message":"auth send jwt","requestID":"de90130e022726697d57b790a8a4a193"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"de90130e022726697d57b790a8a4a193","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/66aade12-9285-4c41-aae8-f92294643707","requestID":"de90130e022726697d57b790a8a4a193"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":481,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:39Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":481,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.629901,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:39Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"de90130e022726697d57b790a8a4a193","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676559,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1OX0.HAO13mOfUPzPawZjzDKS6Uj3AecOTtMq-qrzGiFkFao"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"de90130e022726697d57b790a8a4a193","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707"},"level":"info","message":"Attempting to finish experiment","requestID":"de90130e022726697d57b790a8a4a193"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"396b7a40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":482,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:39Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":482,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.22993,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:39Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/3be2a3dc-2475-495f-989f-f4a62b0eb9de","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"396b7a40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/3be2a3dc-2475-495f-989f-f4a62b0eb9de","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676559,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1OX0.HAO13mOfUPzPawZjzDKS6Uj3AecOTtMq-qrzGiFkFao"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"396b7a40-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"7ee63d43-e360-48b3-b82e-405e4974e849","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"7ee63d43-e360-48b3-b82e-405e4974e849","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"7ee63d43-e360-48b3-b82e-405e4974e849","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/3be2a3dc-2475-495f-989f-f4a62b0eb9de' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/3be2a3dc-2475-495f-989f-f4a62b0eb9de' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"3be2a3dc-2475-495f-989f-f4a62b0eb9de","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F3be2a3dc-2475-495f-989f-f4a62b0eb9de': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F3be2a3dc-2475-495f-989f-f4a62b0eb9de","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"068209a6-0205-4553-bf47-e1b3dc93c264","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676559.8666422} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b5d13a49-390a-4822-b06a-e419ee34d925","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676559.866859} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"396b7a40-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"20ce25d9eb06b7c81680fcc5359d8dbe","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"20ce25d9eb06b7c81680fcc5359d8dbe","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ebb7c1af00ddf85f1b98eb74c1da27a5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"ebb7c1af00ddf85f1b98eb74c1da27a5","responseTime":0,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/3be2a3dc-2475-495f-989f-f4a62b0eb9de"}}},"level":"info","message":"received a callback","requestID":"20ce25d9eb06b7c81680fcc5359d8dbe"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/3be2a3dc-2475-495f-989f-f4a62b0eb9de"}}},"level":"info","message":"received a callback","requestID":"ebb7c1af00ddf85f1b98eb74c1da27a5"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"396b7a40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/3be2a3dc-2475-495f-989f-f4a62b0eb9de 204 42ms","method":"DELETE","requestID":"396b7a40-75da-11ef-ba7c-09eaa4331ae1","responseTime":42,"status":204,"url":"/peerconnections/3be2a3dc-2475-495f-989f-f4a62b0eb9de"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/66aade12-9285-4c41-aae8-f92294643707"},"level":"info","message":"Successfully finished experiment","requestID":"de90130e022726697d57b790a8a4a193"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"39753e40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":483,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:39Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7ee63d43-e360-48b3-b82e-405e4974e849","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"99fea081-fdc2-41b1-875b-df1dcddd9c91","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676559.9140115} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":483,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.577018,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"39753e40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"39753e40-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"39753e40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7ee63d43-e360-48b3-b82e-405e4974e849/signaling 200 11ms","method":"POST","requestID":"39753e40-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/7ee63d43-e360-48b3-b82e-405e4974e849/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F66aade12-9285-4c41-aae8-f92294643707': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F66aade12-9285-4c41-aae8-f92294643707","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"24d1dafa-9cd6-48af-8b57-6d8534242491","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676559.9200015} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"71cff17a-fd32-4139-af60-e6945a954ee4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676559.9201431} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"de90130e022726697d57b790a8a4a193","responseTime":15,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"39773a10-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":484,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:39Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"164027b2-1296-47c1-bf19-e09f8fd1c713","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676559.9260218} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":484,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.664169,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"39773a10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"39773a10-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"39773a10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8/signaling 200 9ms","method":"POST","requestID":"39773a10-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/66aade12-9285-4c41-aae8-f92294643707","requestID":"de90130e022726697d57b790a8a4a193"} gateway-1 | {"time_local":"18/Sep/2024:16:22:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/66aade12-9285-4c41-aae8-f92294643707 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.171","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"de90130e022726697d57b790a8a4a193"} gateway-1 | {"time_local":"18/Sep/2024:16:22:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2462","request_time":"2.787","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"88f27fa6bb33aa9d12042c6b440a6f01"} gateway-1 | {"time_local":"18/Sep/2024:16:22:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2462","request_time":"2.797","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"ac411e786a4f4bb246ef6c0b7f861478"} experiment-1 | {"level":"info","message":"DELETE /experiments/66aade12-9285-4c41-aae8-f92294643707 204 165ms","method":"DELETE","requestID":"de90130e022726697d57b790a8a4a193","responseTime":165,"status":204,"url":"/experiments/66aade12-9285-4c41-aae8-f92294643707"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 123ms","method":"POST","requestID":"20ce25d9eb06b7c81680fcc5359d8dbe","responseTime":123,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.127","http_referrer":"","http_user_agent":"node-fetch","requestID":"20ce25d9eb06b7c81680fcc5359d8dbe"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 123ms","method":"POST","requestID":"ebb7c1af00ddf85f1b98eb74c1da27a5","responseTime":123,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.128","http_referrer":"","http_user_agent":"node-fetch","requestID":"ebb7c1af00ddf85f1b98eb74c1da27a5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1OX0.HAO13mOfUPzPawZjzDKS6Uj3AecOTtMq-qrzGiFkFao","level":"info","message":"auth send jwt","requestID":"78df68ac2b28da193219f2cbe6690f1f"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/7ee63d43-e360-48b3-b82e-405e4974e849' closed"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"78df68ac2b28da193219f2cbe6690f1f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"78df68ac2b28da193219f2cbe6690f1f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":485,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":485,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.921766,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:40Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"78df68ac2b28da193219f2cbe6690f1f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676559,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU1OX0.HAO13mOfUPzPawZjzDKS6Uj3AecOTtMq-qrzGiFkFao"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"78df68ac2b28da193219f2cbe6690f1f","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/f2df0b9c-d0ac-4f80-8c5c-97cc9069a8f8' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"9145598f-0063-4479-b931-c76e69ff3310","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676560.0181706} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"78df68ac2b28da193219f2cbe6690f1f","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"21351a62-4d0d-4e14-8b7e-eda7fbb0eea4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676560.0242863} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"78df68ac2b28da193219f2cbe6690f1f","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"5214b2de-6557-4dc0-9c8b-b7007231f4c4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676560.0339568} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e9694a39-6f8e-4806-8930-9b6c532ef097","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676560.0342672} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"78df68ac2b28da193219f2cbe6690f1f","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:40.033933340Z"}]},"request_id":"784f5f2b-2622-497f-823a-82fa6f1e1004","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676560.040221} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"78df68ac2b28da193219f2cbe6690f1f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"78df68ac2b28da193219f2cbe6690f1f"} gateway-1 | {"time_local":"18/Sep/2024:16:22:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"78df68ac2b28da193219f2cbe6690f1f"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"78df68ac2b28da193219f2cbe6690f1f","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2MH0.cVwPxLCUiMifkQq0uihdCw7r6Fib9-7I5mncuF6rozc","level":"info","message":"auth send jwt","requestID":"8f633878922ca7ece8ea4e86e567200d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8f633878922ca7ece8ea4e86e567200d","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"8f633878922ca7ece8ea4e86e567200d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":486,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":486,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.748277,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:40Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8f633878922ca7ece8ea4e86e567200d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676560,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2MH0.cVwPxLCUiMifkQq0uihdCw7r6Fib9-7I5mncuF6rozc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8f633878922ca7ece8ea4e86e567200d","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"4ddbfe32-bbcd-46ba-9616-439e789c9b3e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676560.0652933} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8f633878922ca7ece8ea4e86e567200d","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"895a78f9-38a8-463f-bdc5-f67a6ce51203","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676560.0702226} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"8f633878922ca7ece8ea4e86e567200d","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"a5ebd68a-1b8a-4575-ac17-de827bacf4ab","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676560.0856497} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5ef9e559-eef0-4a08-8fc9-dfd231be88c7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676560.0858576} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"8f633878922ca7ece8ea4e86e567200d","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:40.085628831Z"}]},"request_id":"c08871a7-868f-4e35-8ee6-a6adfeae1122","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676560.0901847} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8f633878922ca7ece8ea4e86e567200d","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"8f633878922ca7ece8ea4e86e567200d"} gateway-1 | {"time_local":"18/Sep/2024:16:22:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8f633878922ca7ece8ea4e86e567200d"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"8f633878922ca7ece8ea4e86e567200d","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"da2fe74b46195580cfcb352450cba783","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"da2fe74b46195580cfcb352450cba783","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"da2fe74b46195580cfcb352450cba783"} device-1 | {"level":"info","message":"OPTIONS /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af/websocket 200 1ms","method":"OPTIONS","requestID":"da2fe74b46195580cfcb352450cba783","responseTime":1,"status":200,"url":"/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af/websocket"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e17c601a419ade8291168e6ac03e936f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"e17c601a419ade8291168e6ac03e936f","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k","level":"info","message":"auth send jwt","requestID":"df29e53c12e24846b61212959e05ee75"} gateway-1 | {"time_local":"18/Sep/2024:16:22:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/a814f609-28f1-468d-b124-cbdcae32a87c/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.006","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e17c601a419ade8291168e6ac03e936f"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"df29e53c12e24846b61212959e05ee75","responseTime":8,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"OPTIONS /devices/a814f609-28f1-468d-b124-cbdcae32a87c/websocket 200 1ms","method":"OPTIONS","requestID":"e17c601a419ade8291168e6ac03e936f","responseTime":1,"status":200,"url":"/devices/a814f609-28f1-468d-b124-cbdcae32a87c/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"df29e53c12e24846b61212959e05ee75"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":487,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":487,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.087956,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"df29e53c12e24846b61212959e05ee75","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676562,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"df29e53c12e24846b61212959e05ee75","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k","level":"info","message":"auth send jwt","requestID":"fe2e1b8296cf22618c0641326f4dfe5e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"fe2e1b8296cf22618c0641326f4dfe5e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"fe2e1b8296cf22618c0641326f4dfe5e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":488,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":488,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.672008,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"fe2e1b8296cf22618c0641326f4dfe5e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676562,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fe2e1b8296cf22618c0641326f4dfe5e","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"df29e53c12e24846b61212959e05ee75"} device-1 | {"level":"info","message":"POST /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af/websocket 200 24ms","method":"POST","requestID":"df29e53c12e24846b61212959e05ee75","responseTime":24,"status":200,"url":"/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.034","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"df29e53c12e24846b61212959e05ee75"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"fe2e1b8296cf22618c0641326f4dfe5e"} gateway-1 | {"time_local":"18/Sep/2024:16:22:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/a814f609-28f1-468d-b124-cbdcae32a87c/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.035","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"fe2e1b8296cf22618c0641326f4dfe5e"} device-1 | {"level":"info","message":"POST /devices/a814f609-28f1-468d-b124-cbdcae32a87c/websocket 200 29ms","method":"POST","requestID":"fe2e1b8296cf22618c0641326f4dfe5e","responseTime":29,"status":200,"url":"/devices/a814f609-28f1-468d-b124-cbdcae32a87c/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"16dbdb613144c072673bf7e6ef3b6081","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"16dbdb613144c072673bf7e6ef3b6081","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"16dbdb613144c072673bf7e6ef3b6081"} device-1 | {"level":"info","message":"OPTIONS /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af? 200 1ms","method":"OPTIONS","requestID":"16dbdb613144c072673bf7e6ef3b6081","responseTime":1,"status":200,"url":"/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k","level":"info","message":"auth send jwt","requestID":"8b934ede02b612d2421e8bea2dac9a6d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8b934ede02b612d2421e8bea2dac9a6d","responseTime":4,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7b65d007732e0046ad84ef8019be794f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"8b934ede02b612d2421e8bea2dac9a6d"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"7b65d007732e0046ad84ef8019be794f","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/a814f609-28f1-468d-b124-cbdcae32a87c? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"7b65d007732e0046ad84ef8019be794f"} device-1 | {"level":"info","message":"OPTIONS /devices/a814f609-28f1-468d-b124-cbdcae32a87c? 200 1ms","method":"OPTIONS","requestID":"7b65d007732e0046ad84ef8019be794f","responseTime":1,"status":200,"url":"/devices/a814f609-28f1-468d-b124-cbdcae32a87c?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":489,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":489,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.995666,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8b934ede02b612d2421e8bea2dac9a6d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676562,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8b934ede02b612d2421e8bea2dac9a6d","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k","level":"info","message":"auth send jwt","requestID":"6a22558aeb56ea7587e922d52144ded9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6a22558aeb56ea7587e922d52144ded9","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"6a22558aeb56ea7587e922d52144ded9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:40.033933340Z"}]},"request_id":"36bb4f89-722a-4e07-8ca0-4b11661d95e4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.165308} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"8b934ede02b612d2421e8bea2dac9a6d","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":490,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":490,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.26539,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6a22558aeb56ea7587e922d52144ded9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676562,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6a22558aeb56ea7587e922d52144ded9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f6c5b663-b2e6-4a34-ac53-929d90a95e67","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.175739} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"8b934ede02b612d2421e8bea2dac9a6d","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:40.085628831Z"}]},"request_id":"ee5e448a-789b-41de-8f79-b6316c5c3527","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.1836112} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6a22558aeb56ea7587e922d52144ded9","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"203d048e-2ea5-45aa-b943-495372af50ce","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.1910052} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"6a22558aeb56ea7587e922d52144ded9","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:40.033933340Z"}]},"request_id":"3582eca7-07d2-4c7c-96d0-5b0859268956","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.1981928} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"8b934ede02b612d2421e8bea2dac9a6d","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"8b934ede02b612d2421e8bea2dac9a6d"} gateway-1 | {"time_local":"18/Sep/2024:16:22:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.055","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"8b934ede02b612d2421e8bea2dac9a6d"} device-1 | {"level":"info","message":"PATCH /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af? 200 50ms","method":"PATCH","requestID":"8b934ede02b612d2421e8bea2dac9a6d","responseTime":50,"status":200,"url":"/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:40.085628831Z"}]},"request_id":"ac25f921-53ac-4010-b24a-ef658242c91e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.2116535} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"6a22558aeb56ea7587e922d52144ded9","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"6a22558aeb56ea7587e922d52144ded9"} gateway-1 | {"time_local":"18/Sep/2024:16:22:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/a814f609-28f1-468d-b124-cbdcae32a87c? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.058","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"6a22558aeb56ea7587e922d52144ded9"} device-1 | {"level":"info","message":"PATCH /devices/a814f609-28f1-468d-b124-cbdcae32a87c? 200 52ms","method":"PATCH","requestID":"6a22558aeb56ea7587e922d52144ded9","responseTime":52,"status":200,"url":"/devices/a814f609-28f1-468d-b124-cbdcae32a87c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k","level":"info","message":"auth send jwt","requestID":"a0c3b17ca4826df8cfd9bab4339230a5"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a0c3b17ca4826df8cfd9bab4339230a5","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a0c3b17ca4826df8cfd9bab4339230a5"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":491,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":491,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.033045,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a0c3b17ca4826df8cfd9bab4339230a5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676562,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a0c3b17ca4826df8cfd9bab4339230a5","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:40.033933340Z"}]},"request_id":"a3667b61-badd-4aeb-8735-cdfd3be2fca8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.2392051} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a0c3b17ca4826df8cfd9bab4339230a5","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a0c3b17ca4826df8cfd9bab4339230a5"} device-1 | {"level":"info","message":"GET /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af? 200 16ms","method":"GET","requestID":"a0c3b17ca4826df8cfd9bab4339230a5","responseTime":16,"status":200,"url":"/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a0c3b17ca4826df8cfd9bab4339230a5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k","level":"info","message":"auth send jwt","requestID":"e6029edbeba2dfd450eb684aff8a426c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e6029edbeba2dfd450eb684aff8a426c","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e6029edbeba2dfd450eb684aff8a426c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":492,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":492,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.061878,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e6029edbeba2dfd450eb684aff8a426c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676562,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e6029edbeba2dfd450eb684aff8a426c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:40.085628831Z"}]},"request_id":"a92af86c-e399-4de8-adeb-4fa2e3368fd9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.2615438} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e6029edbeba2dfd450eb684aff8a426c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e6029edbeba2dfd450eb684aff8a426c"} gateway-1 | {"time_local":"18/Sep/2024:16:22:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a814f609-28f1-468d-b124-cbdcae32a87c? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e6029edbeba2dfd450eb684aff8a426c"} device-1 | {"level":"info","message":"GET /devices/a814f609-28f1-468d-b124-cbdcae32a87c? 200 15ms","method":"GET","requestID":"e6029edbeba2dfd450eb684aff8a426c","responseTime":15,"status":200,"url":"/devices/a814f609-28f1-468d-b124-cbdcae32a87c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k","level":"info","message":"auth send jwt","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5a54a669c075f2b83e77a1bf576e3f0a","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":493,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":493,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.898152,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5a54a669c075f2b83e77a1bf576e3f0a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676562,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5a54a669c075f2b83e77a1bf576e3f0a","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"},"level":"info","message":"Attempting to run experiment","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"},"level":"info","message":"Attempting to book experiment","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"},"level":"info","message":"Successfully booked experiment","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3ae485b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3ae4d3d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":494,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":494,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.140735,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3ae485b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676562,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"3ae485b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":495,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":495,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.127601,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3ae4d3d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676562,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"3ae4d3d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:40.033933340Z"}]},"request_id":"a375c150-13ca-4a1c-9c36-307aa16cadae","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.3296187} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"3ae485b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:40.085628831Z"}]},"request_id":"f06216ac-9252-45ed-bfad-b645bf2d2e2c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.335563} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3ae485b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3ae4d3d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af? 200 22ms","method":"GET","requestID":"3ae485b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3ae4d3d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/a814f609-28f1-468d-b124-cbdcae32a87c? 200 24ms","method":"GET","requestID":"3ae4d3d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/devices/a814f609-28f1-468d-b124-cbdcae32a87c?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"},"level":"info","message":"Setting up experiment","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"},"level":"info","message":"Successfully locked booking for experiment","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"},"level":"info","message":"Attempting to update booking for experiment","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"},"level":"info","message":"Successfully updated booking for experiment","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"},"level":"info","message":"Successfully set up experiment","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3af17e00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3af1cc20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":496,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":496,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.677171,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3af17e00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676562,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3af17e00-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":497,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":497,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.563851,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3af1cc20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676562,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3af1cc20-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"},"level":"info","message":"Successfully running experiment","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3af2dd90-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:40.033933340Z"}]},"request_id":"9773431b-d585-442a-a473-7541b734395f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.4091997} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"3af17e00-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:40.085628831Z"}]},"request_id":"caa1d2b2-7c9f-4523-9ba9-c2f18d34291e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.4116406} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3af1cc20-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":498,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3af17e00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af? 200 17ms","method":"GET","requestID":"3af17e00-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b76e450c-b4fc-420d-8378-5ac1dbfe6694","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.4173994} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3af1cc20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":498,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.414891,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} device-1 | {"level":"info","message":"GET /devices/a814f609-28f1-468d-b124-cbdcae32a87c? 200 16ms","method":"GET","requestID":"3af1cc20-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/a814f609-28f1-468d-b124-cbdcae32a87c?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3af2dd90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"3af2dd90-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3af4d960-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3af2dd90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a814f609-28f1-468d-b124-cbdcae32a87c/signaling 200 16ms","method":"POST","requestID":"3af2dd90-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/a814f609-28f1-468d-b124-cbdcae32a87c/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":499,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fcbcb47c0-644f-41af-a553-4cb207a35b0d#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fcbcb47c0-644f-41af-a553-4cb207a35b0d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"45c84d4c-45b5-45fe-a812-15b55d581aad","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.4278274} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"972c8046-d34e-4579-837e-0165450e5fb3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.4280875} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"952a7f09-2e52-478d-ad39-2d2ef8059427","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.4282234} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":499,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.271441,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3af4d960-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"3af4d960-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"5a54a669c075f2b83e77a1bf576e3f0a","responseTime":23,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3af4d960-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af/signaling 200 12ms","method":"POST","requestID":"3af4d960-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3af74a60-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":500,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a35d8f9d-a2dc-4d46-8203-c9e33c7e7534","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.44349} gateway-1 | {"time_local":"18/Sep/2024:16:22:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"778","request_time":"0.176","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} experiment-1 | {"level":"info","message":"POST /experiments? 201 171ms","method":"POST","requestID":"5a54a669c075f2b83e77a1bf576e3f0a","responseTime":171,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":500,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.845322,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3af74a60-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3af74a60-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3af74a60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a814f609-28f1-468d-b124-cbdcae32a87c/signaling 200 11ms","method":"POST","requestID":"3af74a60-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/a814f609-28f1-468d-b124-cbdcae32a87c/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k","level":"info","message":"auth send jwt","requestID":"cf33a345840cf9bda45ea5d8e518e617"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"cf33a345840cf9bda45ea5d8e518e617","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cf33a345840cf9bda45ea5d8e518e617"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3af96d40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3af96d41-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":501,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":501,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.305558,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":502,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":502,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.148754,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"cf33a345840cf9bda45ea5d8e518e617","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676562,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"cf33a345840cf9bda45ea5d8e518e617","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3af96d40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676562,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3af96d40-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60348","level":"info","msg":"Received request.","req_id":503,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"client_addr":"127.0.0.1:60348","level":"info","msg":"Sent response.","req_id":503,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.244573,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3af96d41-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676562,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"3af96d41-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:40.033933340Z"}]},"request_id":"6f2b5e32-5677-40e4-912f-72379430b380","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.461147} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:40.033933340Z"}]},"request_id":"16c5cbe9-c1c1-49f7-a9b3-14a071fe0cc7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.4623363} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cf33a345840cf9bda45ea5d8e518e617","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3af96d40-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:40.085628831Z"}]},"request_id":"123e0e88-f2f2-4602-b387-4955d69c9f5d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.4661298} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3af96d41-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cf33a345840cf9bda45ea5d8e518e617"} gateway-1 | {"time_local":"18/Sep/2024:16:22:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cf33a345840cf9bda45ea5d8e518e617"} device-1 | {"level":"info","message":"GET /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af? 200 20ms","method":"GET","requestID":"cf33a345840cf9bda45ea5d8e518e617","responseTime":20,"status":200,"url":"/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3af96d40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af? 200 19ms","method":"GET","requestID":"3af96d40-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3af96d41-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/a814f609-28f1-468d-b124-cbdcae32a87c? 200 21ms","method":"GET","requestID":"3af96d41-75da-11ef-ba7c-09eaa4331ae1","responseTime":21,"status":200,"url":"/devices/a814f609-28f1-468d-b124-cbdcae32a87c?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"},"level":"info","message":"Building connection plan","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k","level":"info","message":"auth send jwt","requestID":"3405eb643f6d83b137c84ab89d7704cf"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"d36699fc-ff65-4039-b1e4-c6304248270e"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"0bb1d2a0-bd67-4e0d-a8cd-047bf221e52e"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/file","uuid":"8dc61117-2470-456f-8a80-1742a95000e0"}]},"level":"info","message":"Built pairwise service configurations","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3405eb643f6d83b137c84ab89d7704cf","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3405eb643f6d83b137c84ab89d7704cf"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"3afd3dd0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"3afd3dd0-75da-11ef-9672-db8da4810e4b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":504,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} forwarding-1 | {"level":"info","message":"POST /rooms 201 2ms","method":"POST","requestID":"3afd3dd0-75da-11ef-9672-db8da4810e4b","responseTime":2,"status":201,"url":"/rooms"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":504,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.80109,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce?id=e62f58ae-b0ae-4af2-b21b-b1ce223dd23b","ws://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce?id=46b10264-f6cb-4d60-a859-84e53b9f9fef"]},"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3405eb643f6d83b137c84ab89d7704cf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676562,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3405eb643f6d83b137c84ab89d7704cf","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"3afe2830-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:40.085628831Z"}]},"request_id":"18f03d88-a7c1-444e-83f3-48a6bdebd584","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.4845052} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3405eb643f6d83b137c84ab89d7704cf","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":505,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":505,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.689154,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3afe2830-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676562,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Mn0.-9E1Ep6rxVhJBqm4S2a3MIYWvJVhdKxJEqqoSvXZo5k"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3afe2830-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3405eb643f6d83b137c84ab89d7704cf"} gateway-1 | {"time_local":"18/Sep/2024:16:22:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a814f609-28f1-468d-b124-cbdcae32a87c? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3405eb643f6d83b137c84ab89d7704cf"} device-1 | {"level":"info","message":"GET /devices/a814f609-28f1-468d-b124-cbdcae32a87c? 200 16ms","method":"GET","requestID":"3405eb643f6d83b137c84ab89d7704cf","responseTime":16,"status":200,"url":"/devices/a814f609-28f1-468d-b124-cbdcae32a87c?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"09a369b5-af28-4f51-a416-ae483837c741","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.4987366} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"48ba4269-ba6e-42f0-9402-8b86eb2935d6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.499068} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"3afe2830-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"3afe2830-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"3afe2830-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b'","requestID":"3afe2830-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b'","requestID":"3afe2830-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"3afe2830-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 29ms","method":"POST","requestID":"3afe2830-75da-11ef-ba7c-09eaa4331ae1","responseTime":29,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"3afe2830-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"6e92b722-2b82-4a55-8b0a-aaf0a870477b","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"3b0442b0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\"","requestID":"3b0442b0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"3b0442b0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"3b0469c0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"46b10264-f6cb-4d60-a859-84e53b9f9fef\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\"","requestID":"3b0469c0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"3b0469c0-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"790c49d9818c5d53c96649aecdf06f96","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"790c49d9818c5d53c96649aecdf06f96","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connecting","url":"http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b"}}},"level":"info","message":"received a callback","requestID":"790c49d9818c5d53c96649aecdf06f96"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} device-1 | {"data":{"peerconnection":"6e92b722-2b82-4a55-8b0a-aaf0a870477b","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 12ms","method":"POST","requestID":"790c49d9818c5d53c96649aecdf06f96","responseTime":12,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch","requestID":"790c49d9818c5d53c96649aecdf06f96"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} device-1 | {"data":{"peerconnection":"6e92b722-2b82-4a55-8b0a-aaf0a870477b","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"5a54a669c075f2b83e77a1bf576e3f0a"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3b0972d0-75da-11ef-ba7c-09eaa4331ae1"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":506,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"689d0eaa-abd8-4151-8a5a-545a0ea9d4f1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.5625827} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":506,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.128743,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3b0972d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"3b0972d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"6e92b722-2b82-4a55-8b0a-aaf0a870477b","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0367f72a570e2c0088600c103d3083a3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"0367f72a570e2c0088600c103d3083a3","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3b0972d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af/signaling 200 16ms","method":"POST","requestID":"3b0972d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af/signaling"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b"}}},"level":"info","message":"received a callback","requestID":"0367f72a570e2c0088600c103d3083a3"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3b0ca720-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":507,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d6e0f5bf-b74f-4412-ba2d-12eaa1a863cf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.5830874} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":507,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.948357,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"3b0d9180-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3b0ca720-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3b0ca720-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":508,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F6e92b722-2b82-4a55-8b0a-aaf0a870477b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bf463ecf-de0c-4076-b66c-9a0c852a19b5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.5893347} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":508,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.021321,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3b0d9180-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3b0d9180-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3b0ca720-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a814f609-28f1-468d-b124-cbdcae32a87c/signaling 200 13ms","method":"POST","requestID":"3b0ca720-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/a814f609-28f1-468d-b124-cbdcae32a87c/signaling"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"3b0d9180-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b 200 11ms","method":"GET","requestID":"3b0d9180-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 36ms","method":"POST","requestID":"0367f72a570e2c0088600c103d3083a3","responseTime":36,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.038","http_referrer":"","http_user_agent":"node-fetch","requestID":"0367f72a570e2c0088600c103d3083a3"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3b118920-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":509,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e2c3396b-f22e-4e2a-9828-17891ec3cd1e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.6150074} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":509,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.492536,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3b118920-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3b118920-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3b118920-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a814f609-28f1-468d-b124-cbdcae32a87c/signaling 200 9ms","method":"POST","requestID":"3b118920-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/a814f609-28f1-468d-b124-cbdcae32a87c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3b1336d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":510,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"361aa193-4f2b-4262-8058-87e0db433344","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676562.6270442} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":510,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.847373,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:42Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3b1336d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3b1336d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3b1336d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af/signaling 200 9ms","method":"POST","requestID":"3b1336d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2M30.goJszBFQJmnVLyr0tLopiB2KgBhpCv1Q40njTMaPn04","level":"info","message":"auth send jwt","requestID":"1fcfcaa04a9939740afa10170a793194"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1fcfcaa04a9939740afa10170a793194","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d","requestID":"1fcfcaa04a9939740afa10170a793194"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":511,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:43Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":511,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":2.528414,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1fcfcaa04a9939740afa10170a793194","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676563,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2M30.goJszBFQJmnVLyr0tLopiB2KgBhpCv1Q40njTMaPn04"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"1fcfcaa04a9939740afa10170a793194","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d","requestID":"1fcfcaa04a9939740afa10170a793194"} experiment-1 | {"level":"info","message":"GET /experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d 200 17ms","method":"GET","requestID":"1fcfcaa04a9939740afa10170a793194","responseTime":17,"status":200,"url":"/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"} gateway-1 | {"time_local":"18/Sep/2024:16:22:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d HTTP/1.1","status": "200","body_bytes_sent":"851","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1fcfcaa04a9939740afa10170a793194"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2M30.goJszBFQJmnVLyr0tLopiB2KgBhpCv1Q40njTMaPn04","level":"info","message":"auth send jwt","requestID":"8e5aaf7b0d7cd4bff2e670b699244a60"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"8e5aaf7b0d7cd4bff2e670b699244a60","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d","requestID":"8e5aaf7b0d7cd4bff2e670b699244a60"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":512,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:43Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":512,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.210899,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:43Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8e5aaf7b0d7cd4bff2e670b699244a60","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676563,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2M30.goJszBFQJmnVLyr0tLopiB2KgBhpCv1Q40njTMaPn04"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8e5aaf7b0d7cd4bff2e670b699244a60","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"},"level":"info","message":"Attempting to finish experiment","requestID":"8e5aaf7b0d7cd4bff2e670b699244a60"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"3b53e950-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":513,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:43Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":513,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.182386,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:43Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3b53e950-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676563,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2M30.goJszBFQJmnVLyr0tLopiB2KgBhpCv1Q40njTMaPn04"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3b53e950-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b","device":"7029b47f-e310-4b7f-bcfa-50ad294f01af","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"18/Sep/2024:16:22:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce?id=46b10264-f6cb-4d60-a859-84e53b9f9fef HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.542","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"22cde0a3874560dcd9f77d6beaf031ef"} gateway-1 | {"time_local":"18/Sep/2024:16:22:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce?id=e62f58ae-b0ae-4af2-b21b-b1ce223dd23b HTTP/1.1","status": "101","body_bytes_sent":"940749","request_time":"0.542","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"430ad768f7b8ff5392f52a7ffcd1fd7c"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b","device":"a814f609-28f1-468d-b124-cbdcae32a87c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"6e92b722-2b82-4a55-8b0a-aaf0a870477b","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"46b10264-f6cb-4d60-a859-84e53b9f9fef\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"46b10264-f6cb-4d60-a859-84e53b9f9fef\" from room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" in room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"e62f58ae-b0ae-4af2-b21b-b1ce223dd23b\" from room \"http://localhost/rooms/e68c9f12-e53e-4141-96ef-77cb28b33cce\""} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F6e92b722-2b82-4a55-8b0a-aaf0a870477b': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F6e92b722-2b82-4a55-8b0a-aaf0a870477b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"6ff9b38f-6199-4934-81bd-3d074dfbbbe1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.0673916} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c38c8aa4478a15a6b2ee61ead42abeac","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"08440125-6a94-4f29-ae92-44021a4527ff","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.0678523} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"c38c8aa4478a15a6b2ee61ead42abeac","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"3b53e950-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b"}}},"level":"info","message":"received a callback","requestID":"c38c8aa4478a15a6b2ee61ead42abeac"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"da45f0dbe88f9ac9ac480d429199c865","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"da45f0dbe88f9ac9ac480d429199c865","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b"}}},"level":"info","message":"received a callback","requestID":"da45f0dbe88f9ac9ac480d429199c865"} device-1 | {"data":{"peerconnection":"6e92b722-2b82-4a55-8b0a-aaf0a870477b","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"3b53e950-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b 204 45ms","method":"DELETE","requestID":"3b53e950-75da-11ef-ba7c-09eaa4331ae1","responseTime":45,"status":204,"url":"/peerconnections/6e92b722-2b82-4a55-8b0a-aaf0a870477b"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af'"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"},"level":"info","message":"Successfully finished experiment","requestID":"8e5aaf7b0d7cd4bff2e670b699244a60"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3b5e70a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":514,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:43Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa814f609-28f1-468d-b124-cbdcae32a87c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0b7dc119-995e-4cae-a002-bff3a20aaaf9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.1199315} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":514,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.519714,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3b5e70a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3b5e70a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3b5e70a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a814f609-28f1-468d-b124-cbdcae32a87c/signaling 200 10ms","method":"POST","requestID":"3b5e70a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/a814f609-28f1-468d-b124-cbdcae32a87c/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fcbcb47c0-644f-41af-a553-4cb207a35b0d': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fcbcb47c0-644f-41af-a553-4cb207a35b0d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"2d92e788-d260-4255-8f0d-7c5a78507676","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.126457} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3b604560-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4571c6dd-cd74-47d3-bcb0-b4fce5e8fcd8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.1268535} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"8e5aaf7b0d7cd4bff2e670b699244a60","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":515,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:43Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7029b47f-e310-4b7f-bcfa-50ad294f01af","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c1fbdd8b-b62c-4bfd-a04c-28275daeccab","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.1311433} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":515,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.428983,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3b604560-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3b604560-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3b604560-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7029b47f-e310-4b7f-bcfa-50ad294f01af/signaling 200 10ms","method":"POST","requestID":"3b604560-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d","requestID":"8e5aaf7b0d7cd4bff2e670b699244a60"} gateway-1 | {"time_local":"18/Sep/2024:16:22:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.196","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8e5aaf7b0d7cd4bff2e670b699244a60"} experiment-1 | {"level":"info","message":"DELETE /experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d 204 190ms","method":"DELETE","requestID":"8e5aaf7b0d7cd4bff2e670b699244a60","responseTime":190,"status":204,"url":"/experiments/cbcb47c0-644f-41af-a553-4cb207a35b0d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 153ms","method":"POST","requestID":"c38c8aa4478a15a6b2ee61ead42abeac","responseTime":153,"status":200,"url":"/callbacks/experiment"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 152ms","method":"POST","requestID":"da45f0dbe88f9ac9ac480d429199c865","responseTime":152,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.156","http_referrer":"","http_user_agent":"node-fetch","requestID":"c38c8aa4478a15a6b2ee61ead42abeac"} gateway-1 | {"time_local":"18/Sep/2024:16:22:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.157","http_referrer":"","http_user_agent":"node-fetch","requestID":"da45f0dbe88f9ac9ac480d429199c865"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2M30.goJszBFQJmnVLyr0tLopiB2KgBhpCv1Q40njTMaPn04","level":"info","message":"auth send jwt","requestID":"aa443ca4ff8e663e1d78c9cd50c4d4d5"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"aa443ca4ff8e663e1d78c9cd50c4d4d5","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"aa443ca4ff8e663e1d78c9cd50c4d4d5"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":516,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:43Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":516,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.948841,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:43Z"} gateway-1 | {"time_local":"18/Sep/2024:16:22:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1320","request_time":"1.121","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"94ddf9acf12a9019f0fa0a6f34e5c969"} gateway-1 | {"time_local":"18/Sep/2024:16:22:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1438","request_time":"1.109","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"bfb0e1ea371079f06276bb18bd3b5335"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"aa443ca4ff8e663e1d78c9cd50c4d4d5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676563,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2M30.goJszBFQJmnVLyr0tLopiB2KgBhpCv1Q40njTMaPn04"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"aa443ca4ff8e663e1d78c9cd50c4d4d5","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/a814f609-28f1-468d-b124-cbdcae32a87c' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/7029b47f-e310-4b7f-bcfa-50ad294f01af' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"bebef4bb-3720-4382-bf36-8521af514402","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.247611} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"aa443ca4ff8e663e1d78c9cd50c4d4d5","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"490fe4c0-4e11-446b-b718-0eaee2f3d554","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.251415} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"aa443ca4ff8e663e1d78c9cd50c4d4d5","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"dac3d95e-0226-4ca7-9ba2-8ad2e0563813","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.2598474} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"77fe24b6-7df0-4154-8b76-982a02272369","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.259999} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"aa443ca4ff8e663e1d78c9cd50c4d4d5","responseTime":10,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:43.259812426Z"}]},"request_id":"9df8e9a6-c1ea-494d-82f7-f0d566baa802","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.2646267} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"aa443ca4ff8e663e1d78c9cd50c4d4d5","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"aa443ca4ff8e663e1d78c9cd50c4d4d5"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"aa443ca4ff8e663e1d78c9cd50c4d4d5","responseTime":40,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"aa443ca4ff8e663e1d78c9cd50c4d4d5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2M30.goJszBFQJmnVLyr0tLopiB2KgBhpCv1Q40njTMaPn04","level":"info","message":"auth send jwt","requestID":"d51d499901316b882cf7745d92bf46c6"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d51d499901316b882cf7745d92bf46c6","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d51d499901316b882cf7745d92bf46c6"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":517,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:43Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":517,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.693067,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:43Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d51d499901316b882cf7745d92bf46c6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676563,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2M30.goJszBFQJmnVLyr0tLopiB2KgBhpCv1Q40njTMaPn04"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d51d499901316b882cf7745d92bf46c6","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"defd3f2c-c3cb-49e9-bced-a16db551ce74","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.292921} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d51d499901316b882cf7745d92bf46c6","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"77bfde73-7062-44f6-8a04-529d08a02da2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.2975543} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"d51d499901316b882cf7745d92bf46c6","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"7d02aa83-6fe8-4103-8444-a13edf87e31b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.3073997} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4b931d3c-4460-4c92-8a8a-1370a39e1c21","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.3076336} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"d51d499901316b882cf7745d92bf46c6","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:43.307363976Z"}]},"request_id":"d39d1838-84c8-4f6a-a80b-848e3fb4aeb7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.3137016} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d51d499901316b882cf7745d92bf46c6","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d51d499901316b882cf7745d92bf46c6"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"d51d499901316b882cf7745d92bf46c6","responseTime":45,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d51d499901316b882cf7745d92bf46c6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2M30.goJszBFQJmnVLyr0tLopiB2KgBhpCv1Q40njTMaPn04","level":"info","message":"auth send jwt","requestID":"94fa13ded8665227a198c219633d82a7"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"94fa13ded8665227a198c219633d82a7","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"94fa13ded8665227a198c219633d82a7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":518,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:43Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":518,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.216264,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:43Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"94fa13ded8665227a198c219633d82a7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676563,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2M30.goJszBFQJmnVLyr0tLopiB2KgBhpCv1Q40njTMaPn04"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"94fa13ded8665227a198c219633d82a7","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:43.307363976Z"}]},"request_id":"a523bb62-be91-4712-bf03-09134cfc8f0a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.8039348} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"94fa13ded8665227a198c219633d82a7","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"858a1d0e-3b5f-472e-9db9-68b9eb6cb1e8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.8096063} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"94fa13ded8665227a198c219633d82a7","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:43.307363976Z"}]},"request_id":"03a9adb6-2798-490d-905b-c44d7f07176c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676563.8205812} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"94fa13ded8665227a198c219633d82a7","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"94fa13ded8665227a198c219633d82a7"} gateway-1 | {"time_local":"18/Sep/2024:16:22:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/7f6908b5-14af-4cc3-be5c-bff22623c0df HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.039","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"94fa13ded8665227a198c219633d82a7"} device-1 | {"level":"info","message":"PATCH /devices/7f6908b5-14af-4cc3-be5c-bff22623c0df 200 32ms","method":"PATCH","requestID":"94fa13ded8665227a198c219633d82a7","responseTime":32,"status":200,"url":"/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2M30.goJszBFQJmnVLyr0tLopiB2KgBhpCv1Q40njTMaPn04","level":"info","message":"auth send jwt","requestID":"cc3cd2c63a82e342d3f40b9f9a4d58ca"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"cc3cd2c63a82e342d3f40b9f9a4d58ca","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"cc3cd2c63a82e342d3f40b9f9a4d58ca"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":519,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:43Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":519,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.673317,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:43Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"cc3cd2c63a82e342d3f40b9f9a4d58ca","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676563,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2M30.goJszBFQJmnVLyr0tLopiB2KgBhpCv1Q40njTMaPn04"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"cc3cd2c63a82e342d3f40b9f9a4d58ca","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"cc3cd2c63a82e342d3f40b9f9a4d58ca"} device-1 | {"level":"info","message":"POST /devices/7f6908b5-14af-4cc3-be5c-bff22623c0df/websocket 200 19ms","method":"POST","requestID":"cc3cd2c63a82e342d3f40b9f9a4d58ca","responseTime":19,"status":200,"url":"/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/7f6908b5-14af-4cc3-be5c-bff22623c0df/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"cc3cd2c63a82e342d3f40b9f9a4d58ca"} device-1 | {"level":"info","message":"device 'http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5fc27daf287e4051b9f60f4bf0165c21","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"5fc27daf287e4051b9f60f4bf0165c21","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"5fc27daf287e4051b9f60f4bf0165c21"} device-1 | {"level":"info","message":"OPTIONS /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe/websocket 200 1ms","method":"OPTIONS","requestID":"5fc27daf287e4051b9f60f4bf0165c21","responseTime":1,"status":200,"url":"/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE","level":"info","message":"auth send jwt","requestID":"f531d6a1250deba0b613caba6946e3a7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f531d6a1250deba0b613caba6946e3a7","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"f531d6a1250deba0b613caba6946e3a7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":520,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":520,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.225873,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f531d6a1250deba0b613caba6946e3a7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676565,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f531d6a1250deba0b613caba6946e3a7","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"f531d6a1250deba0b613caba6946e3a7"} device-1 | {"level":"info","message":"POST /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe/websocket 200 21ms","method":"POST","requestID":"f531d6a1250deba0b613caba6946e3a7","responseTime":21,"status":200,"url":"/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f531d6a1250deba0b613caba6946e3a7"} device-1 | {"level":"info","message":"device 'http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"75765bbcb1ed238bc6eaf7955db0015b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"75765bbcb1ed238bc6eaf7955db0015b","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"75765bbcb1ed238bc6eaf7955db0015b"} device-1 | {"level":"info","message":"OPTIONS /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe? 200 1ms","method":"OPTIONS","requestID":"75765bbcb1ed238bc6eaf7955db0015b","responseTime":1,"status":200,"url":"/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE","level":"info","message":"auth send jwt","requestID":"a3b4bdb0b46779c08c576c7f0a270cd3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a3b4bdb0b46779c08c576c7f0a270cd3","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"a3b4bdb0b46779c08c576c7f0a270cd3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":521,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":521,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.290105,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a3b4bdb0b46779c08c576c7f0a270cd3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676565,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a3b4bdb0b46779c08c576c7f0a270cd3","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:43.259812426Z"}]},"request_id":"be236f69-fc9b-468c-a67a-db97c5f50a02","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.403404} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a3b4bdb0b46779c08c576c7f0a270cd3","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"24201181-0d80-4e18-9ea5-873a4712fb47","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.4095573} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"a3b4bdb0b46779c08c576c7f0a270cd3","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:43.259812426Z"}]},"request_id":"140511a5-c092-4fa4-8572-fd90aef9712f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.4208412} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a3b4bdb0b46779c08c576c7f0a270cd3","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"a3b4bdb0b46779c08c576c7f0a270cd3"} device-1 | {"level":"info","message":"PATCH /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe? 200 35ms","method":"PATCH","requestID":"a3b4bdb0b46779c08c576c7f0a270cd3","responseTime":35,"status":200,"url":"/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.040","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"a3b4bdb0b46779c08c576c7f0a270cd3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE","level":"info","message":"auth send jwt","requestID":"cb2e52fd34e8a6e755b162233afa2705"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"cb2e52fd34e8a6e755b162233afa2705","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cb2e52fd34e8a6e755b162233afa2705"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":522,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":522,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.838878,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"cb2e52fd34e8a6e755b162233afa2705","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676565,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"cb2e52fd34e8a6e755b162233afa2705","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:43.259812426Z"}]},"request_id":"0eaf748a-9b98-457a-89fc-95279e0b3df5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.4439187} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cb2e52fd34e8a6e755b162233afa2705","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cb2e52fd34e8a6e755b162233afa2705"} gateway-1 | {"time_local":"18/Sep/2024:16:22:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cb2e52fd34e8a6e755b162233afa2705"} device-1 | {"level":"info","message":"GET /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe? 200 23ms","method":"GET","requestID":"cb2e52fd34e8a6e755b162233afa2705","responseTime":23,"status":200,"url":"/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE","level":"info","message":"auth send jwt","requestID":"ab7819fb688376c75b494a2ca6ad555f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ab7819fb688376c75b494a2ca6ad555f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ab7819fb688376c75b494a2ca6ad555f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":523,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":523,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.299609,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ab7819fb688376c75b494a2ca6ad555f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676565,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ab7819fb688376c75b494a2ca6ad555f","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:43.307363976Z"}]},"request_id":"1786c291-86ae-4294-9db4-a969de2fd4af","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.4740326} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ab7819fb688376c75b494a2ca6ad555f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ab7819fb688376c75b494a2ca6ad555f"} gateway-1 | {"time_local":"18/Sep/2024:16:22:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7f6908b5-14af-4cc3-be5c-bff22623c0df? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ab7819fb688376c75b494a2ca6ad555f"} device-1 | {"level":"info","message":"GET /devices/7f6908b5-14af-4cc3-be5c-bff22623c0df? 200 13ms","method":"GET","requestID":"ab7819fb688376c75b494a2ca6ad555f","responseTime":13,"status":200,"url":"/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE","level":"info","message":"auth send jwt","requestID":"5619462dd73cc69fc35113acfc7793f2"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5619462dd73cc69fc35113acfc7793f2","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"5619462dd73cc69fc35113acfc7793f2"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":524,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":524,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.991874,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5619462dd73cc69fc35113acfc7793f2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676565,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5619462dd73cc69fc35113acfc7793f2","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"},"level":"info","message":"Attempting to run experiment","requestID":"5619462dd73cc69fc35113acfc7793f2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"},"level":"info","message":"Attempting to book experiment","requestID":"5619462dd73cc69fc35113acfc7793f2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"},"level":"info","message":"Successfully booked experiment","requestID":"5619462dd73cc69fc35113acfc7793f2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3ccd9100-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3ccdb810-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":525,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":525,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.27265,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3ccd9100-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676565,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3ccd9100-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":526,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":526,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.672921,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3ccdb810-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676565,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3ccdb810-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:43.259812426Z"}]},"request_id":"e759c5d6-6166-421d-8f05-ea9c2b8f0072","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.5292633} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3ccd9100-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:43.307363976Z"}]},"request_id":"c5f26890-537f-4d5f-8d61-9742a4377d74","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.5304174} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3ccdb810-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3ccd9100-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe? 200 15ms","method":"GET","requestID":"3ccd9100-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3ccdb810-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/7f6908b5-14af-4cc3-be5c-bff22623c0df? 200 15ms","method":"GET","requestID":"3ccdb810-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"},"level":"info","message":"Setting up experiment","requestID":"5619462dd73cc69fc35113acfc7793f2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"5619462dd73cc69fc35113acfc7793f2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"},"level":"info","message":"Successfully locked booking for experiment","requestID":"5619462dd73cc69fc35113acfc7793f2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"5619462dd73cc69fc35113acfc7793f2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"5619462dd73cc69fc35113acfc7793f2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"},"level":"info","message":"Attempting to update booking for experiment","requestID":"5619462dd73cc69fc35113acfc7793f2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"},"level":"info","message":"Successfully updated booking for experiment","requestID":"5619462dd73cc69fc35113acfc7793f2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"},"level":"info","message":"Successfully set up experiment","requestID":"5619462dd73cc69fc35113acfc7793f2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3cd7a320-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3cd7f140-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3cd86670-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"},"level":"info","message":"Successfully running experiment","requestID":"5619462dd73cc69fc35113acfc7793f2"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":527,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":527,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.61366,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":528,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3cd7a320-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676565,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3cd7a320-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":528,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.959473,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3cd7f140-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676565,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"3cd7f140-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":529,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5ab9455b-5c9d-4287-88e5-8c3f60090e00","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.5985816} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":529,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.996291,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3cd86670-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"3cd86670-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:43.259812426Z"}]},"request_id":"383e99fc-eab9-43c0-9956-dd111ac09406","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.6015615} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:43.307363976Z"}]},"request_id":"c7a2f9f5-134a-4605-89c6-da986a03bbf1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.603748} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"3cd7a320-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"3cd7f140-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3cd86670-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe/signaling 200 22ms","method":"POST","requestID":"3cd86670-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3cd7a320-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe? 200 28ms","method":"GET","requestID":"3cd7a320-75da-11ef-ba7c-09eaa4331ae1","responseTime":28,"status":200,"url":"/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbbf729cd-fe5e-4516-bbf1-9565c56b949c#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbbf729cd-fe5e-4516-bbf1-9565c56b949c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"c4fd5056-c7fa-432b-87b2-d246a0fc08b9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.6143022} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fb8a6ca1-db08-42b0-a1d3-426dac972f9f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.6145906} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3cd7f140-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/7f6908b5-14af-4cc3-be5c-bff22623c0df? 200 28ms","method":"GET","requestID":"3cd7f140-75da-11ef-ba7c-09eaa4331ae1","responseTime":28,"status":200,"url":"/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3cdc3700-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"5619462dd73cc69fc35113acfc7793f2","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":530,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5948d23d-01ea-4eaa-b497-5751e85491a1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.6215792} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":530,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.32487,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3cdc3700-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3cdd4870-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"3cdc3700-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":531,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3cdc3700-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7f6908b5-14af-4cc3-be5c-bff22623c0df/signaling 200 11ms","method":"POST","requestID":"3cdc3700-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"acb3caf5-d7a3-4520-9962-d1260c9eee7d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.628822} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":531,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.407932,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3cdd4870-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3cdd4870-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"5619462dd73cc69fc35113acfc7793f2"} experiment-1 | {"level":"info","message":"POST /experiments? 201 147ms","method":"POST","requestID":"5619462dd73cc69fc35113acfc7793f2","responseTime":147,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"782","request_time":"0.152","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5619462dd73cc69fc35113acfc7793f2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3cdd4870-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe/signaling 200 10ms","method":"POST","requestID":"3cdd4870-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3cdef620-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE","level":"info","message":"auth send jwt","requestID":"c0f5057e5a4557fafdcfe10dcae9d947"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c0f5057e5a4557fafdcfe10dcae9d947","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c0f5057e5a4557fafdcfe10dcae9d947"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":532,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":533,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":533,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.690314,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c0f5057e5a4557fafdcfe10dcae9d947","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676565,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c0f5057e5a4557fafdcfe10dcae9d947","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"beb14321-7a08-4fed-9021-d341192fdc1c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.6391969} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":532,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.865594,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3cdef620-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3cdef620-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:43.259812426Z"}]},"request_id":"4ac33595-d583-4ca2-ae53-24d536655eea","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.6428857} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3cdef620-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7f6908b5-14af-4cc3-be5c-bff22623c0df/signaling 200 9ms","method":"POST","requestID":"3cdef620-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c0f5057e5a4557fafdcfe10dcae9d947","responseTime":2,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"5619462dd73cc69fc35113acfc7793f2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3ce0a3d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3ce0cae0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c0f5057e5a4557fafdcfe10dcae9d947"} gateway-1 | {"time_local":"18/Sep/2024:16:22:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c0f5057e5a4557fafdcfe10dcae9d947"} device-1 | {"level":"info","message":"GET /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe? 200 11ms","method":"GET","requestID":"c0f5057e5a4557fafdcfe10dcae9d947","responseTime":11,"status":200,"url":"/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":534,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":534,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.709679,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":535,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3ce0a3d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676565,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3ce0a3d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":535,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.657991,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3ce0cae0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676565,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3ce0cae0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE","level":"info","message":"auth send jwt","requestID":"34fed7162641d9c7bb47e6a1e18d8b4c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"34fed7162641d9c7bb47e6a1e18d8b4c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"34fed7162641d9c7bb47e6a1e18d8b4c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:43.259812426Z"}]},"request_id":"8c9eb65b-16fc-4b81-a1a0-736cd8192069","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.6536803} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3ce0a3d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:43.307363976Z"}]},"request_id":"ed5e79c2-b210-481a-92f1-f78f5bc65620","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.654476} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3ce0cae0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":536,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":536,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.909578,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"34fed7162641d9c7bb47e6a1e18d8b4c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676565,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3ce0a3d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"34fed7162641d9c7bb47e6a1e18d8b4c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe? 200 13ms","method":"GET","requestID":"3ce0a3d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3ce0cae0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/7f6908b5-14af-4cc3-be5c-bff22623c0df? 200 14ms","method":"GET","requestID":"3ce0cae0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:43.307363976Z"}]},"request_id":"713dd4ae-a99e-4224-a9ae-4251a06831b1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.6612456} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"},"level":"info","message":"Building connection plan","requestID":"5619462dd73cc69fc35113acfc7793f2"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"e2a369a5-e157-4906-8ebb-16fa4879bfaf"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"30969781-db37-432d-970f-61ca031f8072"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/file","uuid":"1f255aeb-9978-4133-abe2-31af63b8c36b"}]},"level":"info","message":"Built pairwise service configurations","requestID":"5619462dd73cc69fc35113acfc7793f2"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"34fed7162641d9c7bb47e6a1e18d8b4c","responseTime":3,"status":200,"url":"/relations/query"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"3ce362f0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"3ce362f0-75da-11ef-9672-db8da4810e4b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"34fed7162641d9c7bb47e6a1e18d8b4c"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"3ce362f0-75da-11ef-9672-db8da4810e4b","responseTime":1,"status":201,"url":"/rooms"} gateway-1 | {"time_local":"18/Sep/2024:16:22:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7f6908b5-14af-4cc3-be5c-bff22623c0df? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"34fed7162641d9c7bb47e6a1e18d8b4c"} device-1 | {"level":"info","message":"GET /devices/7f6908b5-14af-4cc3-be5c-bff22623c0df? 200 11ms","method":"GET","requestID":"34fed7162641d9c7bb47e6a1e18d8b4c","responseTime":11,"status":200,"url":"/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df?"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3?id=ad85753f-ca91-444d-a1db-9092dbc1d5a4","ws://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3?id=a9eaf537-918b-419f-8fbb-76998d020fda"]},"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"5619462dd73cc69fc35113acfc7793f2"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"3ce3d820-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":537,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":537,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.715153,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3ce3d820-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676565,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3ce3d820-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"ca89ff8e-2919-462a-86f5-00172c5ed370","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.6778069} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5bc6fb76-dbf3-4a53-806a-2e5a2554e695","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.6780806} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"3ce3d820-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"3ce3d820-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"3ce3d820-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484'","requestID":"3ce3d820-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484'","requestID":"3ce3d820-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"3ce3d820-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 27ms","method":"POST","requestID":"3ce3d820-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"3ce3d820-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"cbee4abb-dbe9-4054-9905-b1435dfa3484","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"3ce9cb90-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\"","requestID":"3ce9cb90-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"3ce9cb90-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"94f297d0251ddaae67a50dbfe6e09c99","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"3cea40c0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"ad85753f-ca91-444d-a1db-9092dbc1d5a4\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\"","requestID":"3cea40c0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"3cea40c0-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"94f297d0251ddaae67a50dbfe6e09c99","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connecting","url":"http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484"}}},"level":"info","message":"received a callback","requestID":"94f297d0251ddaae67a50dbfe6e09c99"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} device-1 | {"data":{"peerconnection":"cbee4abb-dbe9-4054-9905-b1435dfa3484","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 22ms","method":"POST","requestID":"94f297d0251ddaae67a50dbfe6e09c99","responseTime":22,"status":200,"url":"/callbacks/experiment"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} gateway-1 | {"time_local":"18/Sep/2024:16:22:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch","requestID":"94f297d0251ddaae67a50dbfe6e09c99"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} device-1 | {"data":{"peerconnection":"cbee4abb-dbe9-4054-9905-b1435dfa3484","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"5619462dd73cc69fc35113acfc7793f2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3cf03430-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"cbee4abb-dbe9-4054-9905-b1435dfa3484","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":538,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e9dbb85fcb79f721cbdac87bfa06c183","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9c8b1e76-f1d8-489f-ae93-7f385986e384","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.751638} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"e9dbb85fcb79f721cbdac87bfa06c183","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":538,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.565252,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3cf03430-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3cf03430-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484"}}},"level":"info","message":"received a callback","requestID":"e9dbb85fcb79f721cbdac87bfa06c183"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"3cf208f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3cf03430-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":539,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} device-1 | {"level":"info","message":"POST /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe/signaling 200 15ms","method":"POST","requestID":"3cf03430-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fcbee4abb-dbe9-4054-9905-b1435dfa3484","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"903cffe3-dd1b-496a-89ca-6aa3c8d82da9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.7645524} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":539,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.952851,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3cf2f350-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3cf208f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3cf208f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"3cf208f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":540,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} device-1 | {"level":"info","message":"GET /peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484 200 9ms","method":"GET","requestID":"3cf208f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a13180bf-b2d9-4c01-9693-322717358018","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.7701755} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":540,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.70201,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3cf2f350-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3cf2f350-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3cf2f350-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7f6908b5-14af-4cc3-be5c-bff22623c0df/signaling 200 10ms","method":"POST","requestID":"3cf2f350-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df/signaling"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 28ms","method":"POST","requestID":"e9dbb85fcb79f721cbdac87bfa06c183","responseTime":28,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.032","http_referrer":"","http_user_agent":"node-fetch","requestID":"e9dbb85fcb79f721cbdac87bfa06c183"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3cf5b270-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":541,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6cd785d4-458c-4fd0-a071-4aba13720eb3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.787329} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":541,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.317241,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3cf5b270-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3cf5b270-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3cf5b270-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe/signaling 200 8ms","method":"POST","requestID":"3cf5b270-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3cf73910-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":542,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8ad1a1e7-2339-4000-9ea1-7fb5d115a960","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.7974977} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":542,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.183371,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3cf73910-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3cf73910-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3cf73910-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7f6908b5-14af-4cc3-be5c-bff22623c0df/signaling 200 8ms","method":"POST","requestID":"3cf73910-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE","level":"info","message":"auth send jwt","requestID":"2f1998952ba6efbda07cdb884b815d54"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2f1998952ba6efbda07cdb884b815d54","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c","requestID":"2f1998952ba6efbda07cdb884b815d54"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":543,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":543,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.283697,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2f1998952ba6efbda07cdb884b815d54","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676565,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2f1998952ba6efbda07cdb884b815d54","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c","requestID":"2f1998952ba6efbda07cdb884b815d54"} gateway-1 | {"time_local":"18/Sep/2024:16:22:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c HTTP/1.1","status": "200","body_bytes_sent":"855","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2f1998952ba6efbda07cdb884b815d54"} experiment-1 | {"level":"info","message":"GET /experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c 200 16ms","method":"GET","requestID":"2f1998952ba6efbda07cdb884b815d54","responseTime":16,"status":200,"url":"/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE","level":"info","message":"auth send jwt","requestID":"f4797a1652fde97ada4fe38be9c00653"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f4797a1652fde97ada4fe38be9c00653","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c","requestID":"f4797a1652fde97ada4fe38be9c00653"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":544,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":544,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":2.613899,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f4797a1652fde97ada4fe38be9c00653","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676565,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"f4797a1652fde97ada4fe38be9c00653","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"},"level":"info","message":"Attempting to finish experiment","requestID":"f4797a1652fde97ada4fe38be9c00653"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"3d0e1c70-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":545,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":545,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.390892,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:45Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3d0e1c70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676565,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2NX0.xS27mQfnfgU_iZP3IG9AUGpu0LI1up0NXI8zp6kVMSE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3d0e1c70-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:22:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3?id=a9eaf537-918b-419f-8fbb-76998d020fda HTTP/1.1","status": "101","body_bytes_sent":"940747","request_time":"0.255","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"a689a309a17767b51f3e99bf52e99e84"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"a9eaf537-918b-419f-8fbb-76998d020fda\" from room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484","device":"6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"18/Sep/2024:16:22:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3?id=ad85753f-ca91-444d-a1db-9092dbc1d5a4 HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.255","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"99ca1655d3aa9b7f75d6012babb3c23d"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"cbee4abb-dbe9-4054-9905-b1435dfa3484","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"ad85753f-ca91-444d-a1db-9092dbc1d5a4\" in room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"ad85753f-ca91-444d-a1db-9092dbc1d5a4\" from room \"http://localhost/rooms/b0ee9a0b-1b5e-429f-ba40-9b22ecfee3c3\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4ff9dfbeccbfa4a392ba6c16ca68391a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fcbee4abb-dbe9-4054-9905-b1435dfa3484': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fcbee4abb-dbe9-4054-9905-b1435dfa3484","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"b86049c4-063a-42fa-9ba8-22352b1cf8a3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.9651294} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8f354dd6-4c06-49b0-acf1-efaaac16ef13","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676565.9654331} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4ff9dfbeccbfa4a392ba6c16ca68391a","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"3d0e1c70-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d053f4e13207ef050abbbee394045aaa","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484"}}},"level":"info","message":"received a callback","requestID":"4ff9dfbeccbfa4a392ba6c16ca68391a"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d053f4e13207ef050abbbee394045aaa","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484"}}},"level":"info","message":"received a callback","requestID":"d053f4e13207ef050abbbee394045aaa"} device-1 | {"data":{"peerconnection":"cbee4abb-dbe9-4054-9905-b1435dfa3484","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"3d0e1c70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484 204 46ms","method":"DELETE","requestID":"3d0e1c70-75da-11ef-ba7c-09eaa4331ae1","responseTime":46,"status":204,"url":"/peerconnections/cbee4abb-dbe9-4054-9905-b1435dfa3484"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"},"level":"info","message":"Successfully finished experiment","requestID":"f4797a1652fde97ada4fe38be9c00653"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3d18a3c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":546,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:46Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3fa4c0ae-4756-4d21-abfe-2c16a8fd9d16","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676566.019382} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":546,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.115271,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3d18a3c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"3d18a3c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3d18a3c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe/signaling 200 14ms","method":"POST","requestID":"3d18a3c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3d1b3bd0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbbf729cd-fe5e-4516-bbf1-9565c56b949c': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbbf729cd-fe5e-4516-bbf1-9565c56b949c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"2019d3c5-48b0-4fea-a0a1-7e248f5009f2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676566.030606} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1c3d2fa3-5757-4776-ae52-975859dce71a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676566.0314157} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"f4797a1652fde97ada4fe38be9c00653","responseTime":25,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":547,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:46Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7f6908b5-14af-4cc3-be5c-bff22623c0df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"183d5ee7-7511-46b3-b2ec-4b033b16ef19","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676566.0369375} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":547,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.777123,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3d1b3bd0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"3d1b3bd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3d1b3bd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7f6908b5-14af-4cc3-be5c-bff22623c0df/signaling 200 15ms","method":"POST","requestID":"3d1b3bd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c","requestID":"f4797a1652fde97ada4fe38be9c00653"} gateway-1 | {"time_local":"18/Sep/2024:16:22:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.174","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f4797a1652fde97ada4fe38be9c00653"} experiment-1 | {"level":"info","message":"DELETE /experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c 204 170ms","method":"DELETE","requestID":"f4797a1652fde97ada4fe38be9c00653","responseTime":170,"status":204,"url":"/experiments/bbf729cd-fe5e-4516-bbf1-9565c56b949c"} gateway-1 | {"time_local":"18/Sep/2024:16:22:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1437","request_time":"2.244","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"904063b47dcbc725339e89a88610e032"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 131ms","method":"POST","requestID":"4ff9dfbeccbfa4a392ba6c16ca68391a","responseTime":131,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.136","http_referrer":"","http_user_agent":"node-fetch","requestID":"4ff9dfbeccbfa4a392ba6c16ca68391a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 132ms","method":"POST","requestID":"d053f4e13207ef050abbbee394045aaa","responseTime":132,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.136","http_referrer":"","http_user_agent":"node-fetch","requestID":"d053f4e13207ef050abbbee394045aaa"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Nn0.I053spXWLJaseDdcjXFdw9aYlFXxs3tUVxHBxPRmirU","level":"info","message":"auth send jwt","requestID":"64ba742f5b6e5b898daaf6181f4ccf98"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"64ba742f5b6e5b898daaf6181f4ccf98","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"64ba742f5b6e5b898daaf6181f4ccf98"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":548,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:46Z"} gateway-1 | {"time_local":"18/Sep/2024:16:22:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1438","request_time":"0.760","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"cc3558b2c0cfc1729fc4db7dccd76e67"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":548,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.832034,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:46Z"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/7f6908b5-14af-4cc3-be5c-bff22623c0df' closed"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"64ba742f5b6e5b898daaf6181f4ccf98","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676566,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Nn0.I053spXWLJaseDdcjXFdw9aYlFXxs3tUVxHBxPRmirU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"64ba742f5b6e5b898daaf6181f4ccf98","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/6a3b30e3-7a63-4b6f-8656-cc9daeaabcbe' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f6c56598-6c0a-4a21-8f4d-511f7c11491c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676566.123813} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"64ba742f5b6e5b898daaf6181f4ccf98","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4d7e3b4d-77cd-499a-9879-4a915a607b52","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676566.1280086} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"64ba742f5b6e5b898daaf6181f4ccf98","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"769a7d02-79d8-430f-bf75-613049e235c0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676566.1377263} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"49d2f9bd-f036-41ca-b8c6-08d9b840c44c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676566.1379774} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"64ba742f5b6e5b898daaf6181f4ccf98","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:46.137702647Z"}]},"request_id":"8a242051-2da3-428c-861e-fdd36027c30a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676566.1426675} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"64ba742f5b6e5b898daaf6181f4ccf98","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"64ba742f5b6e5b898daaf6181f4ccf98"} gateway-1 | {"time_local":"18/Sep/2024:16:22:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"64ba742f5b6e5b898daaf6181f4ccf98"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"64ba742f5b6e5b898daaf6181f4ccf98","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Nn0.I053spXWLJaseDdcjXFdw9aYlFXxs3tUVxHBxPRmirU","level":"info","message":"auth send jwt","requestID":"1a464536b89999823441bf18365d6726"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1a464536b89999823441bf18365d6726","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"1a464536b89999823441bf18365d6726"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":549,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:46Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":549,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.963674,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:46Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1a464536b89999823441bf18365d6726","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676566,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Nn0.I053spXWLJaseDdcjXFdw9aYlFXxs3tUVxHBxPRmirU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1a464536b89999823441bf18365d6726","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"c0f5af8d-cf1a-4f3c-ac66-41e83c3d8246","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676566.1726918} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1a464536b89999823441bf18365d6726","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2a2628af-7f5a-4c1d-84ee-46b99bdf47e8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676566.1771495} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"1a464536b89999823441bf18365d6726","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"b2feca2d-07ff-49ae-a7ff-e2039ff8214b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676566.1876533} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"11c31035-529f-44de-91c2-7c80ed050133","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676566.1880207} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"1a464536b89999823441bf18365d6726","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:46.187631363Z"}]},"request_id":"0e6bc79f-870a-4918-9fa4-e75574ba76a2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676566.192102} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1a464536b89999823441bf18365d6726","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"1a464536b89999823441bf18365d6726"} gateway-1 | {"time_local":"18/Sep/2024:16:22:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1a464536b89999823441bf18365d6726"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"1a464536b89999823441bf18365d6726","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Nn0.I053spXWLJaseDdcjXFdw9aYlFXxs3tUVxHBxPRmirU","level":"info","message":"auth send jwt","requestID":"8b6b773660c4e52e9eb4acd07fa75c65"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"8b6b773660c4e52e9eb4acd07fa75c65","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"8b6b773660c4e52e9eb4acd07fa75c65"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":550,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:46Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":550,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.142192,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:46Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8b6b773660c4e52e9eb4acd07fa75c65","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676566,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Nn0.I053spXWLJaseDdcjXFdw9aYlFXxs3tUVxHBxPRmirU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8b6b773660c4e52e9eb4acd07fa75c65","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:46.137702647Z"}]},"request_id":"2076ec01-f87f-433d-9d9e-802b78f50fdd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676566.6704571} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8b6b773660c4e52e9eb4acd07fa75c65","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d8d7e087-4fac-4f15-85ae-0a5eae53a07c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676566.6746025} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"8b6b773660c4e52e9eb4acd07fa75c65","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:46.137702647Z"}]},"request_id":"f06b7a01-56b5-4d2b-ba15-fca50818e5c0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676566.6868603} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8b6b773660c4e52e9eb4acd07fa75c65","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"8b6b773660c4e52e9eb4acd07fa75c65"} device-1 | {"level":"info","message":"PATCH /devices/567a8780-7829-4b15-93e9-4750a4a93e64 200 29ms","method":"PATCH","requestID":"8b6b773660c4e52e9eb4acd07fa75c65","responseTime":29,"status":200,"url":"/devices/567a8780-7829-4b15-93e9-4750a4a93e64"} gateway-1 | {"time_local":"18/Sep/2024:16:22:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/567a8780-7829-4b15-93e9-4750a4a93e64 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.035","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"8b6b773660c4e52e9eb4acd07fa75c65"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Nn0.I053spXWLJaseDdcjXFdw9aYlFXxs3tUVxHBxPRmirU","level":"info","message":"auth send jwt","requestID":"af21956701102da1c258a11a34034aa7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"af21956701102da1c258a11a34034aa7","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"af21956701102da1c258a11a34034aa7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":551,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:46Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":551,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.154039,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:46Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"af21956701102da1c258a11a34034aa7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676566,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2Nn0.I053spXWLJaseDdcjXFdw9aYlFXxs3tUVxHBxPRmirU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"af21956701102da1c258a11a34034aa7","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"af21956701102da1c258a11a34034aa7"} gateway-1 | {"time_local":"18/Sep/2024:16:22:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/567a8780-7829-4b15-93e9-4750a4a93e64/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.023","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"af21956701102da1c258a11a34034aa7"} device-1 | {"level":"info","message":"POST /devices/567a8780-7829-4b15-93e9-4750a4a93e64/websocket 200 17ms","method":"POST","requestID":"af21956701102da1c258a11a34034aa7","responseTime":17,"status":200,"url":"/devices/567a8780-7829-4b15-93e9-4750a4a93e64/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"339dac8749850264c870ccbd8decc3cb","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"339dac8749850264c870ccbd8decc3cb","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"339dac8749850264c870ccbd8decc3cb"} device-1 | {"level":"info","message":"OPTIONS /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd/websocket 200 1ms","method":"OPTIONS","requestID":"339dac8749850264c870ccbd8decc3cb","responseTime":1,"status":200,"url":"/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM","level":"info","message":"auth send jwt","requestID":"dd9c2fdbb98c17826c7237c7e433f8d1"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"dd9c2fdbb98c17826c7237c7e433f8d1","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"dd9c2fdbb98c17826c7237c7e433f8d1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":552,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":552,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.188007,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"dd9c2fdbb98c17826c7237c7e433f8d1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676568,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"dd9c2fdbb98c17826c7237c7e433f8d1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"dd9c2fdbb98c17826c7237c7e433f8d1"} device-1 | {"level":"info","message":"POST /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd/websocket 200 20ms","method":"POST","requestID":"dd9c2fdbb98c17826c7237c7e433f8d1","responseTime":20,"status":200,"url":"/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"dd9c2fdbb98c17826c7237c7e433f8d1"} device-1 | {"level":"info","message":"device 'http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4f66f34e6d2c01433e1650d71ef7e0c8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4f66f34e6d2c01433e1650d71ef7e0c8","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4f66f34e6d2c01433e1650d71ef7e0c8"} device-1 | {"level":"info","message":"OPTIONS /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd? 200 1ms","method":"OPTIONS","requestID":"4f66f34e6d2c01433e1650d71ef7e0c8","responseTime":1,"status":200,"url":"/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM","level":"info","message":"auth send jwt","requestID":"f9c8aaefb65ec8a1dde1eea280ecd477"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"f9c8aaefb65ec8a1dde1eea280ecd477","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"f9c8aaefb65ec8a1dde1eea280ecd477"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":553,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":553,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.111227,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f9c8aaefb65ec8a1dde1eea280ecd477","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676568,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f9c8aaefb65ec8a1dde1eea280ecd477","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:46.187631363Z"}]},"request_id":"01d679ab-96df-48e1-b1ef-6a72cb9070b2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.3261812} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f9c8aaefb65ec8a1dde1eea280ecd477","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f3e00727-f557-4906-924c-42396f69987e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.3335044} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"f9c8aaefb65ec8a1dde1eea280ecd477","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:46.187631363Z"}]},"request_id":"5e287bbc-b12a-49c7-a439-97c9a51520a5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.3458102} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f9c8aaefb65ec8a1dde1eea280ecd477","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"f9c8aaefb65ec8a1dde1eea280ecd477"} device-1 | {"level":"info","message":"PATCH /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd? 200 38ms","method":"PATCH","requestID":"f9c8aaefb65ec8a1dde1eea280ecd477","responseTime":38,"status":200,"url":"/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.044","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f9c8aaefb65ec8a1dde1eea280ecd477"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM","level":"info","message":"auth send jwt","requestID":"adb5ae20e8cbb03011119c26c85a1e51"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"adb5ae20e8cbb03011119c26c85a1e51","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"adb5ae20e8cbb03011119c26c85a1e51"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":554,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":554,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.211666,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"adb5ae20e8cbb03011119c26c85a1e51","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676568,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"adb5ae20e8cbb03011119c26c85a1e51","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:46.137702647Z"}]},"request_id":"c53e3ed3-7954-41ec-bfe9-f347664ef723","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.3728423} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"adb5ae20e8cbb03011119c26c85a1e51","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"adb5ae20e8cbb03011119c26c85a1e51"} device-1 | {"level":"info","message":"GET /devices/567a8780-7829-4b15-93e9-4750a4a93e64? 200 18ms","method":"GET","requestID":"adb5ae20e8cbb03011119c26c85a1e51","responseTime":18,"status":200,"url":"/devices/567a8780-7829-4b15-93e9-4750a4a93e64?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/567a8780-7829-4b15-93e9-4750a4a93e64? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"adb5ae20e8cbb03011119c26c85a1e51"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM","level":"info","message":"auth send jwt","requestID":"47a494938eebac2889a2a5200168e202"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"47a494938eebac2889a2a5200168e202","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"47a494938eebac2889a2a5200168e202"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":555,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":555,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.244457,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"47a494938eebac2889a2a5200168e202","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676568,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"47a494938eebac2889a2a5200168e202","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:46.187631363Z"}]},"request_id":"2a49512c-bdab-435f-94a7-dd2a8dc46ab7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.3984118} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"47a494938eebac2889a2a5200168e202","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"47a494938eebac2889a2a5200168e202"} gateway-1 | {"time_local":"18/Sep/2024:16:22:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"47a494938eebac2889a2a5200168e202"} device-1 | {"level":"info","message":"GET /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd? 200 20ms","method":"GET","requestID":"47a494938eebac2889a2a5200168e202","responseTime":20,"status":200,"url":"/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM","level":"info","message":"auth send jwt","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":556,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":556,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.320124,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676568,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"},"level":"info","message":"Attempting to run experiment","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"},"level":"info","message":"Attempting to book experiment","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"},"level":"info","message":"Successfully booked experiment","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3e8d9080-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3e8ddea0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":557,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":557,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.359898,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":558,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3e8d9080-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676568,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3e8d9080-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":558,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.951352,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3e8ddea0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676568,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3e8ddea0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:46.137702647Z"}]},"request_id":"86763332-2b40-4c7b-82c4-d626b60d4162","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.4716506} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3e8d9080-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:46.187631363Z"}]},"request_id":"8f0a626b-9640-4a79-91fd-378b1d32bd21","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.4730453} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3e8ddea0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3e8d9080-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/567a8780-7829-4b15-93e9-4750a4a93e64? 200 24ms","method":"GET","requestID":"3e8d9080-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/devices/567a8780-7829-4b15-93e9-4750a4a93e64?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3e8ddea0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd? 200 24ms","method":"GET","requestID":"3e8ddea0-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"},"level":"info","message":"Setting up experiment","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"},"level":"info","message":"Successfully locked booking for experiment","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"},"level":"info","message":"Attempting to update booking for experiment","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"},"level":"info","message":"Successfully updated booking for experiment","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"},"level":"info","message":"Successfully set up experiment","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3e99ec90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3e9a3ab0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3e9a88d0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"},"level":"info","message":"Successfully running experiment","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":559,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":559,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.340074,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":560,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3e99ec90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676568,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3e99ec90-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":560,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.722859,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3e9a3ab0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676568,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"3e9a3ab0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:46.137702647Z"}]},"request_id":"6c186c43-5e49-4593-ba5c-3da9af178be9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.5516229} authorization-1 | {"client_addr":"127.0.0.1:60362","level":"info","msg":"Received request.","req_id":561,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"3e99ec90-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:46.187631363Z"}]},"request_id":"972fcc23-f26d-447e-bdb8-71f13219ca21","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.5539143} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"733f325b-7fb9-435b-8509-31ac89f73c32","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.5547063} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"3e9a3ab0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:60362","level":"info","msg":"Sent response.","req_id":561,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.369997,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3e9a88d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 15ms","method":"POST","requestID":"3e9a88d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3e9a3ab0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd? 200 25ms","method":"GET","requestID":"3e9a3ab0-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3e99ec90-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F30d8748a-7812-49fe-b67f-683d933dbcb2#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F30d8748a-7812-49fe-b67f-683d933dbcb2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"1b42231e-b54b-4cd1-a4e8-25d90f0f5e50","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.564884} device-1 | {"level":"info","message":"GET /devices/567a8780-7829-4b15-93e9-4750a4a93e64? 200 28ms","method":"GET","requestID":"3e99ec90-75da-11ef-ba7c-09eaa4331ae1","responseTime":28,"status":200,"url":"/devices/567a8780-7829-4b15-93e9-4750a4a93e64?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"41171183-b6fb-4df0-ba02-dfe66b2e4d02","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.5650966} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3e9a88d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/567a8780-7829-4b15-93e9-4750a4a93e64/signaling 200 25ms","method":"POST","requestID":"3e9a88d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/devices/567a8780-7829-4b15-93e9-4750a4a93e64/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a","responseTime":22,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3e9ea780-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3e9f1cb0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":562,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":563,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9117c9f2-e9c8-4e10-915b-0c08fbf103c8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.5752707} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":562,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.789889,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3e9ea780-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"3e9ea780-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6c505348-9374-47ec-826c-4ebd226d0f63","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.5776381} experiment-1 | {"data":{"experiment":"http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":563,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.291184,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3e9f1cb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} experiment-1 | {"level":"info","message":"POST /experiments? 201 169ms","method":"POST","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a","responseTime":169,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"782","request_time":"0.173","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3e9f1cb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3e9ea780-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/567a8780-7829-4b15-93e9-4750a4a93e64/signaling 200 14ms","method":"POST","requestID":"3e9ea780-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/567a8780-7829-4b15-93e9-4750a4a93e64/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3e9f1cb0-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM","level":"info","message":"auth send jwt","requestID":"bff82740725f63c86f18a06251bb883d"} device-1 | {"level":"info","message":"POST /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd/signaling 200 13ms","method":"POST","requestID":"3e9f1cb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd/signaling"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"bff82740725f63c86f18a06251bb883d","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3ea11880-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bff82740725f63c86f18a06251bb883d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":564,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":565,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e0b48d7b-6dee-4bb5-ba48-ac13f788cd2f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.590698} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":565,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.107025,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"bff82740725f63c86f18a06251bb883d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676568,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"bff82740725f63c86f18a06251bb883d","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":564,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.374936,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3ea11880-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3ea11880-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:46.137702647Z"}]},"request_id":"3f17120d-ab98-47b3-9d83-125d1c2adc3b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.595401} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"bff82740725f63c86f18a06251bb883d","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3ea11880-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd/signaling 200 13ms","method":"POST","requestID":"3ea11880-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3ea36270-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3ea38980-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bff82740725f63c86f18a06251bb883d"} gateway-1 | {"time_local":"18/Sep/2024:16:22:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/567a8780-7829-4b15-93e9-4750a4a93e64? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bff82740725f63c86f18a06251bb883d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":566,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} device-1 | {"level":"info","message":"GET /devices/567a8780-7829-4b15-93e9-4750a4a93e64? 200 16ms","method":"GET","requestID":"bff82740725f63c86f18a06251bb883d","responseTime":16,"status":200,"url":"/devices/567a8780-7829-4b15-93e9-4750a4a93e64?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":566,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.018581,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":567,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3ea36270-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676568,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3ea36270-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":567,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.721787,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3ea38980-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676568,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3ea38980-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:46.137702647Z"}]},"request_id":"595da7e0-9234-4c32-9589-f0a221236442","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.6071327} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM","level":"info","message":"auth send jwt","requestID":"ba6c40b5b02c60b89b60077cb348201f"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3ea36270-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ba6c40b5b02c60b89b60077cb348201f","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:46.187631363Z"}]},"request_id":"14ebed6b-7f76-4dbf-a10e-397ba6bd3b87","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.6080785} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3ea38980-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ba6c40b5b02c60b89b60077cb348201f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":568,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3ea36270-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/567a8780-7829-4b15-93e9-4750a4a93e64? 200 14ms","method":"GET","requestID":"3ea36270-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/567a8780-7829-4b15-93e9-4750a4a93e64?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":568,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.718934,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3ea38980-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd? 200 14ms","method":"GET","requestID":"3ea38980-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ba6c40b5b02c60b89b60077cb348201f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676568,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ba6c40b5b02c60b89b60077cb348201f","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"},"level":"info","message":"Building connection plan","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"131aec08-3537-4230-9ab3-a772c4c68b92"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"68244b76-2863-4447-af39-efc8f144c75b"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/file","uuid":"eb8cc0bb-daa2-459a-9b37-68de83fe09b2"}]},"level":"info","message":"Built pairwise service configurations","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"3ea62190-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"3ea62190-75da-11ef-9672-db8da4810e4b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:46.187631363Z"}]},"request_id":"3da1ab8e-6e3a-48b1-abba-76feb116c2a6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.6182392} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"3ea62190-75da-11ef-9672-db8da4810e4b","responseTime":1,"status":201,"url":"/rooms"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ba6c40b5b02c60b89b60077cb348201f","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8?id=19760247-0767-4806-ad8c-3ac394a1c04e","ws://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8?id=c787a9f9-8d0d-40ae-9892-27a64c86e1ea"]},"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"3ea6bdd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ba6c40b5b02c60b89b60077cb348201f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":569,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} device-1 | {"level":"info","message":"GET /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd? 200 13ms","method":"GET","requestID":"ba6c40b5b02c60b89b60077cb348201f","responseTime":13,"status":200,"url":"/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ba6c40b5b02c60b89b60077cb348201f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":569,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":2.6034,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3ea6bdd0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676568,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OH0.pQxs5IG3G_rty3the0ylhWnG79rrXRIcsxjJLahmzOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3ea6bdd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"f2a761d3-4bfd-4734-8d15-a6cc6b2e9ce0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.6338575} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e4497c8b-f503-4858-a905-0313269ab388","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.6341794} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"3ea6bdd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"3ea6bdd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"3ea6bdd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8'","requestID":"3ea6bdd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8'","requestID":"3ea6bdd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"3ea6bdd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 25ms","method":"POST","requestID":"3ea6bdd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"3ea6bdd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ed9f19fc-6399-4457-aab6-798fbf1f4dd8","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"3eac3c10-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"c787a9f9-8d0d-40ae-9892-27a64c86e1ea\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\"","requestID":"3eac3c10-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"3eac3c10-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6ae26982709144dc112de151cb422b57","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"6ae26982709144dc112de151cb422b57","responseTime":2,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"3eac6320-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\"","requestID":"3eac6320-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"3eac6320-75da-11ef-9672-db8da4810e4b"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connecting","url":"http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8"}}},"level":"info","message":"received a callback","requestID":"6ae26982709144dc112de151cb422b57"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 11ms","method":"POST","requestID":"6ae26982709144dc112de151cb422b57","responseTime":11,"status":200,"url":"/callbacks/experiment"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} gateway-1 | {"time_local":"18/Sep/2024:16:22:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch","requestID":"6ae26982709144dc112de151cb422b57"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} device-1 | {"data":{"peerconnection":"ed9f19fc-6399-4457-aab6-798fbf1f4dd8","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"5bf1f2b9394df7fac3f3b2f830e4e54a"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3eafbe80-75da-11ef-ba7c-09eaa4331ae1"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":570,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ecbb91c8-0f04-40c6-9004-2893a0da8dfb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.687319} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":570,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.383364,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3eafbe80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"3eafbe80-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3eafbe80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/567a8780-7829-4b15-93e9-4750a4a93e64/signaling 200 27ms","method":"POST","requestID":"3eafbe80-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":200,"url":"/devices/567a8780-7829-4b15-93e9-4750a4a93e64/signaling"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} device-1 | {"data":{"peerconnection":"ed9f19fc-6399-4457-aab6-798fbf1f4dd8","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3eb4c790-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":571,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fa128f6d-0826-464d-86b9-dc4794f52c98","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.7183244} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":571,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.777185,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3eb4c790-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3eb4c790-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ed9f19fc-6399-4457-aab6-798fbf1f4dd8","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5fe43e87e09a49f2a0ebb5bd874b60c6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3eb4c790-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"5fe43e87e09a49f2a0ebb5bd874b60c6","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8"}}},"level":"info","message":"received a callback","requestID":"5fe43e87e09a49f2a0ebb5bd874b60c6"} device-1 | {"level":"info","message":"POST /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd/signaling 200 15ms","method":"POST","requestID":"3eb4c790-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd/signaling"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"3eb822f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":572,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fed9f19fc-6399-4457-aab6-798fbf1f4dd8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f43d7600-8a35-4703-bccb-8e036ce22816","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.739802} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":572,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.678677,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3eb822f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3eb822f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"3eb822f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8 200 8ms","method":"GET","requestID":"3eb822f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 28ms","method":"POST","requestID":"5fe43e87e09a49f2a0ebb5bd874b60c6","responseTime":28,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.032","http_referrer":"","http_user_agent":"node-fetch","requestID":"5fe43e87e09a49f2a0ebb5bd874b60c6"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3ebba560-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":573,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ef5ffb35-6c73-4a60-9776-98afdbb9e937","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.7635071} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":573,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.6724,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3ebba560-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3ebba560-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3ebba560-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd/signaling 200 10ms","method":"POST","requestID":"3ebba560-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3ebd7a20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":574,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"95314d29-fbb8-4d3f-a1cc-00b8837f642d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676568.774409} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":574,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.482425,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3ebd7a20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3ebd7a20-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3ebd7a20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/567a8780-7829-4b15-93e9-4750a4a93e64/signaling 200 8ms","method":"POST","requestID":"3ebd7a20-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/567a8780-7829-4b15-93e9-4750a4a93e64/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ","level":"info","message":"auth send jwt","requestID":"9342e5d54fcc3de928fc73c811ee3045"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9342e5d54fcc3de928fc73c811ee3045","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/30d8748a-7812-49fe-b67f-683d933dbcb2","requestID":"9342e5d54fcc3de928fc73c811ee3045"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":575,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":575,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.144566,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9342e5d54fcc3de928fc73c811ee3045","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9342e5d54fcc3de928fc73c811ee3045","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/30d8748a-7812-49fe-b67f-683d933dbcb2","requestID":"9342e5d54fcc3de928fc73c811ee3045"} gateway-1 | {"time_local":"18/Sep/2024:16:22:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/30d8748a-7812-49fe-b67f-683d933dbcb2 HTTP/1.1","status": "200","body_bytes_sent":"855","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9342e5d54fcc3de928fc73c811ee3045"} experiment-1 | {"level":"info","message":"GET /experiments/30d8748a-7812-49fe-b67f-683d933dbcb2 200 15ms","method":"GET","requestID":"9342e5d54fcc3de928fc73c811ee3045","responseTime":15,"status":200,"url":"/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ","level":"info","message":"auth send jwt","requestID":"11bdbbde007947b46433e3dd763e90a3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"11bdbbde007947b46433e3dd763e90a3","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/30d8748a-7812-49fe-b67f-683d933dbcb2","requestID":"11bdbbde007947b46433e3dd763e90a3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":576,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":576,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":2.560211,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"11bdbbde007947b46433e3dd763e90a3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"11bdbbde007947b46433e3dd763e90a3","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"},"level":"info","message":"Attempting to finish experiment","requestID":"11bdbbde007947b46433e3dd763e90a3"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"3ef66470-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":577,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":577,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.231993,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3ef66470-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3ef66470-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:22:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8?id=c787a9f9-8d0d-40ae-9892-27a64c86e1ea HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.504","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"082e2cb615994abb1c9fca51099a4b48"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"c787a9f9-8d0d-40ae-9892-27a64c86e1ea\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8","device":"e796bc8e-442a-4eb5-85df-89fb3f154fbd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"18/Sep/2024:16:22:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8?id=19760247-0767-4806-ad8c-3ac394a1c04e HTTP/1.1","status": "101","body_bytes_sent":"1203025","request_time":"0.505","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4994f400b613e2b6ae4dbae9ba0ee5d6"} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"c787a9f9-8d0d-40ae-9892-27a64c86e1ea\" from room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ed9f19fc-6399-4457-aab6-798fbf1f4dd8","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" in room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"19760247-0767-4806-ad8c-3ac394a1c04e\" from room \"http://localhost/rooms/55447b02-8c73-41c7-9a33-6d75f648f0c8\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d77d319aa3666fd1e2d79cad72ff5995","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d77d319aa3666fd1e2d79cad72ff5995","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fed9f19fc-6399-4457-aab6-798fbf1f4dd8': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fed9f19fc-6399-4457-aab6-798fbf1f4dd8","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"4f57c7ae-7b97-44b6-8aca-a57a24813fc3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.1661155} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"66f4f98a-e668-4a0e-a456-981a80c6612b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.1664937} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4174a73fd1c992d2a4c1e1ef9bdb18a9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"3ef66470-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8"}}},"level":"info","message":"received a callback","requestID":"d77d319aa3666fd1e2d79cad72ff5995"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4174a73fd1c992d2a4c1e1ef9bdb18a9","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8"}}},"level":"info","message":"received a callback","requestID":"4174a73fd1c992d2a4c1e1ef9bdb18a9"} device-1 | {"data":{"peerconnection":"ed9f19fc-6399-4457-aab6-798fbf1f4dd8","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"3ef66470-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8 204 43ms","method":"DELETE","requestID":"3ef66470-75da-11ef-ba7c-09eaa4331ae1","responseTime":43,"status":204,"url":"/peerconnections/ed9f19fc-6399-4457-aab6-798fbf1f4dd8"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"},"level":"info","message":"Successfully finished experiment","requestID":"11bdbbde007947b46433e3dd763e90a3"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3f002870-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":578,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe796bc8e-442a-4eb5-85df-89fb3f154fbd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"38649644-8889-44d4-a694-2992be83abff","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.2121058} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":578,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.842403,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3f002870-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3f002870-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3f002870-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd/signaling 200 10ms","method":"POST","requestID":"3f002870-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F30d8748a-7812-49fe-b67f-683d933dbcb2': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F30d8748a-7812-49fe-b67f-683d933dbcb2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"7c8eec65-c4b7-4907-8509-f54be62b81ee","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.21937} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"142b740f-632e-4cc2-8546-586ac34564d2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.2195814} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3f022440-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"11bdbbde007947b46433e3dd763e90a3","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":579,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F567a8780-7829-4b15-93e9-4750a4a93e64","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"37007aff-6ec4-45c5-8b34-7b5f877e779b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.2252414} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":579,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.927208,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3f022440-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3f022440-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3f022440-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/567a8780-7829-4b15-93e9-4750a4a93e64/signaling 200 11ms","method":"POST","requestID":"3f022440-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/567a8780-7829-4b15-93e9-4750a4a93e64/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/30d8748a-7812-49fe-b67f-683d933dbcb2","requestID":"11bdbbde007947b46433e3dd763e90a3"} gateway-1 | {"time_local":"18/Sep/2024:16:22:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/30d8748a-7812-49fe-b67f-683d933dbcb2 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.163","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"11bdbbde007947b46433e3dd763e90a3"} experiment-1 | {"level":"info","message":"DELETE /experiments/30d8748a-7812-49fe-b67f-683d933dbcb2 204 158ms","method":"DELETE","requestID":"11bdbbde007947b46433e3dd763e90a3","responseTime":158,"status":204,"url":"/experiments/30d8748a-7812-49fe-b67f-683d933dbcb2"} gateway-1 | {"time_local":"18/Sep/2024:16:22:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1437","request_time":"2.567","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"bb4908488edf5ecfeb8034645c9a51b0"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 116ms","method":"POST","requestID":"d77d319aa3666fd1e2d79cad72ff5995","responseTime":116,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.120","http_referrer":"","http_user_agent":"node-fetch","requestID":"d77d319aa3666fd1e2d79cad72ff5995"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 116ms","method":"POST","requestID":"4174a73fd1c992d2a4c1e1ef9bdb18a9","responseTime":116,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.121","http_referrer":"","http_user_agent":"node-fetch","requestID":"4174a73fd1c992d2a4c1e1ef9bdb18a9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ","level":"info","message":"auth send jwt","requestID":"ddc3f1194a37fbb0a033181c19e48677"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ddc3f1194a37fbb0a033181c19e48677","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"ddc3f1194a37fbb0a033181c19e48677"} gateway-1 | {"time_local":"18/Sep/2024:16:22:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1438","request_time":"1.025","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"9106d77ea6ebb196c4cc95acc61aafed"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":580,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":580,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.843068,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ddc3f1194a37fbb0a033181c19e48677","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ddc3f1194a37fbb0a033181c19e48677","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/567a8780-7829-4b15-93e9-4750a4a93e64' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"fa2a3866-fd69-4e24-b253-cbfe10bdae19","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.3093572} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ddc3f1194a37fbb0a033181c19e48677","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/e796bc8e-442a-4eb5-85df-89fb3f154fbd' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"af107cae-a72c-4c29-950c-b272749abd0f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.3140795} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"ddc3f1194a37fbb0a033181c19e48677","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"3d1d6347-1adf-4e23-8555-5de18fef7954","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.323297} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1de046ed-59ca-4cc9-adef-49a98c067daa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.3235447} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"ddc3f1194a37fbb0a033181c19e48677","responseTime":11,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:49.323275423Z"}]},"request_id":"c6996250-db89-4c1e-b7b8-f7232657d625","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.3278027} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ddc3f1194a37fbb0a033181c19e48677","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ddc3f1194a37fbb0a033181c19e48677"} gateway-1 | {"time_local":"18/Sep/2024:16:22:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.047","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ddc3f1194a37fbb0a033181c19e48677"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"ddc3f1194a37fbb0a033181c19e48677","responseTime":41,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ","level":"info","message":"auth send jwt","requestID":"bb6eab79423a6f466c4f12cd5d356dab"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"bb6eab79423a6f466c4f12cd5d356dab","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"bb6eab79423a6f466c4f12cd5d356dab"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":581,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":581,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.657412,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"bb6eab79423a6f466c4f12cd5d356dab","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"bb6eab79423a6f466c4f12cd5d356dab","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"bcbd4111-349a-44ac-9034-20098aec5bce","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.356314} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"bb6eab79423a6f466c4f12cd5d356dab","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"262025e3-e641-434d-a62a-1a795a44d674","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.3606105} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"bb6eab79423a6f466c4f12cd5d356dab","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"e93ae8cd-3f5c-4cd3-91a2-e2d62195f003","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.3710656} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9dd8e942-0206-4e74-8271-50ce58677ee9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.3713386} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"bb6eab79423a6f466c4f12cd5d356dab","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:49.371035987Z"}]},"request_id":"3f5346cc-7121-4ee5-9e35-79e1674d59c5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.3751597} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"bb6eab79423a6f466c4f12cd5d356dab","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"bb6eab79423a6f466c4f12cd5d356dab"} gateway-1 | {"time_local":"18/Sep/2024:16:22:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bb6eab79423a6f466c4f12cd5d356dab"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"bb6eab79423a6f466c4f12cd5d356dab","responseTime":41,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ","level":"info","message":"auth send jwt","requestID":"787c0b08fbf3b167adb6e307aaf001c5"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"787c0b08fbf3b167adb6e307aaf001c5","responseTime":6,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ","level":"info","message":"auth send jwt","requestID":"71db3d811605609549b82280d6fb27be"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"71db3d811605609549b82280d6fb27be","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"787c0b08fbf3b167adb6e307aaf001c5"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"71db3d811605609549b82280d6fb27be"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":582,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":582,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.24086,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"787c0b08fbf3b167adb6e307aaf001c5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"787c0b08fbf3b167adb6e307aaf001c5","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":583,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":583,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.643385,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"71db3d811605609549b82280d6fb27be","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"71db3d811605609549b82280d6fb27be","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:49.323275423Z"}]},"request_id":"9d9bda8d-cc85-4ef7-abc8-f07057e14ac3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.8515046} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"787c0b08fbf3b167adb6e307aaf001c5","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:49.371035987Z"}]},"request_id":"e516eb86-b470-4be4-8d1f-71a968580552","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.8525522} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"71db3d811605609549b82280d6fb27be","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7b5c0bfd-ef17-433a-8bef-19520803c5ee","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.8563747} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"787c0b08fbf3b167adb6e307aaf001c5","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"791c179d-f6f8-4428-9419-bd225eec0217","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.858144} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"71db3d811605609549b82280d6fb27be","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:49.371035987Z"}]},"request_id":"1a72f550-40d5-4a53-9b99-a94f3722e1e7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.8639667} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"71db3d811605609549b82280d6fb27be","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"71db3d811605609549b82280d6fb27be"} device-1 | {"level":"info","message":"PATCH /devices/160177b7-3038-4ffe-a11b-05c3d164f2fb 200 24ms","method":"PATCH","requestID":"71db3d811605609549b82280d6fb27be","responseTime":24,"status":200,"url":"/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb"} gateway-1 | {"time_local":"18/Sep/2024:16:22:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/160177b7-3038-4ffe-a11b-05c3d164f2fb HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.034","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"71db3d811605609549b82280d6fb27be"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ","level":"info","message":"auth send jwt","requestID":"0609fdacbd24960263f6f50f48b181b4"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"0609fdacbd24960263f6f50f48b181b4","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"0609fdacbd24960263f6f50f48b181b4"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:49.323275423Z"}]},"request_id":"4b34da23-12c1-409d-a8b4-36b8a53356fb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.873768} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"787c0b08fbf3b167adb6e307aaf001c5","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":584,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":584,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.202156,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:49Z"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"787c0b08fbf3b167adb6e307aaf001c5"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0609fdacbd24960263f6f50f48b181b4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0609fdacbd24960263f6f50f48b181b4","responseTime":3,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:22:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/955014b9-ce19-451a-980e-a2796c76043c HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.044","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"787c0b08fbf3b167adb6e307aaf001c5"} device-1 | {"level":"info","message":"PATCH /devices/955014b9-ce19-451a-980e-a2796c76043c 200 36ms","method":"PATCH","requestID":"787c0b08fbf3b167adb6e307aaf001c5","responseTime":36,"status":200,"url":"/devices/955014b9-ce19-451a-980e-a2796c76043c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ","level":"info","message":"auth send jwt","requestID":"cc9d1a64a9087c923cce6d3b4e0d643b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"cc9d1a64a9087c923cce6d3b4e0d643b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"cc9d1a64a9087c923cce6d3b4e0d643b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":585,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":585,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.811802,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"cc9d1a64a9087c923cce6d3b4e0d643b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"cc9d1a64a9087c923cce6d3b4e0d643b","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"0609fdacbd24960263f6f50f48b181b4"} device-1 | {"level":"info","message":"POST /devices/160177b7-3038-4ffe-a11b-05c3d164f2fb/websocket 200 16ms","method":"POST","requestID":"0609fdacbd24960263f6f50f48b181b4","responseTime":16,"status":200,"url":"/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/160177b7-3038-4ffe-a11b-05c3d164f2fb/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.021","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"0609fdacbd24960263f6f50f48b181b4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"cc9d1a64a9087c923cce6d3b4e0d643b"} gateway-1 | {"time_local":"18/Sep/2024:16:22:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/955014b9-ce19-451a-980e-a2796c76043c/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.020","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"cc9d1a64a9087c923cce6d3b4e0d643b"} device-1 | {"level":"info","message":"POST /devices/955014b9-ce19-451a-980e-a2796c76043c/websocket 200 17ms","method":"POST","requestID":"cc9d1a64a9087c923cce6d3b4e0d643b","responseTime":17,"status":200,"url":"/devices/955014b9-ce19-451a-980e-a2796c76043c/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ","level":"info","message":"auth send jwt","requestID":"603631b563723854823c0cfd9c2253a3"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"603631b563723854823c0cfd9c2253a3","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"603631b563723854823c0cfd9c2253a3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":586,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":586,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.675945,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"603631b563723854823c0cfd9c2253a3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"603631b563723854823c0cfd9c2253a3","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:49.323275423Z"}]},"request_id":"b76732b1-068e-47bc-85e7-b7b893405644","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.9345667} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"603631b563723854823c0cfd9c2253a3","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"603631b563723854823c0cfd9c2253a3"} device-1 | {"level":"info","message":"GET /devices/955014b9-ce19-451a-980e-a2796c76043c? 200 11ms","method":"GET","requestID":"603631b563723854823c0cfd9c2253a3","responseTime":11,"status":200,"url":"/devices/955014b9-ce19-451a-980e-a2796c76043c?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/955014b9-ce19-451a-980e-a2796c76043c? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"603631b563723854823c0cfd9c2253a3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ","level":"info","message":"auth send jwt","requestID":"a9b1fb6e5d28b156e22ba3c992740c99"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a9b1fb6e5d28b156e22ba3c992740c99","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a9b1fb6e5d28b156e22ba3c992740c99"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":587,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":587,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.577196,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a9b1fb6e5d28b156e22ba3c992740c99","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a9b1fb6e5d28b156e22ba3c992740c99","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:49.371035987Z"}]},"request_id":"0d9e21e5-a74c-470e-8a85-0cc277300e3d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676569.9529953} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a9b1fb6e5d28b156e22ba3c992740c99","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a9b1fb6e5d28b156e22ba3c992740c99"} gateway-1 | {"time_local":"18/Sep/2024:16:22:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/160177b7-3038-4ffe-a11b-05c3d164f2fb? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a9b1fb6e5d28b156e22ba3c992740c99"} device-1 | {"level":"info","message":"GET /devices/160177b7-3038-4ffe-a11b-05c3d164f2fb? 200 12ms","method":"GET","requestID":"a9b1fb6e5d28b156e22ba3c992740c99","responseTime":12,"status":200,"url":"/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ","level":"info","message":"auth send jwt","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"6de3115895e9d40f2b9c99e2cc2ca701","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":588,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":588,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.073708,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:49Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6de3115895e9d40f2b9c99e2cc2ca701","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6de3115895e9d40f2b9c99e2cc2ca701","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"},"level":"info","message":"Attempting to run experiment","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"},"level":"info","message":"Attempting to book experiment","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"},"level":"info","message":"Successfully booked experiment","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3f7901f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3f792900-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":589,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":589,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.831329,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":590,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3f7901f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3f7901f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":590,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.627892,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3f792900-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3f792900-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:49.323275423Z"}]},"request_id":"13353065-b8f8-4dcf-9529-4cfbddbd33c9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.0066493} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3f7901f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:49.371035987Z"}]},"request_id":"3b731881-fceb-400d-b241-55c86e37a524","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.0074131} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3f792900-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3f7901f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/955014b9-ce19-451a-980e-a2796c76043c? 200 13ms","method":"GET","requestID":"3f7901f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/955014b9-ce19-451a-980e-a2796c76043c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3f792900-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/160177b7-3038-4ffe-a11b-05c3d164f2fb? 200 13ms","method":"GET","requestID":"3f792900-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"},"level":"info","message":"Setting up experiment","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"},"level":"info","message":"Successfully locked booking for experiment","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"},"level":"info","message":"Attempting to update booking for experiment","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"},"level":"info","message":"Successfully updated booking for experiment","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"},"level":"info","message":"Successfully set up experiment","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3f82c5f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3f831410-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3f836230-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"},"level":"info","message":"Successfully running experiment","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":591,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":591,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.298777,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3f82c5f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3f82c5f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":592,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":592,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.023812,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"client_addr":"127.0.0.1:60362","level":"info","msg":"Received request.","req_id":593,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3f831410-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3f831410-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60362","level":"info","msg":"Sent response.","req_id":593,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.403816,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"94c4fb35-86a4-4358-bc9b-042c96db5ffa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.0734894} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3f836230-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"3f836230-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:49.323275423Z"}]},"request_id":"7456a689-8ff7-467e-89b3-9bb9b29f7c69","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.075727} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"3f82c5f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3f836230-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:49.371035987Z"}]},"request_id":"11ac7b90-6fac-4d6f-959e-6ee024bd05fa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.0789027} device-1 | {"level":"info","message":"POST /devices/955014b9-ce19-451a-980e-a2796c76043c/signaling 200 12ms","method":"POST","requestID":"3f836230-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/955014b9-ce19-451a-980e-a2796c76043c/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3f831410-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3f85ac20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3f82c5f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":594,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} device-1 | {"level":"info","message":"GET /devices/955014b9-ce19-451a-980e-a2796c76043c? 200 22ms","method":"GET","requestID":"3f82c5f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/955014b9-ce19-451a-980e-a2796c76043c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3f831410-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/160177b7-3038-4ffe-a11b-05c3d164f2fb? 200 21ms","method":"GET","requestID":"3f831410-75da-11ef-ba7c-09eaa4331ae1","responseTime":21,"status":200,"url":"/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8969f734-847e-450e-863e-7d61134ac02c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.0873575} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3f86bd90-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":594,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.381086,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3f85ac20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"3f85ac20-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F3c53130a-5f77-45c4-afc6-352c389dad95#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F3c53130a-5f77-45c4-afc6-352c389dad95","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"0a87485b-8f0f-4343-a67f-99deff5ceefe","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.0898445} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c3d4370d-c8ef-4254-a49d-c48f34142c75","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.0901499} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3f85ac20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/160177b7-3038-4ffe-a11b-05c3d164f2fb/signaling 200 11ms","method":"POST","requestID":"3f85ac20-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"6de3115895e9d40f2b9c99e2cc2ca701","responseTime":22,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":595,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0eb796b3-58bf-4561-b387-d7e425c439bf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.0950108} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":595,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.238189,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3f86bd90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3f86bd90-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3f86bd90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/955014b9-ce19-451a-980e-a2796c76043c/signaling 200 11ms","method":"POST","requestID":"3f86bd90-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/955014b9-ce19-451a-980e-a2796c76043c/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} gateway-1 | {"time_local":"18/Sep/2024:16:22:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"786","request_time":"0.145","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} experiment-1 | {"level":"info","message":"POST /experiments? 201 138ms","method":"POST","requestID":"6de3115895e9d40f2b9c99e2cc2ca701","responseTime":138,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3f892e90-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3MH0.baeOfp3aCqgKHbvzviKeIyyvfvBWHXCNc2PDjs1QBMA","level":"info","message":"auth send jwt","requestID":"7d77b69448696e6f6f3cf3c76d387c2c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7d77b69448696e6f6f3cf3c76d387c2c","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7d77b69448696e6f6f3cf3c76d387c2c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":596,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"79d992a2-a79a-4fbb-90df-1df67750c228","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.109633} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":597,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":596,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.32793,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3f892e90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3f892e90-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":597,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.733305,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7d77b69448696e6f6f3cf3c76d387c2c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676570,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3MH0.baeOfp3aCqgKHbvzviKeIyyvfvBWHXCNc2PDjs1QBMA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7d77b69448696e6f6f3cf3c76d387c2c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3f892e90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/160177b7-3038-4ffe-a11b-05c3d164f2fb/signaling 200 9ms","method":"POST","requestID":"3f892e90-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:49.323275423Z"}]},"request_id":"c17f1254-8abe-4b7e-9119-d5e10e80fac4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.1153078} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7d77b69448696e6f6f3cf3c76d387c2c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3f8b0350-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3f8b2a60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7d77b69448696e6f6f3cf3c76d387c2c"} gateway-1 | {"time_local":"18/Sep/2024:16:22:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/955014b9-ce19-451a-980e-a2796c76043c? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7d77b69448696e6f6f3cf3c76d387c2c"} device-1 | {"level":"info","message":"GET /devices/955014b9-ce19-451a-980e-a2796c76043c? 200 13ms","method":"GET","requestID":"7d77b69448696e6f6f3cf3c76d387c2c","responseTime":13,"status":200,"url":"/devices/955014b9-ce19-451a-980e-a2796c76043c?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":598,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":598,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.687541,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":599,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3f8b0350-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3MH0.baeOfp3aCqgKHbvzviKeIyyvfvBWHXCNc2PDjs1QBMA","level":"info","message":"auth send jwt","requestID":"4f52625d9d7143d915527d0f95fd32cd"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4f52625d9d7143d915527d0f95fd32cd","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3f8b0350-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":599,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.74615,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3f8b2a60-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3f8b2a60-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4f52625d9d7143d915527d0f95fd32cd"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:49.323275423Z"}]},"request_id":"a1a01a2a-4ef9-4b9d-a720-1325a6f76503","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.12993} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"3f8b0350-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":600,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":600,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.001613,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:49.371035987Z"}]},"request_id":"63b93673-781c-4846-bc39-d38bfbfc5a15","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.1333458} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4f52625d9d7143d915527d0f95fd32cd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676570,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3MH0.baeOfp3aCqgKHbvzviKeIyyvfvBWHXCNc2PDjs1QBMA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4f52625d9d7143d915527d0f95fd32cd","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"3f8b2a60-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3f8b0350-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/955014b9-ce19-451a-980e-a2796c76043c? 200 21ms","method":"GET","requestID":"3f8b0350-75da-11ef-ba7c-09eaa4331ae1","responseTime":21,"status":200,"url":"/devices/955014b9-ce19-451a-980e-a2796c76043c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3f8b2a60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/160177b7-3038-4ffe-a11b-05c3d164f2fb? 200 22ms","method":"GET","requestID":"3f8b2a60-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"},"level":"info","message":"Building connection plan","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"e625b704-93ea-45d7-b2f7-aa2bf9c3fbb4"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"02d45c74-a377-4bf1-864d-a71219b0ecad"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/file","uuid":"1e5e79a1-c1d2-4971-aee3-055cc8ef0ed6"}]},"level":"info","message":"Built pairwise service configurations","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:49.371035987Z"}]},"request_id":"15058e38-78b0-4364-8ad2-d49932129390","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.1389296} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"3f8f2200-75da-11ef-9672-db8da4810e4b"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"4f52625d9d7143d915527d0f95fd32cd","responseTime":7,"status":200,"url":"/relations/query"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"3f8f2200-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 2ms","method":"POST","requestID":"3f8f2200-75da-11ef-9672-db8da4810e4b","responseTime":2,"status":201,"url":"/rooms"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4f52625d9d7143d915527d0f95fd32cd"} gateway-1 | {"time_local":"18/Sep/2024:16:22:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/160177b7-3038-4ffe-a11b-05c3d164f2fb? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4f52625d9d7143d915527d0f95fd32cd"} device-1 | {"level":"info","message":"GET /devices/160177b7-3038-4ffe-a11b-05c3d164f2fb? 200 21ms","method":"GET","requestID":"4f52625d9d7143d915527d0f95fd32cd","responseTime":21,"status":200,"url":"/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb?"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3?id=c4c4088b-d823-46f8-872d-239e704bf26e","ws://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3?id=bafe42e6-488c-42c8-a514-8880756f70d1"]},"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"3f8fe550-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":601,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":601,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.658865,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3f8fe550-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676569,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU2OX0.8DvWX3kBW6cSrVfync2LApLVTkJbTyGGfG6oM4-_6LQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3f8fe550-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"00cbffde-b6b5-49d7-bd04-f5a1c54a6122","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.1613784} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0b623f55-e32d-4e5c-b7fb-938aafae3852","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.1615624} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"3f8fe550-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"3f8fe550-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"3f8fe550-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/1acd4826-b820-40dc-aeab-cae0bfe5d507'","requestID":"3f8fe550-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/1acd4826-b820-40dc-aeab-cae0bfe5d507'","requestID":"3f8fe550-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"3f8fe550-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 26ms","method":"POST","requestID":"3f8fe550-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"3f8fe550-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/1acd4826-b820-40dc-aeab-cae0bfe5d507' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"1acd4826-b820-40dc-aeab-cae0bfe5d507","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"3f951570-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\"","requestID":"3f951570-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"3f951570-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"76fcf8d4f134ef2ed0c70871bada1b75","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"3f953c80-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"c4c4088b-d823-46f8-872d-239e704bf26e\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\"","requestID":"3f953c80-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"3f953c80-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"76fcf8d4f134ef2ed0c70871bada1b75","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connecting","url":"http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/1acd4826-b820-40dc-aeab-cae0bfe5d507"}}},"level":"info","message":"received a callback","requestID":"76fcf8d4f134ef2ed0c70871bada1b75"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} device-1 | {"data":{"peerconnection":"1acd4826-b820-40dc-aeab-cae0bfe5d507","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 15ms","method":"POST","requestID":"76fcf8d4f134ef2ed0c70871bada1b75","responseTime":15,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch","requestID":"76fcf8d4f134ef2ed0c70871bada1b75"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} device-1 | {"data":{"peerconnection":"1acd4826-b820-40dc-aeab-cae0bfe5d507","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"6de3115895e9d40f2b9c99e2cc2ca701"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3f9b5700-75da-11ef-ba7c-09eaa4331ae1"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/1acd4826-b820-40dc-aeab-cae0bfe5d507' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"1acd4826-b820-40dc-aeab-cae0bfe5d507","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":602,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"82471461532c65ffcc2184dd36e2e449","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"82471461532c65ffcc2184dd36e2e449","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c0275cb4-d466-49d5-a563-37999fe27bde","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.229386} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":602,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.194842,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3f9b5700-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/1acd4826-b820-40dc-aeab-cae0bfe5d507"}}},"level":"info","message":"received a callback","requestID":"82471461532c65ffcc2184dd36e2e449"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3f9b5700-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"3f9def10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3f9b5700-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/955014b9-ce19-451a-980e-a2796c76043c/signaling 200 19ms","method":"POST","requestID":"3f9b5700-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/955014b9-ce19-451a-980e-a2796c76043c/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":603,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3f9e8b50-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F1acd4826-b820-40dc-aeab-cae0bfe5d507","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c0e572df-0bda-4afb-bb5f-3ff0fb3fba4f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.2458067} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":603,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.239829,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/1acd4826-b820-40dc-aeab-cae0bfe5d507","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3f9def10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/1acd4826-b820-40dc-aeab-cae0bfe5d507","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3f9def10-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":604,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"3f9def10-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3947fb7d-d30d-4ed6-973e-8f9b57c82d88","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.2496533} device-1 | {"level":"info","message":"GET /peerconnections/1acd4826-b820-40dc-aeab-cae0bfe5d507 200 9ms","method":"GET","requestID":"3f9def10-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/peerconnections/1acd4826-b820-40dc-aeab-cae0bfe5d507"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":604,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.667779,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3f9e8b50-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3f9e8b50-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3f9e8b50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/160177b7-3038-4ffe-a11b-05c3d164f2fb/signaling 200 8ms","method":"POST","requestID":"3f9e8b50-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb/signaling"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 32ms","method":"POST","requestID":"82471461532c65ffcc2184dd36e2e449","responseTime":32,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.036","http_referrer":"","http_user_agent":"node-fetch","requestID":"82471461532c65ffcc2184dd36e2e449"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3fa17180-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":605,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"987fbc12-7892-49fc-a13d-15669af6bb82","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.267942} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":605,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.204372,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3fa17180-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3fa17180-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3fa17180-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/955014b9-ce19-451a-980e-a2796c76043c/signaling 200 7ms","method":"POST","requestID":"3fa17180-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/devices/955014b9-ce19-451a-980e-a2796c76043c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3fa2d110-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":606,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"42976a7d-6370-42d1-acaf-f8b4846c6b59","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.2774925} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":606,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.505278,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3fa2d110-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3fa2d110-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3fa2d110-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/160177b7-3038-4ffe-a11b-05c3d164f2fb/signaling 200 8ms","method":"POST","requestID":"3fa2d110-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3MH0.baeOfp3aCqgKHbvzviKeIyyvfvBWHXCNc2PDjs1QBMA","level":"info","message":"auth send jwt","requestID":"23c0082b6d4625ee57b6e18d459b6102"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"23c0082b6d4625ee57b6e18d459b6102","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/3c53130a-5f77-45c4-afc6-352c389dad95","requestID":"23c0082b6d4625ee57b6e18d459b6102"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":607,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":607,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.195865,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"23c0082b6d4625ee57b6e18d459b6102","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676570,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3MH0.baeOfp3aCqgKHbvzviKeIyyvfvBWHXCNc2PDjs1QBMA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"23c0082b6d4625ee57b6e18d459b6102","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/3c53130a-5f77-45c4-afc6-352c389dad95","requestID":"23c0082b6d4625ee57b6e18d459b6102"} gateway-1 | {"time_local":"18/Sep/2024:16:22:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/3c53130a-5f77-45c4-afc6-352c389dad95 HTTP/1.1","status": "200","body_bytes_sent":"859","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"23c0082b6d4625ee57b6e18d459b6102"} experiment-1 | {"level":"info","message":"GET /experiments/3c53130a-5f77-45c4-afc6-352c389dad95 200 15ms","method":"GET","requestID":"23c0082b6d4625ee57b6e18d459b6102","responseTime":15,"status":200,"url":"/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3MH0.baeOfp3aCqgKHbvzviKeIyyvfvBWHXCNc2PDjs1QBMA","level":"info","message":"auth send jwt","requestID":"13fc021339b564c3ba5800ce16e3b38c"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"13fc021339b564c3ba5800ce16e3b38c","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/3c53130a-5f77-45c4-afc6-352c389dad95","requestID":"13fc021339b564c3ba5800ce16e3b38c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":608,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":608,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.224936,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"13fc021339b564c3ba5800ce16e3b38c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676570,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3MH0.baeOfp3aCqgKHbvzviKeIyyvfvBWHXCNc2PDjs1QBMA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"13fc021339b564c3ba5800ce16e3b38c","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"},"level":"info","message":"Attempting to finish experiment","requestID":"13fc021339b564c3ba5800ce16e3b38c"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"3fb91830-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":609,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":609,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.028599,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/1acd4826-b820-40dc-aeab-cae0bfe5d507","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3fb91830-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/1acd4826-b820-40dc-aeab-cae0bfe5d507","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676570,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3MH0.baeOfp3aCqgKHbvzviKeIyyvfvBWHXCNc2PDjs1QBMA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3fb91830-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:22:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3?id=c4c4088b-d823-46f8-872d-239e704bf26e HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.250","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"50f9cd962eb93ec53ac761392ad3b300"} gateway-1 | {"time_local":"18/Sep/2024:16:22:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3?id=bafe42e6-488c-42c8-a514-8880756f70d1 HTTP/1.1","status": "101","body_bytes_sent":"1203023","request_time":"0.250","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"b29845d233305c6900dfc77cc6c093a3"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"c4c4088b-d823-46f8-872d-239e704bf26e\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"c4c4088b-d823-46f8-872d-239e704bf26e\" from room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/1acd4826-b820-40dc-aeab-cae0bfe5d507' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/1acd4826-b820-40dc-aeab-cae0bfe5d507' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"1acd4826-b820-40dc-aeab-cae0bfe5d507","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" in room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"bafe42e6-488c-42c8-a514-8880756f70d1\" from room \"http://localhost/rooms/c0f61a5a-25a5-45dc-8b50-8a242c0be7c3\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b2efc6f1c01e48c435949b42b8a21826","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b2efc6f1c01e48c435949b42b8a21826","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ba293ef88789c1166ca02d1a0493a5d6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"ba293ef88789c1166ca02d1a0493a5d6","responseTime":0,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/1acd4826-b820-40dc-aeab-cae0bfe5d507"}}},"level":"info","message":"received a callback","requestID":"b2efc6f1c01e48c435949b42b8a21826"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F1acd4826-b820-40dc-aeab-cae0bfe5d507': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F1acd4826-b820-40dc-aeab-cae0bfe5d507","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"6a4c229f-4341-40e3-98ac-c0c0ae1a3abc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.4404263} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ded5ff23-80b0-475f-bcb6-0290e1e11642","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.440746} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c"},{"config":{"services":[{"remoteServiceDescription":{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["websocket"]},"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/1acd4826-b820-40dc-aeab-cae0bfe5d507"}}},"level":"info","message":"received a callback","requestID":"ba293ef88789c1166ca02d1a0493a5d6"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"3fb91830-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"1acd4826-b820-40dc-aeab-cae0bfe5d507","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"3fb91830-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/1acd4826-b820-40dc-aeab-cae0bfe5d507 204 39ms","method":"DELETE","requestID":"3fb91830-75da-11ef-ba7c-09eaa4331ae1","responseTime":39,"status":204,"url":"/peerconnections/1acd4826-b820-40dc-aeab-cae0bfe5d507"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"},"level":"info","message":"Successfully finished experiment","requestID":"13fc021339b564c3ba5800ce16e3b38c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3fc30340-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":610,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F955014b9-ce19-451a-980e-a2796c76043c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2aef1fef-00b3-41bb-8f22-75b1af60eb82","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.4914176} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":610,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.300347,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3fc30340-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"3fc30340-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3fc30340-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/955014b9-ce19-451a-980e-a2796c76043c/signaling 200 15ms","method":"POST","requestID":"3fc30340-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/955014b9-ce19-451a-980e-a2796c76043c/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F3c53130a-5f77-45c4-afc6-352c389dad95': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F3c53130a-5f77-45c4-afc6-352c389dad95","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"d5f5b2fc-08dd-4d45-9e13-0d5a6c813a51","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.4992907} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"95d85ffb-8bb8-40ac-8afc-006389462caa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.4996223} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"13fc021339b564c3ba5800ce16e3b38c","responseTime":19,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3fc59b50-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":611,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F160177b7-3038-4ffe-a11b-05c3d164f2fb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b32a1337-da50-4af9-91ea-fa2b2e67d127","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.5072618} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":611,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.66911,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3fc59b50-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3fc59b50-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3fc59b50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/160177b7-3038-4ffe-a11b-05c3d164f2fb/signaling 200 11ms","method":"POST","requestID":"3fc59b50-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/3c53130a-5f77-45c4-afc6-352c389dad95","requestID":"13fc021339b564c3ba5800ce16e3b38c"} gateway-1 | {"time_local":"18/Sep/2024:16:22:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/3c53130a-5f77-45c4-afc6-352c389dad95 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.163","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"13fc021339b564c3ba5800ce16e3b38c"} gateway-1 | {"time_local":"18/Sep/2024:16:22:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1437","request_time":"0.671","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"5544b81b95d51d63b15fa5a10eded791"} experiment-1 | {"level":"info","message":"DELETE /experiments/3c53130a-5f77-45c4-afc6-352c389dad95 204 158ms","method":"DELETE","requestID":"13fc021339b564c3ba5800ce16e3b38c","responseTime":158,"status":204,"url":"/experiments/3c53130a-5f77-45c4-afc6-352c389dad95"} gateway-1 | {"time_local":"18/Sep/2024:16:22:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1438","request_time":"0.661","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"bffadfc95c8cc6d6d5f175e9196be94d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 125ms","method":"POST","requestID":"b2efc6f1c01e48c435949b42b8a21826","responseTime":125,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.128","http_referrer":"","http_user_agent":"node-fetch","requestID":"b2efc6f1c01e48c435949b42b8a21826"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 126ms","method":"POST","requestID":"ba293ef88789c1166ca02d1a0493a5d6","responseTime":126,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.130","http_referrer":"","http_user_agent":"node-fetch","requestID":"ba293ef88789c1166ca02d1a0493a5d6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3MH0.baeOfp3aCqgKHbvzviKeIyyvfvBWHXCNc2PDjs1QBMA","level":"info","message":"auth send jwt","requestID":"91e3c753a27a6a19ba1d92b889738741"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/955014b9-ce19-451a-980e-a2796c76043c' closed"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"91e3c753a27a6a19ba1d92b889738741","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"91e3c753a27a6a19ba1d92b889738741"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":612,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":612,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.801342,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"91e3c753a27a6a19ba1d92b889738741","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676570,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3MH0.baeOfp3aCqgKHbvzviKeIyyvfvBWHXCNc2PDjs1QBMA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"91e3c753a27a6a19ba1d92b889738741","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/160177b7-3038-4ffe-a11b-05c3d164f2fb' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"5582cf98-5dee-4c96-b2b3-7520b6bd0d6d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.5889242} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"91e3c753a27a6a19ba1d92b889738741","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"04e4fa8f-9b03-4fc6-91de-16d8ae672d5b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.5945346} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"91e3c753a27a6a19ba1d92b889738741","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"5f584feb-4cfa-497b-b6b6-0a21710de5b7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.606184} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"12abaa62-5c98-4748-970b-8f1a837388e2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.6064196} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"91e3c753a27a6a19ba1d92b889738741","responseTime":15,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:50.606158683Z"}]},"request_id":"00f8278c-bd21-4182-b055-e496d19e306b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.6115422} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"91e3c753a27a6a19ba1d92b889738741","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"91e3c753a27a6a19ba1d92b889738741"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"91e3c753a27a6a19ba1d92b889738741","responseTime":44,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"91e3c753a27a6a19ba1d92b889738741"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3MH0.baeOfp3aCqgKHbvzviKeIyyvfvBWHXCNc2PDjs1QBMA","level":"info","message":"auth send jwt","requestID":"2ec64418288fca79197e68bcbac01a25"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"2ec64418288fca79197e68bcbac01a25","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"2ec64418288fca79197e68bcbac01a25"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":613,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":613,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.992982,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:50Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2ec64418288fca79197e68bcbac01a25","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676570,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3MH0.baeOfp3aCqgKHbvzviKeIyyvfvBWHXCNc2PDjs1QBMA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2ec64418288fca79197e68bcbac01a25","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"6e9295d9-3685-4823-9017-d2ec3e2d580b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.6411924} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"2ec64418288fca79197e68bcbac01a25","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6e469772-9236-41c2-82ee-0e4a653c871e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.6472769} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"2ec64418288fca79197e68bcbac01a25","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"060d5df0-9676-4806-bc22-c28e837c4da0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.665008} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"16073b34-4772-4bb2-9249-eb5128857ce3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.665074} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"2ec64418288fca79197e68bcbac01a25","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:50.664975684Z"}]},"request_id":"c1eb78da-0a8b-4d1f-9ac1-c82f641ad4ee","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676570.6701825} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2ec64418288fca79197e68bcbac01a25","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"2ec64418288fca79197e68bcbac01a25"} device-1 | {"level":"info","message":"POST /devices? 201 53ms","method":"POST","requestID":"2ec64418288fca79197e68bcbac01a25","responseTime":53,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.057","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2ec64418288fca79197e68bcbac01a25"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d6262245307aa3e88846290a4bc57f8d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d6262245307aa3e88846290a4bc57f8d","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/87e8a951-f607-4e27-82a1-bc1557958fba/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d6262245307aa3e88846290a4bc57f8d"} device-1 | {"level":"info","message":"OPTIONS /devices/87e8a951-f607-4e27-82a1-bc1557958fba/websocket 200 1ms","method":"OPTIONS","requestID":"d6262245307aa3e88846290a4bc57f8d","responseTime":1,"status":200,"url":"/devices/87e8a951-f607-4e27-82a1-bc1557958fba/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4","level":"info","message":"auth send jwt","requestID":"17162cc99da6552a1922398f1b106fd5"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"17162cc99da6552a1922398f1b106fd5","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"17162cc99da6552a1922398f1b106fd5"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":614,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":614,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.011965,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"17162cc99da6552a1922398f1b106fd5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676572,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"17162cc99da6552a1922398f1b106fd5","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7164efe49bc4d63c4c5722adbab66491","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"7164efe49bc4d63c4c5722adbab66491","responseTime":0,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/dfb88521-a0c6-43d7-912d-2446519788f3/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"7164efe49bc4d63c4c5722adbab66491"} device-1 | {"level":"info","message":"OPTIONS /devices/dfb88521-a0c6-43d7-912d-2446519788f3/websocket 200 1ms","method":"OPTIONS","requestID":"7164efe49bc4d63c4c5722adbab66491","responseTime":1,"status":200,"url":"/devices/dfb88521-a0c6-43d7-912d-2446519788f3/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4","level":"info","message":"auth send jwt","requestID":"e8fd6e4175246b391a80fd78a539f4a4"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"e8fd6e4175246b391a80fd78a539f4a4","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"e8fd6e4175246b391a80fd78a539f4a4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"17162cc99da6552a1922398f1b106fd5"} device-1 | {"level":"info","message":"POST /devices/87e8a951-f607-4e27-82a1-bc1557958fba/websocket 200 20ms","method":"POST","requestID":"17162cc99da6552a1922398f1b106fd5","responseTime":20,"status":200,"url":"/devices/87e8a951-f607-4e27-82a1-bc1557958fba/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/87e8a951-f607-4e27-82a1-bc1557958fba/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.024","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"17162cc99da6552a1922398f1b106fd5"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":615,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":615,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.809754,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e8fd6e4175246b391a80fd78a539f4a4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676572,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e8fd6e4175246b391a80fd78a539f4a4","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"e8fd6e4175246b391a80fd78a539f4a4"} gateway-1 | {"time_local":"18/Sep/2024:16:22:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/dfb88521-a0c6-43d7-912d-2446519788f3/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.023","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e8fd6e4175246b391a80fd78a539f4a4"} device-1 | {"level":"info","message":"POST /devices/dfb88521-a0c6-43d7-912d-2446519788f3/websocket 200 15ms","method":"POST","requestID":"e8fd6e4175246b391a80fd78a539f4a4","responseTime":15,"status":200,"url":"/devices/dfb88521-a0c6-43d7-912d-2446519788f3/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fcfd499c7db90b2cd9e6f0379a92a87e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"fcfd499c7db90b2cd9e6f0379a92a87e","responseTime":0,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/87e8a951-f607-4e27-82a1-bc1557958fba? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.002","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"fcfd499c7db90b2cd9e6f0379a92a87e"} device-1 | {"level":"info","message":"OPTIONS /devices/87e8a951-f607-4e27-82a1-bc1557958fba? 200 0ms","method":"OPTIONS","requestID":"fcfd499c7db90b2cd9e6f0379a92a87e","responseTime":0,"status":200,"url":"/devices/87e8a951-f607-4e27-82a1-bc1557958fba?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4","level":"info","message":"auth send jwt","requestID":"3c087845b139275a035103e4e0756ace"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"3c087845b139275a035103e4e0756ace","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"250984ef6e33338adc15a25d288831e2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"3c087845b139275a035103e4e0756ace"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"250984ef6e33338adc15a25d288831e2","responseTime":0,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/dfb88521-a0c6-43d7-912d-2446519788f3? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.002","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"250984ef6e33338adc15a25d288831e2"} device-1 | {"level":"info","message":"OPTIONS /devices/dfb88521-a0c6-43d7-912d-2446519788f3? 200 1ms","method":"OPTIONS","requestID":"250984ef6e33338adc15a25d288831e2","responseTime":1,"status":200,"url":"/devices/dfb88521-a0c6-43d7-912d-2446519788f3?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":616,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":616,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.65687,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3c087845b139275a035103e4e0756ace","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676572,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3c087845b139275a035103e4e0756ace","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4","level":"info","message":"auth send jwt","requestID":"94b8d48f4f44254ee232e86c545634d4"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"94b8d48f4f44254ee232e86c545634d4","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"94b8d48f4f44254ee232e86c545634d4"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:50.606158683Z"}]},"request_id":"ac849359-46a4-4c03-b101-55027b201e92","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.7282867} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3c087845b139275a035103e4e0756ace","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":617,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":617,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.840899,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"94b8d48f4f44254ee232e86c545634d4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676572,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"94b8d48f4f44254ee232e86c545634d4","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2dc26fc8-7251-4881-bf8f-79bf55847789","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.7332003} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"3c087845b139275a035103e4e0756ace","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:50.664975684Z"}]},"request_id":"65f5a1d3-5c28-48e1-a456-897f8e874b41","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.7368712} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"94b8d48f4f44254ee232e86c545634d4","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d8388b4e-5ae8-4123-b915-7effe8f42e2f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.7412734} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"94b8d48f4f44254ee232e86c545634d4","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:50.606158683Z"}]},"request_id":"edf47c55-22f0-434a-b455-b90951a395fc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.7515497} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3c087845b139275a035103e4e0756ace","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"3c087845b139275a035103e4e0756ace"} device-1 | {"level":"info","message":"PATCH /devices/87e8a951-f607-4e27-82a1-bc1557958fba? 200 35ms","method":"PATCH","requestID":"3c087845b139275a035103e4e0756ace","responseTime":35,"status":200,"url":"/devices/87e8a951-f607-4e27-82a1-bc1557958fba?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/87e8a951-f607-4e27-82a1-bc1557958fba? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.039","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"3c087845b139275a035103e4e0756ace"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:50.664975684Z"}]},"request_id":"3b7a5f0b-92da-43c2-b5b0-4f4d0f344b80","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.7621012} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"94b8d48f4f44254ee232e86c545634d4","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"94b8d48f4f44254ee232e86c545634d4"} gateway-1 | {"time_local":"18/Sep/2024:16:22:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/dfb88521-a0c6-43d7-912d-2446519788f3? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.042","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"94b8d48f4f44254ee232e86c545634d4"} device-1 | {"level":"info","message":"PATCH /devices/dfb88521-a0c6-43d7-912d-2446519788f3? 200 38ms","method":"PATCH","requestID":"94b8d48f4f44254ee232e86c545634d4","responseTime":38,"status":200,"url":"/devices/dfb88521-a0c6-43d7-912d-2446519788f3?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4","level":"info","message":"auth send jwt","requestID":"790e44892f2464118bbdfbff45b5662d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"790e44892f2464118bbdfbff45b5662d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"790e44892f2464118bbdfbff45b5662d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":618,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":618,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.021307,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"790e44892f2464118bbdfbff45b5662d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676572,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"790e44892f2464118bbdfbff45b5662d","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:50.606158683Z"}]},"request_id":"8b177600-7546-4b4b-ae6b-e49b9591fb52","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.7827232} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"790e44892f2464118bbdfbff45b5662d","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"790e44892f2464118bbdfbff45b5662d"} gateway-1 | {"time_local":"18/Sep/2024:16:22:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/87e8a951-f607-4e27-82a1-bc1557958fba? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"790e44892f2464118bbdfbff45b5662d"} device-1 | {"level":"info","message":"GET /devices/87e8a951-f607-4e27-82a1-bc1557958fba? 200 10ms","method":"GET","requestID":"790e44892f2464118bbdfbff45b5662d","responseTime":10,"status":200,"url":"/devices/87e8a951-f607-4e27-82a1-bc1557958fba?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4","level":"info","message":"auth send jwt","requestID":"3ccc05f95f99cbb170455dd70d7c4759"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3ccc05f95f99cbb170455dd70d7c4759","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3ccc05f95f99cbb170455dd70d7c4759"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":619,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":619,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.83422,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3ccc05f95f99cbb170455dd70d7c4759","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676572,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3ccc05f95f99cbb170455dd70d7c4759","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:50.664975684Z"}]},"request_id":"64245a6e-cc34-45e2-bcb4-bb1a7c4606a5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.7999208} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3ccc05f95f99cbb170455dd70d7c4759","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3ccc05f95f99cbb170455dd70d7c4759"} device-1 | {"level":"info","message":"GET /devices/dfb88521-a0c6-43d7-912d-2446519788f3? 200 10ms","method":"GET","requestID":"3ccc05f95f99cbb170455dd70d7c4759","responseTime":10,"status":200,"url":"/devices/dfb88521-a0c6-43d7-912d-2446519788f3?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dfb88521-a0c6-43d7-912d-2446519788f3? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3ccc05f95f99cbb170455dd70d7c4759"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4","level":"info","message":"auth send jwt","requestID":"01c8629365ca48adffc61b82f0eac597"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"01c8629365ca48adffc61b82f0eac597","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"01c8629365ca48adffc61b82f0eac597"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":620,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":620,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.208548,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"01c8629365ca48adffc61b82f0eac597","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676572,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"01c8629365ca48adffc61b82f0eac597","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"},"level":"info","message":"Attempting to run experiment","requestID":"01c8629365ca48adffc61b82f0eac597"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"},"level":"info","message":"Attempting to book experiment","requestID":"01c8629365ca48adffc61b82f0eac597"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"},"level":"info","message":"Successfully booked experiment","requestID":"01c8629365ca48adffc61b82f0eac597"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"412a3460-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"412a5b70-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":621,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":621,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.578022,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":622,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"412a3460-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676572,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"412a3460-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":622,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.546257,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"412a5b70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676572,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"412a5b70-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:50.606158683Z"}]},"request_id":"46c5d855-6c6b-4828-9e53-9f4ecbcdfec7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.8450766} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"412a3460-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:50.664975684Z"}]},"request_id":"5899d1d9-9d8d-4c1c-97ec-0eda65c8a687","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.845682} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"412a5b70-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"412a3460-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/87e8a951-f607-4e27-82a1-bc1557958fba? 200 12ms","method":"GET","requestID":"412a3460-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/87e8a951-f607-4e27-82a1-bc1557958fba?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"412a5b70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/dfb88521-a0c6-43d7-912d-2446519788f3? 200 11ms","method":"GET","requestID":"412a5b70-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/dfb88521-a0c6-43d7-912d-2446519788f3?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"},"level":"info","message":"Setting up experiment","requestID":"01c8629365ca48adffc61b82f0eac597"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"01c8629365ca48adffc61b82f0eac597"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"},"level":"info","message":"Successfully locked booking for experiment","requestID":"01c8629365ca48adffc61b82f0eac597"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"01c8629365ca48adffc61b82f0eac597"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"01c8629365ca48adffc61b82f0eac597"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"},"level":"info","message":"Attempting to update booking for experiment","requestID":"01c8629365ca48adffc61b82f0eac597"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"},"level":"info","message":"Successfully updated booking for experiment","requestID":"01c8629365ca48adffc61b82f0eac597"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"},"level":"info","message":"Successfully set up experiment","requestID":"01c8629365ca48adffc61b82f0eac597"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4131fc90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"41324ab0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"413271c0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"},"level":"info","message":"Successfully running experiment","requestID":"01c8629365ca48adffc61b82f0eac597"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":623,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":623,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.011261,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":624,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4131fc90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676572,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4131fc90-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":624,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.743577,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"client_addr":"127.0.0.1:60362","level":"info","msg":"Received request.","req_id":625,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"41324ab0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676572,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"41324ab0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60362","level":"info","msg":"Sent response.","req_id":625,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.370897,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1a6d8d60-834e-47e8-86b0-5a57d4588e37","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.899178} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"413271c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"413271c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:50.606158683Z"}]},"request_id":"d210481a-be4c-49a8-a09c-3819abe86809","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.9037986} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"413271c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/87e8a951-f607-4e27-82a1-bc1557958fba/signaling 200 15ms","method":"POST","requestID":"413271c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/87e8a951-f607-4e27-82a1-bc1557958fba/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"4131fc90-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:50.664975684Z"}]},"request_id":"ac7a0ce5-991b-48e6-87c2-e4dadd4c1cab","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.907031} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"41324ab0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4135cd20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff8341ce3-bb76-42a0-a11b-7b070aab48d1#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff8341ce3-bb76-42a0-a11b-7b070aab48d1","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"9f87b637-5c60-4670-a366-98a7534e98e5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.9148061} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"59ff469a-79f0-44c9-8f5a-8c1154a5ae04","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.915091} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"01c8629365ca48adffc61b82f0eac597","responseTime":18,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4131fc90-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":626,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} device-1 | {"level":"info","message":"GET /devices/87e8a951-f607-4e27-82a1-bc1557958fba? 200 30ms","method":"GET","requestID":"4131fc90-75da-11ef-ba7c-09eaa4331ae1","responseTime":30,"status":200,"url":"/devices/87e8a951-f607-4e27-82a1-bc1557958fba?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"41324ab0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/dfb88521-a0c6-43d7-912d-2446519788f3? 200 29ms","method":"GET","requestID":"41324ab0-75da-11ef-ba7c-09eaa4331ae1","responseTime":29,"status":200,"url":"/devices/dfb88521-a0c6-43d7-912d-2446519788f3?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"53eeaf09-c305-428c-b2f3-9abe5b2b9047","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.9205346} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":626,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.857476,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4135cd20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4135cd20-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"413705a0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"01c8629365ca48adffc61b82f0eac597"} experiment-1 | {"level":"info","message":"POST /experiments? 201 117ms","method":"POST","requestID":"01c8629365ca48adffc61b82f0eac597","responseTime":117,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1288","request_time":"0.121","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"01c8629365ca48adffc61b82f0eac597"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":627,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4135cd20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/dfb88521-a0c6-43d7-912d-2446519788f3/signaling 200 13ms","method":"POST","requestID":"4135cd20-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/dfb88521-a0c6-43d7-912d-2446519788f3/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ea457b70-16d8-4064-841c-cd5dff5935bf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.927712} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":627,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.346867,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4","level":"info","message":"auth send jwt","requestID":"7089a3354433c8f574cbfd26a1c6bd6e"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"413705a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7089a3354433c8f574cbfd26a1c6bd6e","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"413705a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7089a3354433c8f574cbfd26a1c6bd6e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"413705a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":628,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} device-1 | {"level":"info","message":"POST /devices/87e8a951-f607-4e27-82a1-bc1557958fba/signaling 200 14ms","method":"POST","requestID":"413705a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/87e8a951-f607-4e27-82a1-bc1557958fba/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":628,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.804749,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4139c4c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7089a3354433c8f574cbfd26a1c6bd6e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676572,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7089a3354433c8f574cbfd26a1c6bd6e","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":629,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:50.606158683Z"}]},"request_id":"19c5488b-d3ef-4ff8-bbf1-f4a667681070","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.9448118} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2a17e6ad-cefc-481e-aefe-17b101a62bfb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.9449975} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7089a3354433c8f574cbfd26a1c6bd6e","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":629,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.826069,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4139c4c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4139c4c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7089a3354433c8f574cbfd26a1c6bd6e"} gateway-1 | {"time_local":"18/Sep/2024:16:22:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/87e8a951-f607-4e27-82a1-bc1557958fba? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7089a3354433c8f574cbfd26a1c6bd6e"} device-1 | {"level":"info","message":"GET /devices/87e8a951-f607-4e27-82a1-bc1557958fba? 200 15ms","method":"GET","requestID":"7089a3354433c8f574cbfd26a1c6bd6e","responseTime":15,"status":200,"url":"/devices/87e8a951-f607-4e27-82a1-bc1557958fba?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4139c4c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/dfb88521-a0c6-43d7-912d-2446519788f3/signaling 200 10ms","method":"POST","requestID":"4139c4c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/dfb88521-a0c6-43d7-912d-2446519788f3/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"01c8629365ca48adffc61b82f0eac597"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"413bc090-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"413be7a0-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4","level":"info","message":"auth send jwt","requestID":"47c73a12d71f3cd0c4f7e9dc063145ad"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"47c73a12d71f3cd0c4f7e9dc063145ad","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"47c73a12d71f3cd0c4f7e9dc063145ad"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":630,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":630,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.688173,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":631,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"413bc090-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676572,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"413bc090-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":631,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.622648,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"413be7a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676572,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"413be7a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":632,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":632,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.675813,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"47c73a12d71f3cd0c4f7e9dc063145ad","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676572,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"47c73a12d71f3cd0c4f7e9dc063145ad","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:50.606158683Z"}]},"request_id":"3fb596e1-95f7-407a-849e-e0b131c83169","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.9620235} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"413bc090-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:50.664975684Z"}]},"request_id":"d43c9bbb-f0b1-40f5-a39a-48688b45caf4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.9638805} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"413be7a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:50.664975684Z"}]},"request_id":"452a560a-5919-4379-88fa-bd5537f3f49d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.966062} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"47c73a12d71f3cd0c4f7e9dc063145ad","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"413bc090-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/87e8a951-f607-4e27-82a1-bc1557958fba? 200 14ms","method":"GET","requestID":"413bc090-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/87e8a951-f607-4e27-82a1-bc1557958fba?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"413be7a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/dfb88521-a0c6-43d7-912d-2446519788f3? 200 16ms","method":"GET","requestID":"413be7a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/dfb88521-a0c6-43d7-912d-2446519788f3?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"47c73a12d71f3cd0c4f7e9dc063145ad"} device-1 | {"level":"info","message":"GET /devices/dfb88521-a0c6-43d7-912d-2446519788f3? 200 14ms","method":"GET","requestID":"47c73a12d71f3cd0c4f7e9dc063145ad","responseTime":14,"status":200,"url":"/devices/dfb88521-a0c6-43d7-912d-2446519788f3?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"},"level":"info","message":"Building connection plan","requestID":"01c8629365ca48adffc61b82f0eac597"} gateway-1 | {"time_local":"18/Sep/2024:16:22:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dfb88521-a0c6-43d7-912d-2446519788f3? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"47c73a12d71f3cd0c4f7e9dc063145ad"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"6fc5c9ab-3dcf-471c-b409-511d22e5e57d"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"3715a3b3-cd1d-4773-b9a5-3bd1046ed99b"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"5229721f-01b4-4555-a7c3-b5fb9823f3c9"}]},"level":"info","message":"Built pairwise service configurations","requestID":"01c8629365ca48adffc61b82f0eac597"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"01c8629365ca48adffc61b82f0eac597"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"413ea6c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":633,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":633,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.657332,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:52Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"413ea6c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676572,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Mn0.EpvZro3k_L9ahbvpZ-o5iDvfv5dr-DiI20SRe2KTsD4"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"413ea6c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"1c19232f-f162-48f9-a26d-ba906d69e290","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.9816234} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d8f5545c-da41-4e9a-a8ff-bdb5e6d6f3ce","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676572.981884} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"413ea6c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"413ea6c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"413ea6c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2'","requestID":"413ea6c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2'","requestID":"413ea6c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"413ea6c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 22ms","method":"POST","requestID":"413ea6c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"413ea6c0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"01c8629365ca48adffc61b82f0eac597"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"41466ef0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":634,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9ce403d1-ba01-4761-ac63-8edfa81959a0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.0279655} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":634,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.716067,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"41466ef0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"41466ef0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"87e8a951-f607-4e27-82a1-bc1557958fba","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"87e8a951-f607-4e27-82a1-bc1557958fba","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"41466ef0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/87e8a951-f607-4e27-82a1-bc1557958fba/signaling 200 11ms","method":"POST","requestID":"41466ef0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/87e8a951-f607-4e27-82a1-bc1557958fba/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"41486ac0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":635,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b19dacaa-f810-4d5d-8f82-f9b82a577732","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.0413427} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":635,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.082803,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"41486ac0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"41486ac0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"41486ac0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/dfb88521-a0c6-43d7-912d-2446519788f3/signaling 200 9ms","method":"POST","requestID":"41486ac0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/dfb88521-a0c6-43d7-912d-2446519788f3/signaling"} device-1 | {"device":"dfb88521-a0c6-43d7-912d-2446519788f3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"dfb88521-a0c6-43d7-912d-2446519788f3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 7711962431951989998 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:PiZL\r\na=ice-pwd:hM1h2fHjrZFQP7VbxUEOHKZi\r\na=ice-options:trickle\r\na=fingerprint:sha-256 EA:C6:53:FC:4D:8A:66:A5:7D:A3:AB:4C:7C:8E:57:BE:66:5A:9E:CB:DD:3E:B3:B5:8A:0B:23:08:4C:7E:2E:02\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"dfb88521-a0c6-43d7-912d-2446519788f3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 6791876129399476245 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:JeTA\r\na=ice-pwd:h8nlbC8WF9yuPEK2gdRgBqub\r\na=ice-options:trickle\r\na=fingerprint:sha-256 EC:4F:1B:99:97:21:D5:A2:91:DB:09:18:D6:C9:01:5E:CB:D3:88:A6:22:54:FB:1F:39:78:89:C6:FD:CC:9B:2C\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"87e8a951-f607-4e27-82a1-bc1557958fba","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:3163363661 1 udp 2113937151 8bf1c2be-3f3e-43e7-8f31-d514dee17bf1.local 55752 typ host generation 0 ufrag JeTA network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"87e8a951-f607-4e27-82a1-bc1557958fba","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba'"} device-1 | {"content":{"candidate":"candidate:950039346 1 udp 1677729535 141.24.211.56 55752 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag JeTA network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"87e8a951-f607-4e27-82a1-bc1557958fba","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba'"} device-1 | {"content":{"candidate":"candidate:3101232170 1 udp 2113937151 a7b6babd-9275-4341-8c85-153c583e16f0.local 37463 typ host generation 0 ufrag PiZL network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"dfb88521-a0c6-43d7-912d-2446519788f3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2592572071 1 udp 1677729535 141.24.211.56 37463 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag PiZL network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"dfb88521-a0c6-43d7-912d-2446519788f3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3'"} device-1 | {"device":"dfb88521-a0c6-43d7-912d-2446519788f3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"87e8a951-f607-4e27-82a1-bc1557958fba","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"26bbf3d7-941a-4672-8460-de1fc87cd5c2","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"dfb88521-a0c6-43d7-912d-2446519788f3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"87e8a951-f607-4e27-82a1-bc1557958fba","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"280527d71b8b7df4d7e00aafb82d0673","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"280527d71b8b7df4d7e00aafb82d0673","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2"}}},"level":"info","message":"received a callback","requestID":"280527d71b8b7df4d7e00aafb82d0673"} device-1 | {"device":"dfb88521-a0c6-43d7-912d-2446519788f3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"87e8a951-f607-4e27-82a1-bc1557958fba","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"280527d71b8b7df4d7e00aafb82d0673","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.008","http_referrer":"","http_user_agent":"node-fetch","requestID":"280527d71b8b7df4d7e00aafb82d0673"} device-1 | {"device":"87e8a951-f607-4e27-82a1-bc1557958fba","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"26bbf3d7-941a-4672-8460-de1fc87cd5c2","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"26bbf3d7-941a-4672-8460-de1fc87cd5c2","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"26bbf3d7-941a-4672-8460-de1fc87cd5c2","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9fafa74ec4245072a70e5f0828783abf","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"9fafa74ec4245072a70e5f0828783abf","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2"}}},"level":"info","message":"received a callback","requestID":"9fafa74ec4245072a70e5f0828783abf"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"415478b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":636,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F26bbf3d7-941a-4672-8460-de1fc87cd5c2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dc65db98-39db-4a87-ba8c-763886f2cda3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.1195135} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":636,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.020332,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"415478b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"415478b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"415478b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2 200 7ms","method":"GET","requestID":"415478b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 23ms","method":"POST","requestID":"9fafa74ec4245072a70e5f0828783abf","responseTime":23,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch","requestID":"9fafa74ec4245072a70e5f0828783abf"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"415785f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":637,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5a62c73f-fb07-4c78-8a9b-4e34480e4609","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.1394143} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":637,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.043003,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"415785f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"415785f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"415785f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/87e8a951-f607-4e27-82a1-bc1557958fba/signaling 200 8ms","method":"POST","requestID":"415785f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/87e8a951-f607-4e27-82a1-bc1557958fba/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"41590c90-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":638,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1f7eff43-79c6-45cc-a95d-9ec12405582a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.149089} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":638,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.071551,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"41590c90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"41590c90-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"41590c90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/dfb88521-a0c6-43d7-912d-2446519788f3/signaling 200 7ms","method":"POST","requestID":"41590c90-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/devices/dfb88521-a0c6-43d7-912d-2446519788f3/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3M30.tOlFkzqqtSSeO0xMW089FULkKpI_fJrnYamITn_ek5o","level":"info","message":"auth send jwt","requestID":"70d4710b95f7952344357925d48cd29c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"70d4710b95f7952344357925d48cd29c","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1","requestID":"70d4710b95f7952344357925d48cd29c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":639,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":639,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.247138,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"70d4710b95f7952344357925d48cd29c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676573,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3M30.tOlFkzqqtSSeO0xMW089FULkKpI_fJrnYamITn_ek5o"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"70d4710b95f7952344357925d48cd29c","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1","requestID":"70d4710b95f7952344357925d48cd29c"} experiment-1 | {"level":"info","message":"GET /experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1 200 15ms","method":"GET","requestID":"70d4710b95f7952344357925d48cd29c","responseTime":15,"status":200,"url":"/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"} gateway-1 | {"time_local":"18/Sep/2024:16:22:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1 HTTP/1.1","status": "200","body_bytes_sent":"1361","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"70d4710b95f7952344357925d48cd29c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3M30.tOlFkzqqtSSeO0xMW089FULkKpI_fJrnYamITn_ek5o","level":"info","message":"auth send jwt","requestID":"a4e3f2c89fde65a0aaa5f3ca1b199d7b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a4e3f2c89fde65a0aaa5f3ca1b199d7b","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1","requestID":"a4e3f2c89fde65a0aaa5f3ca1b199d7b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":640,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":640,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.684896,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a4e3f2c89fde65a0aaa5f3ca1b199d7b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676573,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3M30.tOlFkzqqtSSeO0xMW089FULkKpI_fJrnYamITn_ek5o"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a4e3f2c89fde65a0aaa5f3ca1b199d7b","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"},"level":"info","message":"Attempting to finish experiment","requestID":"a4e3f2c89fde65a0aaa5f3ca1b199d7b"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"4166c830-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":641,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":641,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.265021,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4166c830-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676573,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3M30.tOlFkzqqtSSeO0xMW089FULkKpI_fJrnYamITn_ek5o"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4166c830-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2","device":"87e8a951-f607-4e27-82a1-bc1557958fba","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2","device":"dfb88521-a0c6-43d7-912d-2446519788f3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"26bbf3d7-941a-4672-8460-de1fc87cd5c2","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F26bbf3d7-941a-4672-8460-de1fc87cd5c2': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F26bbf3d7-941a-4672-8460-de1fc87cd5c2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"502feee6-5b54-4505-9d0b-6b1bcab7b3b9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.2608433} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"afb71eb1-b4a7-4bf6-8fce-5a3339cf4f13","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.2612102} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"18813360583b965a2377cc8cf35b69e9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"18813360583b965a2377cc8cf35b69e9","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"4166c830-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a3551b311da58f5435feb6f21cca0f1b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2"}}},"level":"info","message":"received a callback","requestID":"18813360583b965a2377cc8cf35b69e9"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a3551b311da58f5435feb6f21cca0f1b","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2"}}},"level":"info","message":"received a callback","requestID":"a3551b311da58f5435feb6f21cca0f1b"} device-1 | {"data":{"peerconnection":"26bbf3d7-941a-4672-8460-de1fc87cd5c2","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"4166c830-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2 204 51ms","method":"DELETE","requestID":"4166c830-75da-11ef-ba7c-09eaa4331ae1","responseTime":51,"status":204,"url":"/peerconnections/26bbf3d7-941a-4672-8460-de1fc87cd5c2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"},"level":"info","message":"Successfully finished experiment","requestID":"a4e3f2c89fde65a0aaa5f3ca1b199d7b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"417239e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":642,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F87e8a951-f607-4e27-82a1-bc1557958fba","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6870c621-2235-48b1-b57e-70bea9a26e4c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.3159783} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":642,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.49184,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"417239e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"417239e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"417239e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/87e8a951-f607-4e27-82a1-bc1557958fba/signaling 200 11ms","method":"POST","requestID":"417239e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/87e8a951-f607-4e27-82a1-bc1557958fba/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff8341ce3-bb76-42a0-a11b-7b070aab48d1': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff8341ce3-bb76-42a0-a11b-7b070aab48d1","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"c3c40396-0f18-4e8c-8f92-bde932c8674b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.3249712} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"41745cc0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0f3b9d00-0d19-47d3-9da5-914cdb43d989","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.3252933} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"a4e3f2c89fde65a0aaa5f3ca1b199d7b","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":643,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfb88521-a0c6-43d7-912d-2446519788f3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1c168b82-35eb-439c-bc4b-61d99c372b45","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.331234} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":643,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.862588,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"41745cc0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"41745cc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"41745cc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/dfb88521-a0c6-43d7-912d-2446519788f3/signaling 200 12ms","method":"POST","requestID":"41745cc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/dfb88521-a0c6-43d7-912d-2446519788f3/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1","requestID":"a4e3f2c89fde65a0aaa5f3ca1b199d7b"} gateway-1 | {"time_local":"18/Sep/2024:16:22:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.182","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a4e3f2c89fde65a0aaa5f3ca1b199d7b"} experiment-1 | {"level":"info","message":"DELETE /experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1 204 179ms","method":"DELETE","requestID":"a4e3f2c89fde65a0aaa5f3ca1b199d7b","responseTime":179,"status":204,"url":"/experiments/f8341ce3-bb76-42a0-a11b-7b070aab48d1"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 137ms","method":"POST","requestID":"18813360583b965a2377cc8cf35b69e9","responseTime":137,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.141","http_referrer":"","http_user_agent":"node-fetch","requestID":"18813360583b965a2377cc8cf35b69e9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 136ms","method":"POST","requestID":"a3551b311da58f5435feb6f21cca0f1b","responseTime":136,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.142","http_referrer":"","http_user_agent":"node-fetch","requestID":"a3551b311da58f5435feb6f21cca0f1b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3M30.tOlFkzqqtSSeO0xMW089FULkKpI_fJrnYamITn_ek5o","level":"info","message":"auth send jwt","requestID":"8148c7eceb2aefc9721d6ae31dffb0fe"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"8148c7eceb2aefc9721d6ae31dffb0fe","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"8148c7eceb2aefc9721d6ae31dffb0fe"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":644,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:53Z"} gateway-1 | {"time_local":"18/Sep/2024:16:22:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3320","request_time":"0.728","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"104c42aa14bd34b071fec883992056db"} gateway-1 | {"time_local":"18/Sep/2024:16:22:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3317","request_time":"0.716","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"89371ddb3de96ff156ea3d7d60dad602"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":644,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":7.072224,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8148c7eceb2aefc9721d6ae31dffb0fe","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676573,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3M30.tOlFkzqqtSSeO0xMW089FULkKpI_fJrnYamITn_ek5o"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"8148c7eceb2aefc9721d6ae31dffb0fe","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/87e8a951-f607-4e27-82a1-bc1557958fba' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/dfb88521-a0c6-43d7-912d-2446519788f3' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"25465548-7865-466d-a41a-4d7eb9b97996","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.432476} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8148c7eceb2aefc9721d6ae31dffb0fe","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"06a0eb92-631f-4b02-80ff-6e871d56e509","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.436256} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"8148c7eceb2aefc9721d6ae31dffb0fe","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"dd15dc6c-2179-46a6-bcff-a50ce701e44d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.4454882} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"34f5fe2d-d2b6-44d5-85c4-e23ef4758eac","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.4460568} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"8148c7eceb2aefc9721d6ae31dffb0fe","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:53.445467122Z"}]},"request_id":"cc34eb29-bfd4-46ea-a039-055840b94fbd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.4496439} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"8148c7eceb2aefc9721d6ae31dffb0fe","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"8148c7eceb2aefc9721d6ae31dffb0fe"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"8148c7eceb2aefc9721d6ae31dffb0fe","responseTime":43,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8148c7eceb2aefc9721d6ae31dffb0fe"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3M30.tOlFkzqqtSSeO0xMW089FULkKpI_fJrnYamITn_ek5o","level":"info","message":"auth send jwt","requestID":"11f39807e595efa0a0943b8d12f86606"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"11f39807e595efa0a0943b8d12f86606","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"11f39807e595efa0a0943b8d12f86606"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":645,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":645,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.794811,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:53Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"11f39807e595efa0a0943b8d12f86606","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676573,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3M30.tOlFkzqqtSSeO0xMW089FULkKpI_fJrnYamITn_ek5o"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"11f39807e595efa0a0943b8d12f86606","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"48e078dd-7f5a-4ed2-a412-61565d4cfc5f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.4727907} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"11f39807e595efa0a0943b8d12f86606","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9d2148d0-207a-4dc6-919a-9333997b3fec","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.4766228} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"11f39807e595efa0a0943b8d12f86606","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"c91f71a1-994b-4f67-ae7c-9712ecb2d87e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.4926896} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ff34bf9e-5991-4479-9162-e2916ca17caa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.492941} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"11f39807e595efa0a0943b8d12f86606","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:53.492669182Z"}]},"request_id":"dbd606ab-679c-4668-be89-82c7fde1cd73","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676573.4958763} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"11f39807e595efa0a0943b8d12f86606","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"11f39807e595efa0a0943b8d12f86606"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"11f39807e595efa0a0943b8d12f86606","responseTime":41,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"11f39807e595efa0a0943b8d12f86606"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cd81bc3ebd6f96a5bfd9bc3c107175c5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"cd81bc3ebd6f96a5bfd9bc3c107175c5","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"cd81bc3ebd6f96a5bfd9bc3c107175c5"} device-1 | {"level":"info","message":"OPTIONS /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789/websocket 200 1ms","method":"OPTIONS","requestID":"cd81bc3ebd6f96a5bfd9bc3c107175c5","responseTime":1,"status":200,"url":"/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789/websocket"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e5183e95f30f3bf40e9d574459e371bc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"e5183e95f30f3bf40e9d574459e371bc","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e5183e95f30f3bf40e9d574459e371bc"} device-1 | {"level":"info","message":"OPTIONS /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae/websocket 200 0ms","method":"OPTIONS","requestID":"e5183e95f30f3bf40e9d574459e371bc","responseTime":0,"status":200,"url":"/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw","level":"info","message":"auth send jwt","requestID":"ea6f4d0be83ae0a3da80f4531ec562c7"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"ea6f4d0be83ae0a3da80f4531ec562c7","responseTime":6,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw","level":"info","message":"auth send jwt","requestID":"5604542b309057c2cb348f69670b0703"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"ea6f4d0be83ae0a3da80f4531ec562c7"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"5604542b309057c2cb348f69670b0703","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"5604542b309057c2cb348f69670b0703"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":646,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":646,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.210692,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":647,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":647,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.860757,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ea6f4d0be83ae0a3da80f4531ec562c7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676575,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"ea6f4d0be83ae0a3da80f4531ec562c7","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5604542b309057c2cb348f69670b0703","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676575,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"5604542b309057c2cb348f69670b0703","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"5604542b309057c2cb348f69670b0703"} gateway-1 | {"time_local":"18/Sep/2024:16:22:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.040","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"5604542b309057c2cb348f69670b0703"} device-1 | {"level":"info","message":"POST /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae/websocket 200 28ms","method":"POST","requestID":"5604542b309057c2cb348f69670b0703","responseTime":28,"status":200,"url":"/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"ea6f4d0be83ae0a3da80f4531ec562c7"} gateway-1 | {"time_local":"18/Sep/2024:16:22:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.053","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ea6f4d0be83ae0a3da80f4531ec562c7"} device-1 | {"level":"info","message":"POST /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789/websocket 200 45ms","method":"POST","requestID":"ea6f4d0be83ae0a3da80f4531ec562c7","responseTime":45,"status":200,"url":"/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a5336da1f0c07741c8601a3f16e40dc1","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a5336da1f0c07741c8601a3f16e40dc1","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"a5336da1f0c07741c8601a3f16e40dc1"} device-1 | {"level":"info","message":"OPTIONS /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae? 200 1ms","method":"OPTIONS","requestID":"a5336da1f0c07741c8601a3f16e40dc1","responseTime":1,"status":200,"url":"/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw","level":"info","message":"auth send jwt","requestID":"f7917c5370a458160cde4665a181b372"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f7917c5370a458160cde4665a181b372","responseTime":4,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"af423f2bc3e989771126f80fd76ddcf9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"f7917c5370a458160cde4665a181b372"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"af423f2bc3e989771126f80fd76ddcf9","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.006","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"af423f2bc3e989771126f80fd76ddcf9"} device-1 | {"level":"info","message":"OPTIONS /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789? 200 2ms","method":"OPTIONS","requestID":"af423f2bc3e989771126f80fd76ddcf9","responseTime":2,"status":200,"url":"/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":648,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":648,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.179759,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f7917c5370a458160cde4665a181b372","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676575,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f7917c5370a458160cde4665a181b372","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw","level":"info","message":"auth send jwt","requestID":"ca1ad508e2d75c3a0acc487e9be0fb16"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ca1ad508e2d75c3a0acc487e9be0fb16","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"ca1ad508e2d75c3a0acc487e9be0fb16"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:53.445467122Z"}]},"request_id":"e7879cbe-df73-4a1c-b2d9-62a03c23cb3f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.615485} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"f7917c5370a458160cde4665a181b372","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":649,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":649,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.844072,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ca1ad508e2d75c3a0acc487e9be0fb16","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676575,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ca1ad508e2d75c3a0acc487e9be0fb16","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e1c1a558-99cf-401f-8440-c9490f8f7fe0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.6241987} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"f7917c5370a458160cde4665a181b372","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:53.492669182Z"}]},"request_id":"024c1da9-9eab-47cb-a7c5-00e8b8a6c673","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.6301353} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ca1ad508e2d75c3a0acc487e9be0fb16","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"739d9948-20b8-4c77-b539-f11aaa837f7e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.6358774} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"ca1ad508e2d75c3a0acc487e9be0fb16","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:53.445467122Z"}]},"request_id":"c395231d-7b83-47d3-a776-9c117a34de3f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.6391625} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f7917c5370a458160cde4665a181b372","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"f7917c5370a458160cde4665a181b372"} gateway-1 | {"time_local":"18/Sep/2024:16:22:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.049","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f7917c5370a458160cde4665a181b372"} device-1 | {"level":"info","message":"PATCH /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae? 200 43ms","method":"PATCH","requestID":"f7917c5370a458160cde4665a181b372","responseTime":43,"status":200,"url":"/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:53.492669182Z"}]},"request_id":"9fd5ed52-e7d0-4f1d-b3f6-22b9be9d1541","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.6495636} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ca1ad508e2d75c3a0acc487e9be0fb16","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"ca1ad508e2d75c3a0acc487e9be0fb16"} gateway-1 | {"time_local":"18/Sep/2024:16:22:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.046","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ca1ad508e2d75c3a0acc487e9be0fb16"} device-1 | {"level":"info","message":"PATCH /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789? 200 37ms","method":"PATCH","requestID":"ca1ad508e2d75c3a0acc487e9be0fb16","responseTime":37,"status":200,"url":"/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw","level":"info","message":"auth send jwt","requestID":"ca5f0b9ea6407bc67b31830ec30f4bf7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ca5f0b9ea6407bc67b31830ec30f4bf7","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ca5f0b9ea6407bc67b31830ec30f4bf7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":650,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":650,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.755708,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ca5f0b9ea6407bc67b31830ec30f4bf7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676575,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ca5f0b9ea6407bc67b31830ec30f4bf7","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:53.445467122Z"}]},"request_id":"e001c3d9-815b-4da1-9b5a-90c02464b054","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.6693227} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ca5f0b9ea6407bc67b31830ec30f4bf7","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ca5f0b9ea6407bc67b31830ec30f4bf7"} device-1 | {"level":"info","message":"GET /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae? 200 13ms","method":"GET","requestID":"ca5f0b9ea6407bc67b31830ec30f4bf7","responseTime":13,"status":200,"url":"/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ca5f0b9ea6407bc67b31830ec30f4bf7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw","level":"info","message":"auth send jwt","requestID":"13a089e10e6b6c509e31439fb5e87ef9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"13a089e10e6b6c509e31439fb5e87ef9","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"13a089e10e6b6c509e31439fb5e87ef9"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":651,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":651,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.191167,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"13a089e10e6b6c509e31439fb5e87ef9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676575,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"13a089e10e6b6c509e31439fb5e87ef9","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:53.492669182Z"}]},"request_id":"d8a0fad2-2a73-4ef4-b9dc-40c3a325711f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.6884937} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"13a089e10e6b6c509e31439fb5e87ef9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"13a089e10e6b6c509e31439fb5e87ef9"} gateway-1 | {"time_local":"18/Sep/2024:16:22:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"13a089e10e6b6c509e31439fb5e87ef9"} device-1 | {"level":"info","message":"GET /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789? 200 13ms","method":"GET","requestID":"13a089e10e6b6c509e31439fb5e87ef9","responseTime":13,"status":200,"url":"/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw","level":"info","message":"auth send jwt","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":652,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":652,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.999308,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676575,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"},"level":"info","message":"Attempting to run experiment","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"},"level":"info","message":"Attempting to book experiment","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"},"level":"info","message":"Successfully booked experiment","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"42e5c710-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"42e5ee20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":653,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":653,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.918133,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":654,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"42e5c710-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676575,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"42e5c710-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":654,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.546582,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"42e5ee20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676575,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"42e5ee20-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:53.445467122Z"}]},"request_id":"3f409f61-9c2e-43fa-88b5-9fb16563e635","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.7556393} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"42e5c710-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:53.492669182Z"}]},"request_id":"5632eb62-fc27-426d-b6cf-18357045d5dc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.7565966} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"42e5ee20-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"42e5c710-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae? 200 20ms","method":"GET","requestID":"42e5c710-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"42e5ee20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789? 200 20ms","method":"GET","requestID":"42e5ee20-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"},"level":"info","message":"Setting up experiment","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"},"level":"info","message":"Successfully locked booking for experiment","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"},"level":"info","message":"Attempting to update booking for experiment","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"},"level":"info","message":"Successfully updated booking for experiment","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"},"level":"info","message":"Successfully set up experiment","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"42f00040-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"42f07570-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"42f0eaa0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":655,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"},"level":"info","message":"Successfully running experiment","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":655,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.327016,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":656,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"42f00040-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676575,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"42f00040-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":656,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.344936,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"42f07570-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676575,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"42f07570-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":657,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":657,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.158692,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0ad78b38-89e5-4422-b1af-26bf1bf2de2b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.8268216} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"42f0eaa0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"42f0eaa0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:53.445467122Z"}]},"request_id":"4733c3fe-670a-4779-9312-b3828ed65dcc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.8290493} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:53.492669182Z"}]},"request_id":"2c51db9a-afa8-4baf-a9c8-cda4b26ba229","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.831369} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"42f00040-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"42f07570-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"42f0eaa0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae/signaling 200 20ms","method":"POST","requestID":"42f0eaa0-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"42f00040-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae? 200 29ms","method":"GET","requestID":"42f00040-75da-11ef-ba7c-09eaa4331ae1","responseTime":29,"status":200,"url":"/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"42f07570-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789? 200 28ms","method":"GET","requestID":"42f07570-75da-11ef-ba7c-09eaa4331ae1","responseTime":28,"status":200,"url":"/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbfdb4ef4-9425-4f5f-a52b-83f56ceb0a57#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbfdb4ef4-9425-4f5f-a52b-83f56ceb0a57","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"5532b1e7-6a5f-43dd-98e8-daa67c4ed7bd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.8431933} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"12822e8b-c369-405d-b93d-5257796fe04b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.8435295} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"42f4e240-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0","responseTime":21,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"42f55770-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":658,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":659,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f62914b1-29e0-4134-814a-6236626c4644","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.8511434} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":658,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.503204,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"42f4e240-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"42f4e240-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"POST /experiments? 201 157ms","method":"POST","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0","responseTime":157,"status":201,"url":"/experiments?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5c803459-295d-4e5b-83f8-40560700a64e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.8546615} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":659,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.695756,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} gateway-1 | {"time_local":"18/Sep/2024:16:22:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1288","request_time":"0.161","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"42f55770-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"42f55770-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw","level":"info","message":"auth send jwt","requestID":"0fe7bc86d12fa7102fb81afd7395f201"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"42f4e240-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0fe7bc86d12fa7102fb81afd7395f201","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"POST /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789/signaling 200 16ms","method":"POST","requestID":"42f4e240-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"42f55770-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae/signaling 200 14ms","method":"POST","requestID":"42f55770-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0fe7bc86d12fa7102fb81afd7395f201"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"42f7ef80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":660,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":660,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.83401,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0fe7bc86d12fa7102fb81afd7395f201","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676575,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0fe7bc86d12fa7102fb81afd7395f201","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":661,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:53.445467122Z"}]},"request_id":"cfff06b7-5e8b-4791-8b17-bf44460028c4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.8708112} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d2e1dac4-2c2d-4568-9eb8-ee0e30407abe","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.8709402} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0fe7bc86d12fa7102fb81afd7395f201","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":661,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.826627,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"42f7ef80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"42f7ef80-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0fe7bc86d12fa7102fb81afd7395f201"} gateway-1 | {"time_local":"18/Sep/2024:16:22:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0fe7bc86d12fa7102fb81afd7395f201"} device-1 | {"level":"info","message":"GET /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae? 200 15ms","method":"GET","requestID":"0fe7bc86d12fa7102fb81afd7395f201","responseTime":15,"status":200,"url":"/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"42f7ef80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789/signaling 200 14ms","method":"POST","requestID":"42f7ef80-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"42fa6080-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw","level":"info","message":"auth send jwt","requestID":"91773173a600e9becc8a862d1149d473"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"91773173a600e9becc8a862d1149d473","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"42faaea0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":662,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"91773173a600e9becc8a862d1149d473"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":662,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.951198,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":663,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"42fa6080-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676575,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"42fa6080-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":663,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.633967,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"42faaea0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676575,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"42faaea0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":664,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":664,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.81978,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"91773173a600e9becc8a862d1149d473","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676575,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"91773173a600e9becc8a862d1149d473","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:53.445467122Z"}]},"request_id":"609a6c60-dfae-4f01-a553-0ed4b28b4014","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.8897128} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"42fa6080-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:53.492669182Z"}]},"request_id":"c003f8a7-b8bb-4a8f-84ed-b28f2d17eba5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.891575} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"42faaea0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:53.492669182Z"}]},"request_id":"1a7b85aa-a256-45ab-9791-142a384627b8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.8935525} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"91773173a600e9becc8a862d1149d473","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"42fa6080-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae? 200 16ms","method":"GET","requestID":"42fa6080-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"42faaea0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789? 200 17ms","method":"GET","requestID":"42faaea0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"91773173a600e9becc8a862d1149d473"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"},"level":"info","message":"Building connection plan","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"2c0c1b29-08c7-426f-b970-814db1ee8bf4"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"d1285224-ca6b-450e-a093-bd66445861d4"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"bb0670b6-cfc5-4da8-a823-a7a902830a85"}]},"level":"info","message":"Built pairwise service configurations","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} gateway-1 | {"time_local":"18/Sep/2024:16:22:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"91773173a600e9becc8a862d1149d473"} device-1 | {"level":"info","message":"GET /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789? 200 16ms","method":"GET","requestID":"91773173a600e9becc8a862d1149d473","responseTime":16,"status":200,"url":"/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789?"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"42fd94d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":665,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":665,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.794734,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"42fd94d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676575,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3NX0.xq-aIdTavlTKx27M7rZZAcywIe9SATGArM-Gne0yXfw"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"42fd94d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"b0c45329-c617-4143-92c3-f8eec5d28c26","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.912727} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bd336a83-7920-4ae5-82f3-7ded745ed1fd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.9129431} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"42fd94d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"42fd94d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"42fd94d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d'","requestID":"42fd94d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d'","requestID":"42fd94d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"42fd94d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 26ms","method":"POST","requestID":"42fd94d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"42fd94d0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"fc06b5b5493cb5cc086a4cfda8f2c7a0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4305ab20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":666,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"300d78fa-3758-4c74-9c5f-e94f643ca0c3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.9586945} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":666,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.343439,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4305ab20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4305ab20-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4305ab20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae/signaling 200 8ms","method":"POST","requestID":"4305ab20-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"430731c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":667,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:55Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"15a0a803-5e38-494b-a0d0-100ba61f9b0e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676575.969043} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":667,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.397014,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:55Z"} device-1 | {"device":"c3371c96-c36f-4ccf-b91b-13a27d52b789","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"430731c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"content":{"canTrickle":true},"device":"c3371c96-c36f-4ccf-b91b-13a27d52b789","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"430731c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"430731c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789/signaling 200 10ms","method":"POST","requestID":"430731c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789/signaling"} device-1 | {"device":"89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 3653930779898287551 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:OuO+\r\na=ice-pwd:IJeck/3lwdEWdo6/dJSQR48D\r\na=ice-options:trickle\r\na=fingerprint:sha-256 97:66:D7:06:8E:3C:9C:AF:B7:8D:8D:73:A1:96:81:66:27:85:BD:54:A5:F5:63:47:E4:7B:FD:3A:CB:A8:FF:24\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 255285295780414153 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:HCdL\r\na=ice-pwd:RAtjrtzhBnif09E2Lm9keisM\r\na=ice-options:trickle\r\na=fingerprint:sha-256 60:58:45:3C:B9:0A:79:E4:53:35:AB:F2:99:34:CE:7D:53:2D:F2:45:00:E1:C6:A8:79:8B:12:CB:BD:DA:72:C7\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"c3371c96-c36f-4ccf-b91b-13a27d52b789","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:800653750 1 udp 2113937151 553d5e30-e740-4977-a843-f7488714e08f.local 33292 typ host generation 0 ufrag HCdL network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"c3371c96-c36f-4ccf-b91b-13a27d52b789","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2878630857 1 udp 1677729535 141.24.211.56 33292 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag HCdL network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"c3371c96-c36f-4ccf-b91b-13a27d52b789","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789'"} device-1 | {"content":{"candidate":"candidate:3694107607 1 udp 2113937151 2d31c528-1bb3-42db-ae50-ebc738f87990.local 57741 typ host generation 0 ufrag OuO+ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1476587944 1 udp 1677729535 141.24.211.56 57741 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag OuO+ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae'"} device-1 | {"device":"89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"c3371c96-c36f-4ccf-b91b-13a27d52b789","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"1364a8d6-84ad-4b0c-b86c-72b03a72bc4d","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"c3371c96-c36f-4ccf-b91b-13a27d52b789","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"30701d4d6f604d97506bfe7050e8a818","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"30701d4d6f604d97506bfe7050e8a818","responseTime":0,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d"}}},"level":"info","message":"received a callback","requestID":"30701d4d6f604d97506bfe7050e8a818"} device-1 | {"device":"89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"c3371c96-c36f-4ccf-b91b-13a27d52b789","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"30701d4d6f604d97506bfe7050e8a818","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.008","http_referrer":"","http_user_agent":"node-fetch","requestID":"30701d4d6f604d97506bfe7050e8a818"} device-1 | {"device":"c3371c96-c36f-4ccf-b91b-13a27d52b789","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"1364a8d6-84ad-4b0c-b86c-72b03a72bc4d","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"1364a8d6-84ad-4b0c-b86c-72b03a72bc4d","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"1364a8d6-84ad-4b0c-b86c-72b03a72bc4d","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"57778e7e655caabe0e55f1520f6426bb","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"57778e7e655caabe0e55f1520f6426bb","responseTime":0,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d"}}},"level":"info","message":"received a callback","requestID":"57778e7e655caabe0e55f1520f6426bb"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"43156290-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":668,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F1364a8d6-84ad-4b0c-b86c-72b03a72bc4d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9f611210-e0e4-4702-9ca0-342c3f7b0242","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.0619736} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":668,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.098544,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"43156290-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"43156290-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"43156290-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d 200 8ms","method":"GET","requestID":"43156290-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 34ms","method":"POST","requestID":"57778e7e655caabe0e55f1520f6426bb","responseTime":34,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.036","http_referrer":"","http_user_agent":"node-fetch","requestID":"57778e7e655caabe0e55f1520f6426bb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"431a1d80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":669,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6224bdd7-3a57-4822-bec7-fb97087b7639","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.0921822} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":669,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.423475,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"431a1d80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"431a1d80-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"431a1d80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789/signaling 200 9ms","method":"POST","requestID":"431a1d80-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"431bcb30-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":670,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8f523301-a133-4e4c-bd85-dcb5f57b5a90","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.1039393} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":670,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.305612,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"431bcb30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"431bcb30-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"431bcb30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae/signaling 200 9ms","method":"POST","requestID":"431bcb30-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Nn0.MyI3F4foSzgGHvu6ihQIuOaQ4nfxS9rN3lep4zXb7qk","level":"info","message":"auth send jwt","requestID":"aee30c1ef6a54c7e08752efd154324f7"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"aee30c1ef6a54c7e08752efd154324f7","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57","requestID":"aee30c1ef6a54c7e08752efd154324f7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":671,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":671,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.67282,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"aee30c1ef6a54c7e08752efd154324f7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676576,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Nn0.MyI3F4foSzgGHvu6ihQIuOaQ4nfxS9rN3lep4zXb7qk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"aee30c1ef6a54c7e08752efd154324f7","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57","requestID":"aee30c1ef6a54c7e08752efd154324f7"} gateway-1 | {"time_local":"18/Sep/2024:16:22:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57 HTTP/1.1","status": "200","body_bytes_sent":"1361","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"aee30c1ef6a54c7e08752efd154324f7"} experiment-1 | {"level":"info","message":"GET /experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57 200 13ms","method":"GET","requestID":"aee30c1ef6a54c7e08752efd154324f7","responseTime":13,"status":200,"url":"/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Nn0.MyI3F4foSzgGHvu6ihQIuOaQ4nfxS9rN3lep4zXb7qk","level":"info","message":"auth send jwt","requestID":"53f203c7349282e938610a8624e2ade7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"53f203c7349282e938610a8624e2ade7","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57","requestID":"53f203c7349282e938610a8624e2ade7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":672,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":672,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.129076,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"53f203c7349282e938610a8624e2ade7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676576,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Nn0.MyI3F4foSzgGHvu6ihQIuOaQ4nfxS9rN3lep4zXb7qk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"53f203c7349282e938610a8624e2ade7","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"},"level":"info","message":"Attempting to finish experiment","requestID":"53f203c7349282e938610a8624e2ade7"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"43267990-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":673,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":673,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.662212,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"43267990-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676576,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Nn0.MyI3F4foSzgGHvu6ihQIuOaQ4nfxS9rN3lep4zXb7qk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"43267990-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d","device":"89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d","device":"c3371c96-c36f-4ccf-b91b-13a27d52b789","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"1364a8d6-84ad-4b0c-b86c-72b03a72bc4d","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F1364a8d6-84ad-4b0c-b86c-72b03a72bc4d': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F1364a8d6-84ad-4b0c-b86c-72b03a72bc4d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"e899b283-2c0b-4e45-8019-14f0cad350bc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.1861756} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"83b59892-f469-4f42-9ad1-427122018abf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.1865602} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"43267990-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c9de5211f73f551fcd657fa5c148648e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"c9de5211f73f551fcd657fa5c148648e","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b13b5084d08479100184971093446a5a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b13b5084d08479100184971093446a5a","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d"}}},"level":"info","message":"received a callback","requestID":"c9de5211f73f551fcd657fa5c148648e"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d"}}},"level":"info","message":"received a callback","requestID":"b13b5084d08479100184971093446a5a"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"43267990-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d 204 78ms","method":"DELETE","requestID":"43267990-75da-11ef-ba7c-09eaa4331ae1","responseTime":78,"status":204,"url":"/peerconnections/1364a8d6-84ad-4b0c-b86c-72b03a72bc4d"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"},"level":"info","message":"Successfully finished experiment","requestID":"53f203c7349282e938610a8624e2ade7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"43363100-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":674,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3371c96-c36f-4ccf-b91b-13a27d52b789","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a93a37b2-a00b-4f5c-be13-74584e7443d3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.2805762} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":674,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.63486,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"43363100-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"43363100-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbfdb4ef4-9425-4f5f-a52b-83f56ceb0a57': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbfdb4ef4-9425-4f5f-a52b-83f56ceb0a57","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"e088a4fc-4231-4140-b82c-1b211256bc1c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.283812} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bb6a3acd-c843-4dab-bb78-d9322b8ebbbb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.2842646} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"53f203c7349282e938610a8624e2ade7","responseTime":17,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"43363100-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c3371c96-c36f-4ccf-b91b-13a27d52b789/signaling 200 17ms","method":"POST","requestID":"43363100-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"43391730-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":675,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4cb2f472-fbac-4a51-9d97-6e583f75ce01","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.2987523} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":675,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.506996,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"43391730-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"43391730-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"43391730-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae/signaling 200 13ms","method":"POST","requestID":"43391730-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57","requestID":"53f203c7349282e938610a8624e2ade7"} gateway-1 | {"time_local":"18/Sep/2024:16:22:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.222","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"53f203c7349282e938610a8624e2ade7"} experiment-1 | {"level":"info","message":"DELETE /experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57 204 219ms","method":"DELETE","requestID":"53f203c7349282e938610a8624e2ade7","responseTime":219,"status":204,"url":"/experiments/bfdb4ef4-9425-4f5f-a52b-83f56ceb0a57"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 189ms","method":"POST","requestID":"c9de5211f73f551fcd657fa5c148648e","responseTime":189,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.193","http_referrer":"","http_user_agent":"node-fetch","requestID":"c9de5211f73f551fcd657fa5c148648e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 189ms","method":"POST","requestID":"b13b5084d08479100184971093446a5a","responseTime":189,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:22:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.194","http_referrer":"","http_user_agent":"node-fetch","requestID":"b13b5084d08479100184971093446a5a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Nn0.MyI3F4foSzgGHvu6ihQIuOaQ4nfxS9rN3lep4zXb7qk","level":"info","message":"auth send jwt","requestID":"a34dbe6c6c6620c8bc61bba6c82f8025"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"a34dbe6c6c6620c8bc61bba6c82f8025","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"a34dbe6c6c6620c8bc61bba6c82f8025"} gateway-1 | {"time_local":"18/Sep/2024:16:22:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3318","request_time":"0.826","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"6c7ae094450e7af75454b04a91b604e1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":676,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":676,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.864102,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a34dbe6c6c6620c8bc61bba6c82f8025","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676576,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Nn0.MyI3F4foSzgGHvu6ihQIuOaQ4nfxS9rN3lep4zXb7qk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a34dbe6c6c6620c8bc61bba6c82f8025","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:22:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3318","request_time":"0.841","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ba5e44730fd754e0f9a355d128c0edec"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"1a6c504f-f69d-4817-9ce0-15b458fb154e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.399203} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a34dbe6c6c6620c8bc61bba6c82f8025","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dcef77d7-dbf9-41c1-95bb-68e68cdc6d6d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.404385} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"a34dbe6c6c6620c8bc61bba6c82f8025","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"7079d358-51d3-48bf-aaab-3f953f0d8d5d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.4175856} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e1cfcfcf-e933-42fa-bbed-39bda894ca7a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.4176583} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"a34dbe6c6c6620c8bc61bba6c82f8025","responseTime":15,"status":200,"url":"/relations/update"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/c3371c96-c36f-4ccf-b91b-13a27d52b789' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/89ba6595-c38b-4b9a-b9f3-f8b3e93924ae' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:56.417564202Z"}]},"request_id":"028cad29-0b67-408e-b06d-f62d0a73b497","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.4221585} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a34dbe6c6c6620c8bc61bba6c82f8025","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"a34dbe6c6c6620c8bc61bba6c82f8025"} gateway-1 | {"time_local":"18/Sep/2024:16:22:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.046","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a34dbe6c6c6620c8bc61bba6c82f8025"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"a34dbe6c6c6620c8bc61bba6c82f8025","responseTime":40,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Nn0.MyI3F4foSzgGHvu6ihQIuOaQ4nfxS9rN3lep4zXb7qk","level":"info","message":"auth send jwt","requestID":"3aacc999b145663db4ce347bf4706390"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"3aacc999b145663db4ce347bf4706390","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"3aacc999b145663db4ce347bf4706390"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":677,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":677,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.800449,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3aacc999b145663db4ce347bf4706390","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676576,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Nn0.MyI3F4foSzgGHvu6ihQIuOaQ4nfxS9rN3lep4zXb7qk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3aacc999b145663db4ce347bf4706390","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"310b6639-3b43-4a20-b58b-4530de99fb84","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.4461915} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3aacc999b145663db4ce347bf4706390","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"de2ffc86-b47e-489c-b0bd-ba4a1b94b6d8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.450881} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"3aacc999b145663db4ce347bf4706390","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"67cdcdff-685c-4783-ba96-9f84c581d54a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.4598303} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3728c478-178c-4d20-b363-3b148653861e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.4598863} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"3aacc999b145663db4ce347bf4706390","responseTime":11,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:56.459808472Z"}]},"request_id":"6cf3fc80-bd6c-4210-ae17-4ffd8cc22351","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.4631512} authorization-1 | {"level":"info","message":"POST /relations/query 200 1ms","method":"POST","requestID":"3aacc999b145663db4ce347bf4706390","responseTime":1,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"3aacc999b145663db4ce347bf4706390"} device-1 | {"level":"info","message":"POST /devices? 201 36ms","method":"POST","requestID":"3aacc999b145663db4ce347bf4706390","responseTime":36,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.039","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3aacc999b145663db4ce347bf4706390"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Nn0.MyI3F4foSzgGHvu6ihQIuOaQ4nfxS9rN3lep4zXb7qk","level":"info","message":"auth send jwt","requestID":"8002b375ee13cdd1dfe93c44b0498369"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8002b375ee13cdd1dfe93c44b0498369","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"8002b375ee13cdd1dfe93c44b0498369"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":678,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":678,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.787889,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:56Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8002b375ee13cdd1dfe93c44b0498369","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676576,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3Nn0.MyI3F4foSzgGHvu6ihQIuOaQ4nfxS9rN3lep4zXb7qk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8002b375ee13cdd1dfe93c44b0498369","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:56.459808472Z"}]},"request_id":"00cb99e6-142e-41a3-be2c-d30e393ecd5d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.9491887} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8002b375ee13cdd1dfe93c44b0498369","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ad1da6de-6529-4b4b-8b9c-86694db45d86","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676576.958778} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"8002b375ee13cdd1dfe93c44b0498369","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:56.459808472Z"}]},"request_id":"6aa17259-c085-47fd-8bb4-44b16ccc3c40","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676577.451689} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8002b375ee13cdd1dfe93c44b0498369","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"8002b375ee13cdd1dfe93c44b0498369"} gateway-1 | {"time_local":"18/Sep/2024:16:22:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.528","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"8002b375ee13cdd1dfe93c44b0498369"} device-1 | {"level":"info","message":"PATCH /devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400 200 521ms","method":"PATCH","requestID":"8002b375ee13cdd1dfe93c44b0498369","responseTime":521,"status":200,"url":"/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3N30.nVA4AfaQufV3iC_5M7I9HjtOVYhF3WrVXE1kLZZ6Vyk","level":"info","message":"auth send jwt","requestID":"a3a82fb6d23b2cd9b9555dfd2718fcf5"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"a3a82fb6d23b2cd9b9555dfd2718fcf5","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"a3a82fb6d23b2cd9b9555dfd2718fcf5"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":679,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:57Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":679,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.545327,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:57Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a3a82fb6d23b2cd9b9555dfd2718fcf5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676577,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3N30.nVA4AfaQufV3iC_5M7I9HjtOVYhF3WrVXE1kLZZ6Vyk"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a3a82fb6d23b2cd9b9555dfd2718fcf5","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"a3a82fb6d23b2cd9b9555dfd2718fcf5"} gateway-1 | {"time_local":"18/Sep/2024:16:22:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.030","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"a3a82fb6d23b2cd9b9555dfd2718fcf5"} device-1 | {"level":"info","message":"POST /devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400/websocket 200 23ms","method":"POST","requestID":"a3a82fb6d23b2cd9b9555dfd2718fcf5","responseTime":23,"status":200,"url":"/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ff162bd67d1df855230cc84fad003311","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ff162bd67d1df855230cc84fad003311","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ff162bd67d1df855230cc84fad003311"} device-1 | {"level":"info","message":"OPTIONS /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28/websocket 200 1ms","method":"OPTIONS","requestID":"ff162bd67d1df855230cc84fad003311","responseTime":1,"status":200,"url":"/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ","level":"info","message":"auth send jwt","requestID":"309a1e8d7b65035f277ccb80747b3bf5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"309a1e8d7b65035f277ccb80747b3bf5","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"309a1e8d7b65035f277ccb80747b3bf5"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":680,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":680,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.232401,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"309a1e8d7b65035f277ccb80747b3bf5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676578,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"309a1e8d7b65035f277ccb80747b3bf5","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"309a1e8d7b65035f277ccb80747b3bf5"} device-1 | {"level":"info","message":"POST /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28/websocket 200 21ms","method":"POST","requestID":"309a1e8d7b65035f277ccb80747b3bf5","responseTime":21,"status":200,"url":"/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:22:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"309a1e8d7b65035f277ccb80747b3bf5"} device-1 | {"level":"info","message":"device 'http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"14fefe56de038fe8e5ffadb26c74ed7c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"14fefe56de038fe8e5ffadb26c74ed7c","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:22:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"14fefe56de038fe8e5ffadb26c74ed7c"} device-1 | {"level":"info","message":"OPTIONS /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28? 200 2ms","method":"OPTIONS","requestID":"14fefe56de038fe8e5ffadb26c74ed7c","responseTime":2,"status":200,"url":"/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ","level":"info","message":"auth send jwt","requestID":"d6a7edb7e874f150f4fb7641891df1ea"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d6a7edb7e874f150f4fb7641891df1ea","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"d6a7edb7e874f150f4fb7641891df1ea"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":681,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":681,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.375225,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d6a7edb7e874f150f4fb7641891df1ea","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676578,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d6a7edb7e874f150f4fb7641891df1ea","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:56.417564202Z"}]},"request_id":"96b08633-bfd8-4946-a78e-e320def971eb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.5739582} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d6a7edb7e874f150f4fb7641891df1ea","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3f33b597-c826-433d-8e5e-17fbe64c0fe5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.5821157} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"d6a7edb7e874f150f4fb7641891df1ea","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:56.417564202Z"}]},"request_id":"d44ea9c8-84b6-4d69-89de-e4887ce027a9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.6065521} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d6a7edb7e874f150f4fb7641891df1ea","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"d6a7edb7e874f150f4fb7641891df1ea"} gateway-1 | {"time_local":"18/Sep/2024:16:22:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.058","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d6a7edb7e874f150f4fb7641891df1ea"} device-1 | {"level":"info","message":"PATCH /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28? 200 52ms","method":"PATCH","requestID":"d6a7edb7e874f150f4fb7641891df1ea","responseTime":52,"status":200,"url":"/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ","level":"info","message":"auth send jwt","requestID":"bacf14a0505fe0b1ca285d53c4f6fce8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"bacf14a0505fe0b1ca285d53c4f6fce8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bacf14a0505fe0b1ca285d53c4f6fce8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":682,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":682,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.219101,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"bacf14a0505fe0b1ca285d53c4f6fce8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676578,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bacf14a0505fe0b1ca285d53c4f6fce8","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:56.417564202Z"}]},"request_id":"0f54c3df-231b-45ad-b2d3-374900e5e8c2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.635881} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"bacf14a0505fe0b1ca285d53c4f6fce8","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bacf14a0505fe0b1ca285d53c4f6fce8"} gateway-1 | {"time_local":"18/Sep/2024:16:22:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bacf14a0505fe0b1ca285d53c4f6fce8"} device-1 | {"level":"info","message":"GET /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28? 200 20ms","method":"GET","requestID":"bacf14a0505fe0b1ca285d53c4f6fce8","responseTime":20,"status":200,"url":"/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ","level":"info","message":"auth send jwt","requestID":"371985a02356c75f28fed88d42931a46"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"371985a02356c75f28fed88d42931a46","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"371985a02356c75f28fed88d42931a46"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":683,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":683,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.183215,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"371985a02356c75f28fed88d42931a46","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676578,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"371985a02356c75f28fed88d42931a46","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:56.459808472Z"}]},"request_id":"454584c6-8aa6-4e19-bac4-d09536a4ce29","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.6621244} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"371985a02356c75f28fed88d42931a46","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"371985a02356c75f28fed88d42931a46"} gateway-1 | {"time_local":"18/Sep/2024:16:22:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"371985a02356c75f28fed88d42931a46"} device-1 | {"level":"info","message":"GET /devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400? 200 18ms","method":"GET","requestID":"371985a02356c75f28fed88d42931a46","responseTime":18,"status":200,"url":"/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ","level":"info","message":"auth send jwt","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"41c72cd63f2b4135a6a24fe8e05102c8","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":684,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":684,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.243731,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"41c72cd63f2b4135a6a24fe8e05102c8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676578,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"41c72cd63f2b4135a6a24fe8e05102c8","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"},"level":"info","message":"Attempting to run experiment","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"},"level":"info","message":"Attempting to book experiment","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"},"level":"info","message":"Successfully booked experiment","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"44accb70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"44ad1990-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":685,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":686,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":685,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.714845,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"44accb70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676578,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"44accb70-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":686,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.132847,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"44ad1990-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676578,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"44ad1990-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:56.417564202Z"}]},"request_id":"f49427ae-3805-4569-a156-e29dd4755467","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.7396326} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"44accb70-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:56.459808472Z"}]},"request_id":"14d429a4-5e5d-4a43-b52a-9745d50495a0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.7411277} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"44ad1990-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"44accb70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28? 200 22ms","method":"GET","requestID":"44accb70-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"44ad1990-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400? 200 22ms","method":"GET","requestID":"44ad1990-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"},"level":"info","message":"Setting up experiment","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"},"level":"info","message":"Successfully locked booking for experiment","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"},"level":"info","message":"Attempting to update booking for experiment","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"},"level":"info","message":"Successfully updated booking for experiment","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"},"level":"info","message":"Successfully set up experiment","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"44b975a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"44b9c3c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":687,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"44ba6000-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":687,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.79967,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"},"level":"info","message":"Successfully running experiment","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"44b975a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676578,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"44b975a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":688,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":688,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.76156,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"44b9c3c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676578,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"44b9c3c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":689,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":689,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.115916,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c06ce23c-2e36-4505-b762-3173b0482921","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.8270292} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"44ba6000-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"44ba6000-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:56.417564202Z"}]},"request_id":"09319149-4f51-43a0-9c80-0df1dbc694be","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.829958} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:56.459808472Z"}]},"request_id":"bdad2830-25ad-4ece-a423-7650ccef1af5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.8322315} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"44b975a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"44b9c3c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"44ba6000-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28/signaling 200 26ms","method":"POST","requestID":"44ba6000-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":200,"url":"/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"44b975a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28? 200 34ms","method":"GET","requestID":"44b975a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":34,"status":200,"url":"/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"44b9c3c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400? 200 34ms","method":"GET","requestID":"44b9c3c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":34,"status":200,"url":"/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"44bef3e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":690,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"841ffdd2-3e47-4fd4-b2d2-1b815cd38084","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.8548539} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":690,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.846236,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"44c05370-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"44bef3e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"44bef3e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"44bef3e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":691,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} device-1 | {"level":"info","message":"POST /devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400/signaling 200 16ms","method":"POST","requestID":"44bef3e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb2a37454-d371-4e03-bc4e-0b8bea698ebb#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb2a37454-d371-4e03-bc4e-0b8bea698ebb","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"ddea343b-88af-41a4-92b9-154077e7ad0d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.864344} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d03876e1-c29a-4e58-a5a8-8eb14c204c27","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.8649652} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"169d5ac7-59a1-4867-803f-ea8b25dc550a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.8653302} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":691,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.860117,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"44c05370-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"44c05370-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/update 200 44ms","method":"POST","requestID":"41c72cd63f2b4135a6a24fe8e05102c8","responseTime":44,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"44c05370-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28/signaling 200 18ms","method":"POST","requestID":"44c05370-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"44c387c0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":692,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} experiment-1 | {"level":"info","message":"POST /experiments? 201 205ms","method":"POST","requestID":"41c72cd63f2b4135a6a24fe8e05102c8","responseTime":205,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1292","request_time":"0.209","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1e2e3a98-3357-49fd-b31b-8b9b34ea82f1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.8824637} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":692,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.660086,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"44c387c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"44c387c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ","level":"info","message":"auth send jwt","requestID":"e1581fbba32eac2c39921c3e7c831487"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"e1581fbba32eac2c39921c3e7c831487","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"44c387c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400/signaling 200 14ms","method":"POST","requestID":"44c387c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e1581fbba32eac2c39921c3e7c831487"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"44c61fd0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":693,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"44c66df0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":693,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.20919,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e1581fbba32eac2c39921c3e7c831487","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676578,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e1581fbba32eac2c39921c3e7c831487","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":694,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":694,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.330357,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"44c61fd0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676578,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"44c61fd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":695,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":695,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.089287,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"44c66df0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676578,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"44c66df0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:56.417564202Z"}]},"request_id":"8afac00a-cea5-4cb4-99f2-1e6665641913","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.9039764} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"e1581fbba32eac2c39921c3e7c831487","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:56.417564202Z"}]},"request_id":"43d5e2ff-8b37-48d9-af7c-e6d4da9e680c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.9069111} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"44c61fd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:56.459808472Z"}]},"request_id":"800746a1-6a0f-4962-a8a7-49cbbac3d958","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.9096954} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"44c66df0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e1581fbba32eac2c39921c3e7c831487"} gateway-1 | {"time_local":"18/Sep/2024:16:22:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.033","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e1581fbba32eac2c39921c3e7c831487"} device-1 | {"level":"info","message":"GET /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28? 200 25ms","method":"GET","requestID":"e1581fbba32eac2c39921c3e7c831487","responseTime":25,"status":200,"url":"/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"44c61fd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28? 200 25ms","method":"GET","requestID":"44c61fd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"44c66df0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400? 200 24ms","method":"GET","requestID":"44c66df0-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"},"level":"info","message":"Building connection plan","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"6b7257ff-6718-454d-a3c8-72d3935e0f96"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"cd4df419-92a6-47dc-b87a-27c7867aead3"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"e3970419-74d9-4ff7-a604-49bad376249c"}]},"level":"info","message":"Built pairwise service configurations","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ","level":"info","message":"auth send jwt","requestID":"4a9eee16530de5a28a5e92c1bc694848"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4a9eee16530de5a28a5e92c1bc694848","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"44ca8ca0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4a9eee16530de5a28a5e92c1bc694848"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":696,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":696,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.056693,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"44ca8ca0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676578,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"44ca8ca0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Received request.","req_id":697,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"client_addr":"127.0.0.1:60336","level":"info","msg":"Sent response.","req_id":697,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.914561,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4a9eee16530de5a28a5e92c1bc694848","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676578,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU3OH0.Km4T1UZDVN2xNTTJzwDJHV9IRPmxKlZEDK7kL-GrZWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4a9eee16530de5a28a5e92c1bc694848","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:22:56.459808472Z"}]},"request_id":"daa64314-aa61-4718-8900-7660c7de82e5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.9350357} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4a9eee16530de5a28a5e92c1bc694848","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4a9eee16530de5a28a5e92c1bc694848"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"313d1150-a7bf-4724-911c-2642f0838e69","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.940062} device-1 | {"level":"info","message":"GET /devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400? 200 16ms","method":"GET","requestID":"4a9eee16530de5a28a5e92c1bc694848","responseTime":16,"status":200,"url":"/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400?"} gateway-1 | {"time_local":"18/Sep/2024:16:22:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4a9eee16530de5a28a5e92c1bc694848"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"58ddfb9a-a104-456c-9166-6a1d0e0a4ac6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.940368} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"44ca8ca0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"44ca8ca0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"44ca8ca0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7'","requestID":"44ca8ca0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7'","requestID":"44ca8ca0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"44ca8ca0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 39ms","method":"POST","requestID":"44ca8ca0-75da-11ef-ba7c-09eaa4331ae1","responseTime":39,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"44ca8ca0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"41c72cd63f2b4135a6a24fe8e05102c8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"44d4c5d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":698,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"56bae203-a70f-42f9-b9a7-091d1f14e6c3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676578.9939559} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":698,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.671165,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"44d4c5d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"44d4c5d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"44d4c5d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28/signaling 200 9ms","method":"POST","requestID":"44d4c5d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"44d67380-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"device":"71ba3660-b09d-46a5-a2af-3ec5cbe97a28","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"71ba3660-b09d-46a5-a2af-3ec5cbe97a28","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":699,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:22:59Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d1111304-60d4-48e8-abf2-db37e6da29fa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676579.0056305} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":699,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.814245,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:22:59Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"44d67380-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"44d67380-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"44d67380-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400/signaling 200 12ms","method":"POST","requestID":"44d67380-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 685215449814434198 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:D+j1\r\na=ice-pwd:6c5jI/ls14xbui2TTeks2N4m\r\na=ice-options:trickle\r\na=fingerprint:sha-256 D9:28:A1:BB:61:52:29:0B:6A:15:FB:21:D2:E3:A9:50:A9:3E:1F:31:5A:26:E3:DF:3D:D4:60:31:EC:F1:62:78\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"71ba3660-b09d-46a5-a2af-3ec5cbe97a28","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"device":"71ba3660-b09d-46a5-a2af-3ec5cbe97a28","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"c6f3aa0a-275a-45d1-b336-360ca4e6c400","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"4a02d544-1ed7-4403-b441-d223d0fc18d7","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"c6f3aa0a-275a-45d1-b336-360ca4e6c400","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c6f3aa0a-275a-45d1-b336-360ca4e6c400","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c6f3aa0a-275a-45d1-b336-360ca4e6c400","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c6f3aa0a-275a-45d1-b336-360ca4e6c400","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"4a02d544-1ed7-4403-b441-d223d0fc18d7","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fd0106bfb6d6e7082be2b28f4b03b0bc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"fd0106bfb6d6e7082be2b28f4b03b0bc","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7"}}},"level":"info","message":"received a callback","requestID":"fd0106bfb6d6e7082be2b28f4b03b0bc"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 7ms","method":"POST","requestID":"fd0106bfb6d6e7082be2b28f4b03b0bc","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"fd0106bfb6d6e7082be2b28f4b03b0bc"} device-1 | {"content":{"candidate":"candidate:836855484 1 udp 2113937151 e6fc3868-1d99-4431-970d-d5f080383ccc.local 48846 typ host generation 0 ufrag D+j1 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"71ba3660-b09d-46a5-a2af-3ec5cbe97a28","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3050048707 1 udp 1677729535 141.24.211.56 48846 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag D+j1 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"71ba3660-b09d-46a5-a2af-3ec5cbe97a28","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3871454024 1 udp 33562623 141.24.210.113 53390 typ relay raddr 141.24.211.56 rport 48846 generation 0 ufrag D+j1 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"71ba3660-b09d-46a5-a2af-3ec5cbe97a28","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"71ba3660-b09d-46a5-a2af-3ec5cbe97a28","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28'"} device-1 | {"data":{"peerconnection":"4a02d544-1ed7-4403-b441-d223d0fc18d7","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28'"} device-1 | {"device":"c6f3aa0a-275a-45d1-b336-360ca4e6c400","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"71ba3660-b09d-46a5-a2af-3ec5cbe97a28","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"c6f3aa0a-275a-45d1-b336-360ca4e6c400","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"4a02d544-1ed7-4403-b441-d223d0fc18d7","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"4a02d544-1ed7-4403-b441-d223d0fc18d7","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"026ed96edf7e92cd67c343980e7e9fee","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"026ed96edf7e92cd67c343980e7e9fee","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7"}}},"level":"info","message":"received a callback","requestID":"026ed96edf7e92cd67c343980e7e9fee"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"461905a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":700,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F4a02d544-1ed7-4403-b441-d223d0fc18d7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3da99916-f933-46fe-9547-071b8eca3c0a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.1192403} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":700,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.178512,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"461905a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"461905a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"461905a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7 200 9ms","method":"GET","requestID":"461905a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 36ms","method":"POST","requestID":"026ed96edf7e92cd67c343980e7e9fee","responseTime":36,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.040","http_referrer":"","http_user_agent":"node-fetch","requestID":"026ed96edf7e92cd67c343980e7e9fee"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"461d9980-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":701,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"67a7afac-bad5-48d8-82d1-da93409c46bd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.1495209} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":701,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.361596,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"461d9980-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"461d9980-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"461d9980-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400/signaling 200 9ms","method":"POST","requestID":"461d9980-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"461f6e40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":702,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"83887b27-30b9-4703-b2cb-fd9b0eee3d55","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.1609225} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":702,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.337498,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"461f6e40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"461f6e40-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"461f6e40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28/signaling 200 9ms","method":"POST","requestID":"461f6e40-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4MX0.9mDDZtPycbIRZP13Yozde5BVN8wQ_HV6TPiqUvJzb1k","level":"info","message":"auth send jwt","requestID":"4883cbc6c655d2be6444a63bca6169b8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"4883cbc6c655d2be6444a63bca6169b8","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb","requestID":"4883cbc6c655d2be6444a63bca6169b8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":703,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":703,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.125688,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4883cbc6c655d2be6444a63bca6169b8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676581,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4MX0.9mDDZtPycbIRZP13Yozde5BVN8wQ_HV6TPiqUvJzb1k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4883cbc6c655d2be6444a63bca6169b8","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb","requestID":"4883cbc6c655d2be6444a63bca6169b8"} experiment-1 | {"level":"info","message":"GET /experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb 200 15ms","method":"GET","requestID":"4883cbc6c655d2be6444a63bca6169b8","responseTime":15,"status":200,"url":"/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"} gateway-1 | {"time_local":"18/Sep/2024:16:23:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb HTTP/1.1","status": "200","body_bytes_sent":"1365","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4883cbc6c655d2be6444a63bca6169b8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4MX0.9mDDZtPycbIRZP13Yozde5BVN8wQ_HV6TPiqUvJzb1k","level":"info","message":"auth send jwt","requestID":"57e0f87bca33b025ffeea1cc84088f9d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"57e0f87bca33b025ffeea1cc84088f9d","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb","requestID":"57e0f87bca33b025ffeea1cc84088f9d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":704,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":704,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.231721,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57e0f87bca33b025ffeea1cc84088f9d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676581,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4MX0.9mDDZtPycbIRZP13Yozde5BVN8wQ_HV6TPiqUvJzb1k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"57e0f87bca33b025ffeea1cc84088f9d","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"},"level":"info","message":"Attempting to finish experiment","requestID":"57e0f87bca33b025ffeea1cc84088f9d"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"462adff0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":705,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":705,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.317052,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"462adff0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676581,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4MX0.9mDDZtPycbIRZP13Yozde5BVN8wQ_HV6TPiqUvJzb1k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"462adff0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7","device":"71ba3660-b09d-46a5-a2af-3ec5cbe97a28","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"c6f3aa0a-275a-45d1-b336-360ca4e6c400","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c6f3aa0a-275a-45d1-b336-360ca4e6c400","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c6f3aa0a-275a-45d1-b336-360ca4e6c400","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"4a02d544-1ed7-4403-b441-d223d0fc18d7","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F4a02d544-1ed7-4403-b441-d223d0fc18d7': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F4a02d544-1ed7-4403-b441-d223d0fc18d7","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"413f7255-9cc3-4604-b8dc-5426694d1cd8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.257922} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"af3942bee149449377170191392f6485","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"31280127-0487-4c95-a9cf-b0f6d12e9b78","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.2586567} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"af3942bee149449377170191392f6485","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"462adff0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6f3ea45fafa470eae43ce66fe3f0d0d4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7"}}},"level":"info","message":"received a callback","requestID":"af3942bee149449377170191392f6485"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"6f3ea45fafa470eae43ce66fe3f0d0d4","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7"}}},"level":"info","message":"received a callback","requestID":"6f3ea45fafa470eae43ce66fe3f0d0d4"} device-1 | {"data":{"peerconnection":"4a02d544-1ed7-4403-b441-d223d0fc18d7","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"462adff0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7 204 56ms","method":"DELETE","requestID":"462adff0-75da-11ef-ba7c-09eaa4331ae1","responseTime":56,"status":204,"url":"/peerconnections/4a02d544-1ed7-4403-b441-d223d0fc18d7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"},"level":"info","message":"Successfully finished experiment","requestID":"57e0f87bca33b025ffeea1cc84088f9d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"463651a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":706,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc6f3aa0a-275a-45d1-b336-360ca4e6c400","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"81059735-3766-4b37-82c5-6a64218a5dd0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.3126216} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":706,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.481722,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"463651a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"463651a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"463651a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400/signaling 200 13ms","method":"POST","requestID":"463651a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb2a37454-d371-4e03-bc4e-0b8bea698ebb': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb2a37454-d371-4e03-bc4e-0b8bea698ebb","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"574eaa52-6006-4e2a-bcc0-82f90ebb16f8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.3205028} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"948d1d99-d0f9-4e19-afcc-1a9e3416a898","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.321016} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"57e0f87bca33b025ffeea1cc84088f9d","responseTime":17,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4638c2a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":707,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71ba3660-b09d-46a5-a2af-3ec5cbe97a28","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5686f884-8301-4770-9fee-41a146b9aa35","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.3297231} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":707,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.559607,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4638c2a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4638c2a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4638c2a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28/signaling 200 11ms","method":"POST","requestID":"4638c2a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb","requestID":"57e0f87bca33b025ffeea1cc84088f9d"} gateway-1 | {"time_local":"18/Sep/2024:16:23:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.211","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"57e0f87bca33b025ffeea1cc84088f9d"} gateway-1 | {"time_local":"18/Sep/2024:16:23:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3660","request_time":"3.933","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"f2e969df8d6742693035c2355ca26dd8"} experiment-1 | {"level":"info","message":"DELETE /experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb 204 207ms","method":"DELETE","requestID":"57e0f87bca33b025ffeea1cc84088f9d","responseTime":207,"status":204,"url":"/experiments/b2a37454-d371-4e03-bc4e-0b8bea698ebb"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 163ms","method":"POST","requestID":"af3942bee149449377170191392f6485","responseTime":163,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.169","http_referrer":"","http_user_agent":"node-fetch","requestID":"af3942bee149449377170191392f6485"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 161ms","method":"POST","requestID":"6f3ea45fafa470eae43ce66fe3f0d0d4","responseTime":161,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.170","http_referrer":"","http_user_agent":"node-fetch","requestID":"6f3ea45fafa470eae43ce66fe3f0d0d4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4MX0.9mDDZtPycbIRZP13Yozde5BVN8wQ_HV6TPiqUvJzb1k","level":"info","message":"auth send jwt","requestID":"8122e9dadeba3883a215f34ece35dabd"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"8122e9dadeba3883a215f34ece35dabd","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"8122e9dadeba3883a215f34ece35dabd"} gateway-1 | {"time_local":"18/Sep/2024:16:23:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3127","request_time":"2.921","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"628e7967f3ef19c54bd5ea77f246d70e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":708,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":708,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.996309,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8122e9dadeba3883a215f34ece35dabd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676581,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4MX0.9mDDZtPycbIRZP13Yozde5BVN8wQ_HV6TPiqUvJzb1k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8122e9dadeba3883a215f34ece35dabd","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/c6f3aa0a-275a-45d1-b336-360ca4e6c400' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"245ba5d6-7289-4da4-be9e-07421527921a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.456279} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8122e9dadeba3883a215f34ece35dabd","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/71ba3660-b09d-46a5-a2af-3ec5cbe97a28' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c330d870-1483-4473-bee3-329272267504","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.4625735} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"8122e9dadeba3883a215f34ece35dabd","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"5a0f5244-d100-4d28-97a0-6e5bd59e8a54","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.4726136} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6f1b581c-d452-424b-8b55-a50f41e949c1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.4739783} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"8122e9dadeba3883a215f34ece35dabd","responseTime":15,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:01.472588317Z"}]},"request_id":"e32cc68f-de1b-4146-bcea-1f5fef7faa8e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.4795246} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8122e9dadeba3883a215f34ece35dabd","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"8122e9dadeba3883a215f34ece35dabd"} gateway-1 | {"time_local":"18/Sep/2024:16:23:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.058","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8122e9dadeba3883a215f34ece35dabd"} device-1 | {"level":"info","message":"POST /devices? 201 50ms","method":"POST","requestID":"8122e9dadeba3883a215f34ece35dabd","responseTime":50,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4MX0.9mDDZtPycbIRZP13Yozde5BVN8wQ_HV6TPiqUvJzb1k","level":"info","message":"auth send jwt","requestID":"5a3a1488128eb76eb01dcca008ae16aa"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5a3a1488128eb76eb01dcca008ae16aa","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"5a3a1488128eb76eb01dcca008ae16aa"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":709,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":709,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.726352,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:01Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5a3a1488128eb76eb01dcca008ae16aa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676581,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4MX0.9mDDZtPycbIRZP13Yozde5BVN8wQ_HV6TPiqUvJzb1k"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5a3a1488128eb76eb01dcca008ae16aa","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"028c6bad-dcf3-4e3a-b80d-6d63102f9f94","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.5251386} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5a3a1488128eb76eb01dcca008ae16aa","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c4674259-297d-43ca-9a8c-1ce3bc0c807e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.5313363} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"5a3a1488128eb76eb01dcca008ae16aa","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"8f6e1e8f-91ff-4f2e-ade5-30775a7abf6c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.5446744} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f979cb37-5039-4f6f-9384-6fa6ac4f948c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.5449126} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"5a3a1488128eb76eb01dcca008ae16aa","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:01.544644981Z"}]},"request_id":"c1c5b5ca-d949-4e86-891e-c91038544a6a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676581.55084} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5a3a1488128eb76eb01dcca008ae16aa","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"5a3a1488128eb76eb01dcca008ae16aa"} device-1 | {"level":"info","message":"POST /devices? 201 67ms","method":"POST","requestID":"5a3a1488128eb76eb01dcca008ae16aa","responseTime":67,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.072","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5a3a1488128eb76eb01dcca008ae16aa"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4Mn0.XnpEoNlic5AIUIzzcQDRwn2ijS2Kv3kogtO5vmWKHa4","level":"info","message":"auth send jwt","requestID":"b7dbdb7caaa1a6bf5eb5ec08541962b8"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"b7dbdb7caaa1a6bf5eb5ec08541962b8","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"b7dbdb7caaa1a6bf5eb5ec08541962b8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":710,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:02Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":710,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.235085,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:02Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b7dbdb7caaa1a6bf5eb5ec08541962b8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676582,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4Mn0.XnpEoNlic5AIUIzzcQDRwn2ijS2Kv3kogtO5vmWKHa4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b7dbdb7caaa1a6bf5eb5ec08541962b8","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:01.544644981Z"}]},"request_id":"787ab29f-f276-4d4e-b89a-c8d8579fb6da","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676582.043017} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b7dbdb7caaa1a6bf5eb5ec08541962b8","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3df63052-a6ee-4e35-9b13-807b829769f9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676582.0494993} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"b7dbdb7caaa1a6bf5eb5ec08541962b8","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:01.544644981Z"}]},"request_id":"61045996-3e59-4edb-a885-cb3e5b1710fe","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676582.0647821} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b7dbdb7caaa1a6bf5eb5ec08541962b8","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"b7dbdb7caaa1a6bf5eb5ec08541962b8"} gateway-1 | {"time_local":"18/Sep/2024:16:23:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/021f5c0a-7304-418e-a5e0-c402dcff53e9 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.043","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"b7dbdb7caaa1a6bf5eb5ec08541962b8"} device-1 | {"level":"info","message":"PATCH /devices/021f5c0a-7304-418e-a5e0-c402dcff53e9 200 37ms","method":"PATCH","requestID":"b7dbdb7caaa1a6bf5eb5ec08541962b8","responseTime":37,"status":200,"url":"/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4Mn0.XnpEoNlic5AIUIzzcQDRwn2ijS2Kv3kogtO5vmWKHa4","level":"info","message":"auth send jwt","requestID":"aa1c4591af1836bfd97a6771da869ac5"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"aa1c4591af1836bfd97a6771da869ac5","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"aa1c4591af1836bfd97a6771da869ac5"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":711,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:02Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":711,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.285113,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:02Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"aa1c4591af1836bfd97a6771da869ac5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676582,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4Mn0.XnpEoNlic5AIUIzzcQDRwn2ijS2Kv3kogtO5vmWKHa4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"aa1c4591af1836bfd97a6771da869ac5","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"aa1c4591af1836bfd97a6771da869ac5"} gateway-1 | {"time_local":"18/Sep/2024:16:23:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/021f5c0a-7304-418e-a5e0-c402dcff53e9/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"aa1c4591af1836bfd97a6771da869ac5"} device-1 | {"level":"info","message":"POST /devices/021f5c0a-7304-418e-a5e0-c402dcff53e9/websocket 200 20ms","method":"POST","requestID":"aa1c4591af1836bfd97a6771da869ac5","responseTime":20,"status":200,"url":"/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"defac586b34b888aa04a5dd34e3a6be0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"defac586b34b888aa04a5dd34e3a6be0","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/202ab1ef-110e-4b98-ba09-b3263c6db168/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"defac586b34b888aa04a5dd34e3a6be0"} device-1 | {"level":"info","message":"OPTIONS /devices/202ab1ef-110e-4b98-ba09-b3263c6db168/websocket 200 1ms","method":"OPTIONS","requestID":"defac586b34b888aa04a5dd34e3a6be0","responseTime":1,"status":200,"url":"/devices/202ab1ef-110e-4b98-ba09-b3263c6db168/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0","level":"info","message":"auth send jwt","requestID":"9bd05ffa51ef6b0f0dca66295f8e36f0"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9bd05ffa51ef6b0f0dca66295f8e36f0","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"9bd05ffa51ef6b0f0dca66295f8e36f0"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":712,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":712,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.340893,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9bd05ffa51ef6b0f0dca66295f8e36f0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676583,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9bd05ffa51ef6b0f0dca66295f8e36f0","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"9bd05ffa51ef6b0f0dca66295f8e36f0"} device-1 | {"level":"info","message":"POST /devices/202ab1ef-110e-4b98-ba09-b3263c6db168/websocket 200 20ms","method":"POST","requestID":"9bd05ffa51ef6b0f0dca66295f8e36f0","responseTime":20,"status":200,"url":"/devices/202ab1ef-110e-4b98-ba09-b3263c6db168/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:23:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/202ab1ef-110e-4b98-ba09-b3263c6db168/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"9bd05ffa51ef6b0f0dca66295f8e36f0"} device-1 | {"level":"info","message":"device 'http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5109db5e2220f85ee6e0199982905a37","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"5109db5e2220f85ee6e0199982905a37","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"OPTIONS /devices/202ab1ef-110e-4b98-ba09-b3263c6db168? 200 1ms","method":"OPTIONS","requestID":"5109db5e2220f85ee6e0199982905a37","responseTime":1,"status":200,"url":"/devices/202ab1ef-110e-4b98-ba09-b3263c6db168?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/202ab1ef-110e-4b98-ba09-b3263c6db168? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"5109db5e2220f85ee6e0199982905a37"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0","level":"info","message":"auth send jwt","requestID":"48fe94d02a92d96806ff340dc1f9a3ae"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"48fe94d02a92d96806ff340dc1f9a3ae","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"48fe94d02a92d96806ff340dc1f9a3ae"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":713,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":713,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.231043,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"48fe94d02a92d96806ff340dc1f9a3ae","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676583,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"48fe94d02a92d96806ff340dc1f9a3ae","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:01.472588317Z"}]},"request_id":"07af180a-be17-4859-8644-09811e84b37c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.672139} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"48fe94d02a92d96806ff340dc1f9a3ae","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"79a2c0fb-2323-4589-9e31-9e71729b0b22","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.681677} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"48fe94d02a92d96806ff340dc1f9a3ae","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:01.472588317Z"}]},"request_id":"3d2eaee8-c754-4ba8-ba0b-7af3913fbd9f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.6948135} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"48fe94d02a92d96806ff340dc1f9a3ae","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"48fe94d02a92d96806ff340dc1f9a3ae"} gateway-1 | {"time_local":"18/Sep/2024:16:23:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/202ab1ef-110e-4b98-ba09-b3263c6db168? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.048","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"48fe94d02a92d96806ff340dc1f9a3ae"} device-1 | {"level":"info","message":"PATCH /devices/202ab1ef-110e-4b98-ba09-b3263c6db168? 200 41ms","method":"PATCH","requestID":"48fe94d02a92d96806ff340dc1f9a3ae","responseTime":41,"status":200,"url":"/devices/202ab1ef-110e-4b98-ba09-b3263c6db168?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0","level":"info","message":"auth send jwt","requestID":"238467b2df7292d6841d3ba433bbe1a3"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"238467b2df7292d6841d3ba433bbe1a3","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"238467b2df7292d6841d3ba433bbe1a3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":714,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":714,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.662929,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"238467b2df7292d6841d3ba433bbe1a3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676583,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"238467b2df7292d6841d3ba433bbe1a3","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:01.472588317Z"}]},"request_id":"c917c082-af24-40e6-81ad-2ab9c6678c9f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.7304335} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"238467b2df7292d6841d3ba433bbe1a3","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"238467b2df7292d6841d3ba433bbe1a3"} gateway-1 | {"time_local":"18/Sep/2024:16:23:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/202ab1ef-110e-4b98-ba09-b3263c6db168? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.027","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"238467b2df7292d6841d3ba433bbe1a3"} device-1 | {"level":"info","message":"GET /devices/202ab1ef-110e-4b98-ba09-b3263c6db168? 200 19ms","method":"GET","requestID":"238467b2df7292d6841d3ba433bbe1a3","responseTime":19,"status":200,"url":"/devices/202ab1ef-110e-4b98-ba09-b3263c6db168?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0","level":"info","message":"auth send jwt","requestID":"eb9eb6e5c773baa08f38681933e3a9c8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"eb9eb6e5c773baa08f38681933e3a9c8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"eb9eb6e5c773baa08f38681933e3a9c8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":715,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":715,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.113058,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"eb9eb6e5c773baa08f38681933e3a9c8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676583,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"eb9eb6e5c773baa08f38681933e3a9c8","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:01.544644981Z"}]},"request_id":"355ffae3-2d41-41d7-bb5e-f72132bf07b7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.7569954} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"eb9eb6e5c773baa08f38681933e3a9c8","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"eb9eb6e5c773baa08f38681933e3a9c8"} gateway-1 | {"time_local":"18/Sep/2024:16:23:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/021f5c0a-7304-418e-a5e0-c402dcff53e9? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"eb9eb6e5c773baa08f38681933e3a9c8"} device-1 | {"level":"info","message":"GET /devices/021f5c0a-7304-418e-a5e0-c402dcff53e9? 200 18ms","method":"GET","requestID":"eb9eb6e5c773baa08f38681933e3a9c8","responseTime":18,"status":200,"url":"/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0","level":"info","message":"auth send jwt","requestID":"2ab10043efe7382da34021879f506f5e"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"2ab10043efe7382da34021879f506f5e","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"2ab10043efe7382da34021879f506f5e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":716,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":716,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.249271,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2ab10043efe7382da34021879f506f5e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676583,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2ab10043efe7382da34021879f506f5e","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"},"level":"info","message":"Attempting to run experiment","requestID":"2ab10043efe7382da34021879f506f5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"},"level":"info","message":"Attempting to book experiment","requestID":"2ab10043efe7382da34021879f506f5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"},"level":"info","message":"Successfully booked experiment","requestID":"2ab10043efe7382da34021879f506f5e"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"47b55080-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"47b59ea0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":717,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":717,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.644456,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"47b55080-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676583,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"47b55080-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:38576","level":"info","msg":"Received request.","req_id":718,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"client_addr":"127.0.0.1:38576","level":"info","msg":"Sent response.","req_id":718,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.314768,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"47b59ea0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676583,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"47b59ea0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:01.472588317Z"}]},"request_id":"aeeed78f-12e8-4816-bd05-4bbbf4b080b6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.8293405} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"47b55080-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:01.544644981Z"}]},"request_id":"e1c55d64-ec4c-4619-ab25-ad98b914aeba","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.836416} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"47b55080-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"47b59ea0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/202ab1ef-110e-4b98-ba09-b3263c6db168? 200 22ms","method":"GET","requestID":"47b55080-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/202ab1ef-110e-4b98-ba09-b3263c6db168?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"47b59ea0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/021f5c0a-7304-418e-a5e0-c402dcff53e9? 200 25ms","method":"GET","requestID":"47b59ea0-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"},"level":"info","message":"Setting up experiment","requestID":"2ab10043efe7382da34021879f506f5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"2ab10043efe7382da34021879f506f5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"},"level":"info","message":"Successfully locked booking for experiment","requestID":"2ab10043efe7382da34021879f506f5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"2ab10043efe7382da34021879f506f5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"2ab10043efe7382da34021879f506f5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"},"level":"info","message":"Attempting to update booking for experiment","requestID":"2ab10043efe7382da34021879f506f5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"},"level":"info","message":"Successfully updated booking for experiment","requestID":"2ab10043efe7382da34021879f506f5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"},"level":"info","message":"Successfully set up experiment","requestID":"2ab10043efe7382da34021879f506f5e"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"47c1fab0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"47c248d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"47c296f0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"},"level":"info","message":"Successfully running experiment","requestID":"2ab10043efe7382da34021879f506f5e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":719,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":719,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.670705,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"47c1fab0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676583,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"47c1fab0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:38576","level":"info","msg":"Received request.","req_id":720,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"client_addr":"127.0.0.1:38576","level":"info","msg":"Sent response.","req_id":720,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.92238,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"47c248d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676583,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"47c248d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":721,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"62f8765d-a591-42b6-8b3f-fc6ed0edf0bb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.9091947} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":721,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.696369,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"47c296f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"47c296f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:01.472588317Z"}]},"request_id":"59545ede-3612-4929-926b-06a07821dcf5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.9114842} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"47c1fab0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:01.544644981Z"}]},"request_id":"03e26956-83f8-47cd-90de-7663543483cd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.9140265} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"47c248d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"47c296f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/202ab1ef-110e-4b98-ba09-b3263c6db168/signaling 200 13ms","method":"POST","requestID":"47c296f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/202ab1ef-110e-4b98-ba09-b3263c6db168/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"47c507f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"47c1fab0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/202ab1ef-110e-4b98-ba09-b3263c6db168? 200 23ms","method":"GET","requestID":"47c1fab0-75da-11ef-ba7c-09eaa4331ae1","responseTime":23,"status":200,"url":"/devices/202ab1ef-110e-4b98-ba09-b3263c6db168?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":722,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"69f493d1-550a-4434-bd16-a4cdbf0ad2f8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.9241817} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F28a78a69-18fc-4230-9eef-635e029cbccc#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F28a78a69-18fc-4230-9eef-635e029cbccc","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"f9381309-fdbb-4160-92ed-b738e537214e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.9248185} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":722,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.953364,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:03Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"47c248d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"47c507f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"level":"info","message":"GET /devices/021f5c0a-7304-418e-a5e0-c402dcff53e9? 200 25ms","method":"GET","requestID":"47c248d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9?"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"47c507f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5efe94fb-85f5-460f-abfa-259c10a87842","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.9251761} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"2ab10043efe7382da34021879f506f5e","responseTime":22,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"47c6b5a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"47c507f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/021f5c0a-7304-418e-a5e0-c402dcff53e9/signaling 200 15ms","method":"POST","requestID":"47c507f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":723,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:03Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"2ab10043efe7382da34021879f506f5e"} gateway-1 | {"time_local":"18/Sep/2024:16:23:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1292","request_time":"0.173","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2ab10043efe7382da34021879f506f5e"} experiment-1 | {"level":"info","message":"POST /experiments? 201 163ms","method":"POST","requestID":"2ab10043efe7382da34021879f506f5e","responseTime":163,"status":201,"url":"/experiments?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"05b886b6-1d6d-420d-b79e-f216cdc69cc3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.937273} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":723,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.830444,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"47c6b5a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"47c6b5a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0","level":"info","message":"auth send jwt","requestID":"f87d24c1b81bae7f3af0f1930b397f29"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f87d24c1b81bae7f3af0f1930b397f29","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"47c6b5a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/202ab1ef-110e-4b98-ba09-b3263c6db168/signaling 200 14ms","method":"POST","requestID":"47c6b5a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/202ab1ef-110e-4b98-ba09-b3263c6db168/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f87d24c1b81bae7f3af0f1930b397f29"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"47c974c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":724,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":724,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.696567,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f87d24c1b81bae7f3af0f1930b397f29","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676583,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f87d24c1b81bae7f3af0f1930b397f29","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":725,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"31b26299-c9cd-4c7b-92bd-eb2d62826d69","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.9533284} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":725,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.497534,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"47c974c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"47c974c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:01.472588317Z"}]},"request_id":"824da6da-e584-4d32-b984-71bf13176d9f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.9582345} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"47c974c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/021f5c0a-7304-418e-a5e0-c402dcff53e9/signaling 200 11ms","method":"POST","requestID":"47c974c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f87d24c1b81bae7f3af0f1930b397f29","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"2ab10043efe7382da34021879f506f5e"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"47cb4980-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"47cb7090-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f87d24c1b81bae7f3af0f1930b397f29"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":726,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"client_addr":"127.0.0.1:38576","level":"info","msg":"Received request.","req_id":727,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":726,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.92087,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:03Z"} gateway-1 | {"time_local":"18/Sep/2024:16:23:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/202ab1ef-110e-4b98-ba09-b3263c6db168? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f87d24c1b81bae7f3af0f1930b397f29"} device-1 | {"level":"info","message":"GET /devices/202ab1ef-110e-4b98-ba09-b3263c6db168? 200 19ms","method":"GET","requestID":"f87d24c1b81bae7f3af0f1930b397f29","responseTime":19,"status":200,"url":"/devices/202ab1ef-110e-4b98-ba09-b3263c6db168?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"47cb4980-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676583,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"47cb4980-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:38576","level":"info","msg":"Sent response.","req_id":727,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.887629,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"47cb7090-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676583,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"47cb7090-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:01.472588317Z"}]},"request_id":"136fd6cf-522c-40f7-a67d-bfa91e8ef516","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.9677985} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0","level":"info","message":"auth send jwt","requestID":"3e05ee80cee1e31963da89d0f65287cd"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"47cb4980-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3e05ee80cee1e31963da89d0f65287cd","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:01.544644981Z"}]},"request_id":"8da56833-b3aa-4647-b4ae-9ada7c6e0aff","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.9687376} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"47cb7090-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3e05ee80cee1e31963da89d0f65287cd"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":728,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:03Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"47cb4980-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/202ab1ef-110e-4b98-ba09-b3263c6db168? 200 14ms","method":"GET","requestID":"47cb4980-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/202ab1ef-110e-4b98-ba09-b3263c6db168?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"47cb7090-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/021f5c0a-7304-418e-a5e0-c402dcff53e9? 200 14ms","method":"GET","requestID":"47cb7090-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":728,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.750773,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:03Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"},"level":"info","message":"Building connection plan","requestID":"2ab10043efe7382da34021879f506f5e"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"0ebb809a-e04c-4fcd-b1a4-7f3854cac8fc"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"a002afdc-8cfc-4ff0-bbe1-0544ef1a96e5"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"65f6af1f-eee2-4af6-95a7-eaa26720677c"}]},"level":"info","message":"Built pairwise service configurations","requestID":"2ab10043efe7382da34021879f506f5e"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"2ab10043efe7382da34021879f506f5e"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3e05ee80cee1e31963da89d0f65287cd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676583,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3e05ee80cee1e31963da89d0f65287cd","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"47cde190-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":729,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":729,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.639418,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:03Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"47cde190-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676583,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4M30.B-WwQkz04wkESriTyNGg6M3M1LgeI9GRLVcF-z5Nct0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"47cde190-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:01.544644981Z"}]},"request_id":"1522af5a-8af1-4c3d-ac6e-dac6a58f071e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.9814947} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3e05ee80cee1e31963da89d0f65287cd","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3e05ee80cee1e31963da89d0f65287cd"} gateway-1 | {"time_local":"18/Sep/2024:16:23:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/021f5c0a-7304-418e-a5e0-c402dcff53e9? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3e05ee80cee1e31963da89d0f65287cd"} device-1 | {"level":"info","message":"GET /devices/021f5c0a-7304-418e-a5e0-c402dcff53e9? 200 14ms","method":"GET","requestID":"3e05ee80cee1e31963da89d0f65287cd","responseTime":14,"status":200,"url":"/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"8e00f9bf-b292-46f6-bc50-93816b6f29aa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.9901958} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6244bd97-87ad-4e59-89f9-c4ccc73fbc9e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676583.9903853} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"47cde190-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"47cde190-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"47cde190-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5'","requestID":"47cde190-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5'","requestID":"47cde190-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"47cde190-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 27ms","method":"POST","requestID":"47cde190-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"47cde190-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"2ab10043efe7382da34021879f506f5e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"47d5f7e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":730,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:04Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b05c1b35-3a2b-426e-93f3-213d75657745","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676584.034838} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":730,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.311471,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"47d5f7e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"47d5f7e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"47d5f7e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/202ab1ef-110e-4b98-ba09-b3263c6db168/signaling 200 8ms","method":"POST","requestID":"47d5f7e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/202ab1ef-110e-4b98-ba09-b3263c6db168/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"47d77e80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"device":"202ab1ef-110e-4b98-ba09-b3263c6db168","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"202ab1ef-110e-4b98-ba09-b3263c6db168","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":731,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:04Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5829e5dc-89b1-4ec4-b7fc-ad33136efe9d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676584.0458798} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":731,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.107328,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"47d77e80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"47d77e80-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"47d77e80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/021f5c0a-7304-418e-a5e0-c402dcff53e9/signaling 200 10ms","method":"POST","requestID":"47d77e80-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9/signaling"} device-1 | {"device":"021f5c0a-7304-418e-a5e0-c402dcff53e9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 37781351625649424 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:CBPK\r\na=ice-pwd:UEaSJV3PTSYUFlxgJDL1fWcB\r\na=ice-options:trickle\r\na=fingerprint:sha-256 49:55:81:02:CE:96:EC:79:7A:4F:5E:66:89:FE:DB:91:D1:96:91:9E:C3:BB:CD:56:96:41:FD:19:06:10:2E:0B\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"202ab1ef-110e-4b98-ba09-b3263c6db168","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"device":"202ab1ef-110e-4b98-ba09-b3263c6db168","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:489636970 1 udp 2113937151 36730eab-ac18-42c2-92c9-5950fbb44506.local 51800 typ host generation 0 ufrag CBPK network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"202ab1ef-110e-4b98-ba09-b3263c6db168","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2382685561 1 udp 1677729535 141.24.211.56 51800 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag CBPK network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"202ab1ef-110e-4b98-ba09-b3263c6db168","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"021f5c0a-7304-418e-a5e0-c402dcff53e9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"021f5c0a-7304-418e-a5e0-c402dcff53e9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"021f5c0a-7304-418e-a5e0-c402dcff53e9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b894c43f1db6bc9f48cf7f6fd1849cda","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} device-1 | {"device":"202ab1ef-110e-4b98-ba09-b3263c6db168","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b894c43f1db6bc9f48cf7f6fd1849cda","responseTime":1,"status":200,"url":"/auth"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168'"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5"}}},"level":"info","message":"received a callback","requestID":"b894c43f1db6bc9f48cf7f6fd1849cda"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 7ms","method":"POST","requestID":"b894c43f1db6bc9f48cf7f6fd1849cda","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.010","http_referrer":"","http_user_agent":"node-fetch","requestID":"b894c43f1db6bc9f48cf7f6fd1849cda"} device-1 | {"data":{"peerconnection":"d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"021f5c0a-7304-418e-a5e0-c402dcff53e9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"202ab1ef-110e-4b98-ba09-b3263c6db168","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"021f5c0a-7304-418e-a5e0-c402dcff53e9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"202ab1ef-110e-4b98-ba09-b3263c6db168","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5a95fdb48f387a4d66a988c678b4f78a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5"}}},"level":"info","message":"received a callback","requestID":"5a95fdb48f387a4d66a988c678b4f78a"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"5a95fdb48f387a4d66a988c678b4f78a","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"491d6c00-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":732,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"10cf423a-315f-480a-a6a5-5764aee1c882","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.1827264} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":732,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.803814,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"491d6c00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"491d6c00-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"491d6c00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5 200 14ms","method":"GET","requestID":"491d6c00-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 43ms","method":"POST","requestID":"5a95fdb48f387a4d66a988c678b4f78a","responseTime":43,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch","requestID":"5a95fdb48f387a4d66a988c678b4f78a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4922c330-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":733,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3b60b784-ab49-4282-9070-83fb1837d589","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.218262} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":733,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.123743,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4922c330-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"4922c330-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4922c330-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/202ab1ef-110e-4b98-ba09-b3263c6db168/signaling 200 12ms","method":"POST","requestID":"4922c330-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/202ab1ef-110e-4b98-ba09-b3263c6db168/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"49250d20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":734,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9dd11576-6301-478a-9e76-81cce236daa8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.2320342} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":734,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.121268,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"49250d20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"49250d20-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"49250d20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/021f5c0a-7304-418e-a5e0-c402dcff53e9/signaling 200 10ms","method":"POST","requestID":"49250d20-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4Nn0.5l3RZ2PSZXLtYUAPeCKWichqOEyYZ0WmWKejpRaEvCY","level":"info","message":"auth send jwt","requestID":"39bb2e405e55acf3a6c1a47ac59d1879"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"39bb2e405e55acf3a6c1a47ac59d1879","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/28a78a69-18fc-4230-9eef-635e029cbccc","requestID":"39bb2e405e55acf3a6c1a47ac59d1879"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":735,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":735,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.152044,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"39bb2e405e55acf3a6c1a47ac59d1879","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676586,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4Nn0.5l3RZ2PSZXLtYUAPeCKWichqOEyYZ0WmWKejpRaEvCY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"39bb2e405e55acf3a6c1a47ac59d1879","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/28a78a69-18fc-4230-9eef-635e029cbccc","requestID":"39bb2e405e55acf3a6c1a47ac59d1879"} gateway-1 | {"time_local":"18/Sep/2024:16:23:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/28a78a69-18fc-4230-9eef-635e029cbccc HTTP/1.1","status": "200","body_bytes_sent":"1365","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"39bb2e405e55acf3a6c1a47ac59d1879"} experiment-1 | {"level":"info","message":"GET /experiments/28a78a69-18fc-4230-9eef-635e029cbccc 200 15ms","method":"GET","requestID":"39bb2e405e55acf3a6c1a47ac59d1879","responseTime":15,"status":200,"url":"/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4Nn0.5l3RZ2PSZXLtYUAPeCKWichqOEyYZ0WmWKejpRaEvCY","level":"info","message":"auth send jwt","requestID":"157b1e719917f8815c7ff2cafeeda169"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"157b1e719917f8815c7ff2cafeeda169","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/28a78a69-18fc-4230-9eef-635e029cbccc","requestID":"157b1e719917f8815c7ff2cafeeda169"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":736,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":736,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.704065,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"157b1e719917f8815c7ff2cafeeda169","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676586,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4Nn0.5l3RZ2PSZXLtYUAPeCKWichqOEyYZ0WmWKejpRaEvCY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"157b1e719917f8815c7ff2cafeeda169","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"},"level":"info","message":"Attempting to finish experiment","requestID":"157b1e719917f8815c7ff2cafeeda169"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"49319040-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":737,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":737,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.209821,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"49319040-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676586,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4Nn0.5l3RZ2PSZXLtYUAPeCKWichqOEyYZ0WmWKejpRaEvCY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"49319040-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5","device":"202ab1ef-110e-4b98-ba09-b3263c6db168","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"021f5c0a-7304-418e-a5e0-c402dcff53e9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"021f5c0a-7304-418e-a5e0-c402dcff53e9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"021f5c0a-7304-418e-a5e0-c402dcff53e9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"1cc7c956-9542-4425-b740-f11cea265a10","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.333787} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7f542daf-6d70-4520-b6b7-3a70f5d68134","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.3345556} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fff647271a494dc2cfa2abb76f8f1556","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"49319040-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"fff647271a494dc2cfa2abb76f8f1556","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1523e9698a64ed26d30990a6ee25f2d8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5"}}},"level":"info","message":"received a callback","requestID":"fff647271a494dc2cfa2abb76f8f1556"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"1523e9698a64ed26d30990a6ee25f2d8","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5"}}},"level":"info","message":"received a callback","requestID":"1523e9698a64ed26d30990a6ee25f2d8"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"49319040-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5 204 50ms","method":"DELETE","requestID":"49319040-75da-11ef-ba7c-09eaa4331ae1","responseTime":50,"status":204,"url":"/peerconnections/d40181ab-ec3e-4ff8-ba3b-6c14a6c3a8a5"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"},"level":"info","message":"Successfully finished experiment","requestID":"157b1e719917f8815c7ff2cafeeda169"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"493cdae0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":738,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F202ab1ef-110e-4b98-ba09-b3263c6db168","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c83382df-6652-4a35-b641-cfd6703bcb7b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.3895092} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":738,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.639635,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"493cdae0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"493cdae0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"493cdae0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/202ab1ef-110e-4b98-ba09-b3263c6db168/signaling 200 14ms","method":"POST","requestID":"493cdae0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/202ab1ef-110e-4b98-ba09-b3263c6db168/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F28a78a69-18fc-4230-9eef-635e029cbccc': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F28a78a69-18fc-4230-9eef-635e029cbccc","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"432a6b61-612d-495e-9da4-852b5db050ae","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.4000185} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"493f9a00-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"271e16c3-b8be-4d0a-830d-d9932e8bfd99","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.4002283} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"157b1e719917f8815c7ff2cafeeda169","responseTime":25,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":739,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F021f5c0a-7304-418e-a5e0-c402dcff53e9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3afb05c5-524e-4515-bd4b-baf5817ed37e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.4100308} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":739,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.810146,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"493f9a00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"493f9a00-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"493f9a00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/021f5c0a-7304-418e-a5e0-c402dcff53e9/signaling 200 18ms","method":"POST","requestID":"493f9a00-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/28a78a69-18fc-4230-9eef-635e029cbccc","requestID":"157b1e719917f8815c7ff2cafeeda169"} gateway-1 | {"time_local":"18/Sep/2024:16:23:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/28a78a69-18fc-4230-9eef-635e029cbccc HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.184","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"157b1e719917f8815c7ff2cafeeda169"} experiment-1 | {"level":"info","message":"DELETE /experiments/28a78a69-18fc-4230-9eef-635e029cbccc 204 180ms","method":"DELETE","requestID":"157b1e719917f8815c7ff2cafeeda169","responseTime":180,"status":204,"url":"/experiments/28a78a69-18fc-4230-9eef-635e029cbccc"} gateway-1 | {"time_local":"18/Sep/2024:16:23:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3266","request_time":"4.374","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"53030b9f8f52765f66b6ccee381694c8"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 134ms","method":"POST","requestID":"fff647271a494dc2cfa2abb76f8f1556","responseTime":134,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.140","http_referrer":"","http_user_agent":"node-fetch","requestID":"fff647271a494dc2cfa2abb76f8f1556"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 133ms","method":"POST","requestID":"1523e9698a64ed26d30990a6ee25f2d8","responseTime":133,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.141","http_referrer":"","http_user_agent":"node-fetch","requestID":"1523e9698a64ed26d30990a6ee25f2d8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4Nn0.5l3RZ2PSZXLtYUAPeCKWichqOEyYZ0WmWKejpRaEvCY","level":"info","message":"auth send jwt","requestID":"9f3b200658425b5be566e7112a23f7f5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9f3b200658425b5be566e7112a23f7f5","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"9f3b200658425b5be566e7112a23f7f5"} gateway-1 | {"time_local":"18/Sep/2024:16:23:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3132","request_time":"2.873","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"7d07fefad9bb2877eb838757010b2fa7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":740,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":740,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.930384,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9f3b200658425b5be566e7112a23f7f5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676586,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4Nn0.5l3RZ2PSZXLtYUAPeCKWichqOEyYZ0WmWKejpRaEvCY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9f3b200658425b5be566e7112a23f7f5","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/021f5c0a-7304-418e-a5e0-c402dcff53e9' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"7d14c1b0-baf7-452d-abb7-93efbdea9145","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.5040333} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9f3b200658425b5be566e7112a23f7f5","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/202ab1ef-110e-4b98-ba09-b3263c6db168' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"38c1213c-ca24-4a60-b69d-e2ecf80bfc18","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.5100868} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"9f3b200658425b5be566e7112a23f7f5","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"1632dcd4-9dbc-439a-a747-fbd04260b131","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.5218437} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"331cc128-b870-4290-b2f5-f398fc980f0f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.5219295} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"9f3b200658425b5be566e7112a23f7f5","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:06.521816604Z"}]},"request_id":"2cf79a04-006e-4d2c-b09e-2db8f69526b0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.5265932} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9f3b200658425b5be566e7112a23f7f5","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9f3b200658425b5be566e7112a23f7f5"} gateway-1 | {"time_local":"18/Sep/2024:16:23:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.056","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9f3b200658425b5be566e7112a23f7f5"} device-1 | {"level":"info","message":"POST /devices? 201 50ms","method":"POST","requestID":"9f3b200658425b5be566e7112a23f7f5","responseTime":50,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4Nn0.5l3RZ2PSZXLtYUAPeCKWichqOEyYZ0WmWKejpRaEvCY","level":"info","message":"auth send jwt","requestID":"58964092d7b0f2d1fe41854905c218f6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"58964092d7b0f2d1fe41854905c218f6","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"58964092d7b0f2d1fe41854905c218f6"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":741,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":741,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.734233,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:06Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"58964092d7b0f2d1fe41854905c218f6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676586,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4Nn0.5l3RZ2PSZXLtYUAPeCKWichqOEyYZ0WmWKejpRaEvCY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"58964092d7b0f2d1fe41854905c218f6","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"eff166f9-4194-4096-98f5-adeb4860a230","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.55778} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"58964092d7b0f2d1fe41854905c218f6","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9fa4e379-9ea3-4e40-856c-71c994627a80","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.562728} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"58964092d7b0f2d1fe41854905c218f6","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"4991cf3c-c3e1-47af-8a95-7f6d8e435941","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.5745513} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"16ac3723-5376-40a2-9016-e3c3ffeefd32","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.5747461} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"58964092d7b0f2d1fe41854905c218f6","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:06.574518932Z"}]},"request_id":"a47d0cfd-8ad1-4f32-97e8-515d537a035e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676586.5786405} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"58964092d7b0f2d1fe41854905c218f6","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"58964092d7b0f2d1fe41854905c218f6"} gateway-1 | {"time_local":"18/Sep/2024:16:23:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"58964092d7b0f2d1fe41854905c218f6"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"58964092d7b0f2d1fe41854905c218f6","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4N30.uaAZs5PKbXz1vAEVSvs9lYMrvYamC_rhqegAROXhzIY","level":"info","message":"auth send jwt","requestID":"a334b2515a39ebf2de750cf8c0cfa21b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a334b2515a39ebf2de750cf8c0cfa21b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"a334b2515a39ebf2de750cf8c0cfa21b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":742,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:07Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":742,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.830154,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:07Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a334b2515a39ebf2de750cf8c0cfa21b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676587,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4N30.uaAZs5PKbXz1vAEVSvs9lYMrvYamC_rhqegAROXhzIY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a334b2515a39ebf2de750cf8c0cfa21b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:06.521816604Z"}]},"request_id":"6cb07837-ac87-41f1-9dfa-9b0dc1aa3b19","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676587.0744424} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a334b2515a39ebf2de750cf8c0cfa21b","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1007cffa-474f-4b2b-b625-8b819fd3e50a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676587.082268} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"a334b2515a39ebf2de750cf8c0cfa21b","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:06.521816604Z"}]},"request_id":"28b41c4c-d02f-4940-9766-418f4573a8f6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676587.0967157} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a334b2515a39ebf2de750cf8c0cfa21b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"a334b2515a39ebf2de750cf8c0cfa21b"} device-1 | {"level":"info","message":"PATCH /devices/c8f96745-35af-4190-a658-d7333e6a6ad5 200 40ms","method":"PATCH","requestID":"a334b2515a39ebf2de750cf8c0cfa21b","responseTime":40,"status":200,"url":"/devices/c8f96745-35af-4190-a658-d7333e6a6ad5"} gateway-1 | {"time_local":"18/Sep/2024:16:23:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c8f96745-35af-4190-a658-d7333e6a6ad5 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.045","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"a334b2515a39ebf2de750cf8c0cfa21b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4N30.uaAZs5PKbXz1vAEVSvs9lYMrvYamC_rhqegAROXhzIY","level":"info","message":"auth send jwt","requestID":"554b5ec88a8e12b82b58a5fa37132175"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"554b5ec88a8e12b82b58a5fa37132175","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"554b5ec88a8e12b82b58a5fa37132175"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":743,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:07Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":743,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.254471,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:07Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"554b5ec88a8e12b82b58a5fa37132175","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676587,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4N30.uaAZs5PKbXz1vAEVSvs9lYMrvYamC_rhqegAROXhzIY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"554b5ec88a8e12b82b58a5fa37132175","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"554b5ec88a8e12b82b58a5fa37132175"} device-1 | {"level":"info","message":"POST /devices/c8f96745-35af-4190-a658-d7333e6a6ad5/websocket 200 23ms","method":"POST","requestID":"554b5ec88a8e12b82b58a5fa37132175","responseTime":23,"status":200,"url":"/devices/c8f96745-35af-4190-a658-d7333e6a6ad5/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:23:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c8f96745-35af-4190-a658-d7333e6a6ad5/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.028","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"554b5ec88a8e12b82b58a5fa37132175"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"343d252247b0399a8c404c8a2a63d32e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"343d252247b0399a8c404c8a2a63d32e","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/6ee6b49d-af97-415e-8b33-6ac402893252/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"343d252247b0399a8c404c8a2a63d32e"} device-1 | {"level":"info","message":"OPTIONS /devices/6ee6b49d-af97-415e-8b33-6ac402893252/websocket 200 1ms","method":"OPTIONS","requestID":"343d252247b0399a8c404c8a2a63d32e","responseTime":1,"status":200,"url":"/devices/6ee6b49d-af97-415e-8b33-6ac402893252/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU","level":"info","message":"auth send jwt","requestID":"4d457b01bd21f1790df042a87b9120e3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"4d457b01bd21f1790df042a87b9120e3","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"4d457b01bd21f1790df042a87b9120e3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":744,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":744,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.221334,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4d457b01bd21f1790df042a87b9120e3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676588,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4d457b01bd21f1790df042a87b9120e3","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"4d457b01bd21f1790df042a87b9120e3"} gateway-1 | {"time_local":"18/Sep/2024:16:23:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/6ee6b49d-af97-415e-8b33-6ac402893252/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.030","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4d457b01bd21f1790df042a87b9120e3"} device-1 | {"level":"info","message":"POST /devices/6ee6b49d-af97-415e-8b33-6ac402893252/websocket 200 23ms","method":"POST","requestID":"4d457b01bd21f1790df042a87b9120e3","responseTime":23,"status":200,"url":"/devices/6ee6b49d-af97-415e-8b33-6ac402893252/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"19ea53718833df1297893827f934918f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"19ea53718833df1297893827f934918f","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/6ee6b49d-af97-415e-8b33-6ac402893252? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"19ea53718833df1297893827f934918f"} device-1 | {"level":"info","message":"OPTIONS /devices/6ee6b49d-af97-415e-8b33-6ac402893252? 200 1ms","method":"OPTIONS","requestID":"19ea53718833df1297893827f934918f","responseTime":1,"status":200,"url":"/devices/6ee6b49d-af97-415e-8b33-6ac402893252?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU","level":"info","message":"auth send jwt","requestID":"e388377c08d25d62683456d4467ea0f3"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e388377c08d25d62683456d4467ea0f3","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e388377c08d25d62683456d4467ea0f3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":745,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":745,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.992235,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e388377c08d25d62683456d4467ea0f3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676588,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e388377c08d25d62683456d4467ea0f3","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:06.574518932Z"}]},"request_id":"c8bbd262-d13f-42ae-8ad4-43593ce1b09d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676588.7139966} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e388377c08d25d62683456d4467ea0f3","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6ee018a2-a994-4ad1-8e69-b282a9769377","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676588.7217607} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"e388377c08d25d62683456d4467ea0f3","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:06.574518932Z"}]},"request_id":"97daf1ac-fb9e-485e-8c06-9238ffe1374b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676588.7355154} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e388377c08d25d62683456d4467ea0f3","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e388377c08d25d62683456d4467ea0f3"} device-1 | {"level":"info","message":"PATCH /devices/6ee6b49d-af97-415e-8b33-6ac402893252? 200 39ms","method":"PATCH","requestID":"e388377c08d25d62683456d4467ea0f3","responseTime":39,"status":200,"url":"/devices/6ee6b49d-af97-415e-8b33-6ac402893252?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/6ee6b49d-af97-415e-8b33-6ac402893252? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.044","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e388377c08d25d62683456d4467ea0f3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU","level":"info","message":"auth send jwt","requestID":"9cff8ec14747a9ebdd164a574fb6e2cd"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"9cff8ec14747a9ebdd164a574fb6e2cd","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9cff8ec14747a9ebdd164a574fb6e2cd"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":746,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":746,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.191256,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9cff8ec14747a9ebdd164a574fb6e2cd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676588,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9cff8ec14747a9ebdd164a574fb6e2cd","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:06.521816604Z"}]},"request_id":"5399d282-21fe-4fd8-9948-b6eb534b7b92","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676588.7656612} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9cff8ec14747a9ebdd164a574fb6e2cd","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9cff8ec14747a9ebdd164a574fb6e2cd"} gateway-1 | {"time_local":"18/Sep/2024:16:23:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c8f96745-35af-4190-a658-d7333e6a6ad5? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9cff8ec14747a9ebdd164a574fb6e2cd"} device-1 | {"level":"info","message":"GET /devices/c8f96745-35af-4190-a658-d7333e6a6ad5? 200 17ms","method":"GET","requestID":"9cff8ec14747a9ebdd164a574fb6e2cd","responseTime":17,"status":200,"url":"/devices/c8f96745-35af-4190-a658-d7333e6a6ad5?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU","level":"info","message":"auth send jwt","requestID":"dd9118910901da3ad07c66ec811aa3a9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"dd9118910901da3ad07c66ec811aa3a9","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dd9118910901da3ad07c66ec811aa3a9"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":747,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":747,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.436248,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"dd9118910901da3ad07c66ec811aa3a9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676588,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"dd9118910901da3ad07c66ec811aa3a9","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:06.574518932Z"}]},"request_id":"3dafe0c7-2ee2-4179-99d8-89dda34faa97","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676588.789297} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"dd9118910901da3ad07c66ec811aa3a9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dd9118910901da3ad07c66ec811aa3a9"} gateway-1 | {"time_local":"18/Sep/2024:16:23:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6ee6b49d-af97-415e-8b33-6ac402893252? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dd9118910901da3ad07c66ec811aa3a9"} device-1 | {"level":"info","message":"GET /devices/6ee6b49d-af97-415e-8b33-6ac402893252? 200 17ms","method":"GET","requestID":"dd9118910901da3ad07c66ec811aa3a9","responseTime":17,"status":200,"url":"/devices/6ee6b49d-af97-415e-8b33-6ac402893252?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU","level":"info","message":"auth send jwt","requestID":"682aa4c1f682323e023c05a79f018c61"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"682aa4c1f682323e023c05a79f018c61","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"682aa4c1f682323e023c05a79f018c61"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":748,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":748,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.844271,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"682aa4c1f682323e023c05a79f018c61","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676588,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"682aa4c1f682323e023c05a79f018c61","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"},"level":"info","message":"Attempting to run experiment","requestID":"682aa4c1f682323e023c05a79f018c61"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"},"level":"info","message":"Attempting to book experiment","requestID":"682aa4c1f682323e023c05a79f018c61"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"},"level":"info","message":"Successfully booked experiment","requestID":"682aa4c1f682323e023c05a79f018c61"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4ab4d4e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4ab52300-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":749,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":749,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.886428,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4ab4d4e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676588,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4ab4d4e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:38590","level":"info","msg":"Received request.","req_id":750,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"client_addr":"127.0.0.1:38590","level":"info","msg":"Sent response.","req_id":750,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.09995,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4ab52300-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676588,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4ab52300-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:06.521816604Z"}]},"request_id":"b8733895-c4d8-4d08-8b9d-d5b365d38b82","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676588.854188} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4ab4d4e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:06.574518932Z"}]},"request_id":"3583708b-0666-4cf7-81e1-aec4f0246b2b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676588.8576446} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4ab4d4e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"4ab52300-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/c8f96745-35af-4190-a658-d7333e6a6ad5? 200 12ms","method":"GET","requestID":"4ab4d4e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/c8f96745-35af-4190-a658-d7333e6a6ad5?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4ab52300-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/6ee6b49d-af97-415e-8b33-6ac402893252? 200 15ms","method":"GET","requestID":"4ab52300-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/6ee6b49d-af97-415e-8b33-6ac402893252?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"},"level":"info","message":"Setting up experiment","requestID":"682aa4c1f682323e023c05a79f018c61"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"682aa4c1f682323e023c05a79f018c61"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"},"level":"info","message":"Successfully locked booking for experiment","requestID":"682aa4c1f682323e023c05a79f018c61"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"682aa4c1f682323e023c05a79f018c61"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"682aa4c1f682323e023c05a79f018c61"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"},"level":"info","message":"Attempting to update booking for experiment","requestID":"682aa4c1f682323e023c05a79f018c61"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"},"level":"info","message":"Successfully updated booking for experiment","requestID":"682aa4c1f682323e023c05a79f018c61"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"},"level":"info","message":"Successfully set up experiment","requestID":"682aa4c1f682323e023c05a79f018c61"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4ac06da0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4ac0bbc0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":751,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":751,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.127709,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"client_addr":"127.0.0.1:38590","level":"info","msg":"Received request.","req_id":752,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4ac06da0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676588,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"},"level":"info","message":"Successfully running experiment","requestID":"682aa4c1f682323e023c05a79f018c61"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4ac06da0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4ac1a620-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:38590","level":"info","msg":"Sent response.","req_id":752,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.050394,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4ac0bbc0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676588,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4ac0bbc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":753,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ec09340c-15d0-4684-a66f-126dbd8307f4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676588.9383318} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:06.521816604Z"}]},"request_id":"0edf0134-b4ee-4e55-8a7a-fbdf3c087305","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676588.9395094} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:06.574518932Z"}]},"request_id":"20179b61-d461-468c-a6db-dbd4c4adeeb1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676588.9411626} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":753,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.957956,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4ac1a620-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"4ac1a620-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"4ac06da0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"4ac0bbc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fae241f7c-22e5-45e2-a3d9-a30e83857957#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fae241f7c-22e5-45e2-a3d9-a30e83857957","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"7388323b-ad67-402c-a286-24482827712d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676588.9501612} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4ac1a620-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6ee6b49d-af97-415e-8b33-6ac402893252/signaling 200 21ms","method":"POST","requestID":"4ac1a620-75da-11ef-ba7c-09eaa4331ae1","responseTime":21,"status":200,"url":"/devices/6ee6b49d-af97-415e-8b33-6ac402893252/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"00f4c356-3b15-44f2-8cbb-4009b12d1c8a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676588.9504747} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4ac06da0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/c8f96745-35af-4190-a658-d7333e6a6ad5? 200 31ms","method":"GET","requestID":"4ac06da0-75da-11ef-ba7c-09eaa4331ae1","responseTime":31,"status":200,"url":"/devices/c8f96745-35af-4190-a658-d7333e6a6ad5?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"682aa4c1f682323e023c05a79f018c61","responseTime":21,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4ac0bbc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/6ee6b49d-af97-415e-8b33-6ac402893252? 200 30ms","method":"GET","requestID":"4ac0bbc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":30,"status":200,"url":"/devices/6ee6b49d-af97-415e-8b33-6ac402893252?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4ac6af30-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"682aa4c1f682323e023c05a79f018c61"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":754,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:08Z"} gateway-1 | {"time_local":"18/Sep/2024:16:23:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1292","request_time":"0.172","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"682aa4c1f682323e023c05a79f018c61"} experiment-1 | {"level":"info","message":"POST /experiments? 201 165ms","method":"POST","requestID":"682aa4c1f682323e023c05a79f018c61","responseTime":166,"status":201,"url":"/experiments?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"81ba23d3-e6ed-4f1f-ba79-f44773cd93db","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676588.9709907} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":754,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.364042,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4ac6af30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"4ac6af30-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU","level":"info","message":"auth send jwt","requestID":"6e5786f041e9df62a00a67ff5aa0c7a2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6e5786f041e9df62a00a67ff5aa0c7a2","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6e5786f041e9df62a00a67ff5aa0c7a2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4ac6af30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c8f96745-35af-4190-a658-d7333e6a6ad5/signaling 200 18ms","method":"POST","requestID":"4ac6af30-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/c8f96745-35af-4190-a658-d7333e6a6ad5/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":755,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":755,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.435802,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6e5786f041e9df62a00a67ff5aa0c7a2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676588,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6e5786f041e9df62a00a67ff5aa0c7a2","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4ac9e380-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":756,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:06.521816604Z"}]},"request_id":"170098a9-7c00-4127-98b2-576e3c94e8b9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676588.9903228} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bfb73c9b-fc8f-4414-a289-a9d9ec10a3a1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676588.9903996} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6e5786f041e9df62a00a67ff5aa0c7a2","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":756,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.882577,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4ac9e380-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"4ac9e380-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6e5786f041e9df62a00a67ff5aa0c7a2"} gateway-1 | {"time_local":"18/Sep/2024:16:23:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c8f96745-35af-4190-a658-d7333e6a6ad5? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.027","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6e5786f041e9df62a00a67ff5aa0c7a2"} device-1 | {"level":"info","message":"GET /devices/c8f96745-35af-4190-a658-d7333e6a6ad5? 200 22ms","method":"GET","requestID":"6e5786f041e9df62a00a67ff5aa0c7a2","responseTime":22,"status":200,"url":"/devices/c8f96745-35af-4190-a658-d7333e6a6ad5?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4ac9e380-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6ee6b49d-af97-415e-8b33-6ac402893252/signaling 200 15ms","method":"POST","requestID":"4ac9e380-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/6ee6b49d-af97-415e-8b33-6ac402893252/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"682aa4c1f682323e023c05a79f018c61"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4acca2a0-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OX0.kweqENQnubZ2STsDcE_z4-Pq5_4LGf7D61ud3n1o17M","level":"info","message":"auth send jwt","requestID":"8289974ee0de9f3ba211a0b753fd6af3"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8289974ee0de9f3ba211a0b753fd6af3","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4accf0c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8289974ee0de9f3ba211a0b753fd6af3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":757,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:09Z"} authorization-1 | {"client_addr":"127.0.0.1:38590","level":"info","msg":"Received request.","req_id":758,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":757,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.145247,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4acca2a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676588,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4acca2a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:38590","level":"info","msg":"Sent response.","req_id":758,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.968513,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4accf0c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676588,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4accf0c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":759,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":759,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.874893,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8289974ee0de9f3ba211a0b753fd6af3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676589,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OX0.kweqENQnubZ2STsDcE_z4-Pq5_4LGf7D61ud3n1o17M"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8289974ee0de9f3ba211a0b753fd6af3","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:06.521816604Z"}]},"request_id":"ab2ad5a6-5f7b-4742-8dcc-9fbf0515a03e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676589.0123658} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"4acca2a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:06.574518932Z"}]},"request_id":"f032c330-f22b-4459-b2d0-d427a0684da4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676589.0148513} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4accf0c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:06.574518932Z"}]},"request_id":"8ab76995-35cd-4cd2-a3f3-dcba0c44194d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676589.0169058} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"8289974ee0de9f3ba211a0b753fd6af3","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4acca2a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/c8f96745-35af-4190-a658-d7333e6a6ad5? 200 17ms","method":"GET","requestID":"4acca2a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/c8f96745-35af-4190-a658-d7333e6a6ad5?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4accf0c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/6ee6b49d-af97-415e-8b33-6ac402893252? 200 18ms","method":"GET","requestID":"4accf0c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/6ee6b49d-af97-415e-8b33-6ac402893252?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8289974ee0de9f3ba211a0b753fd6af3"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"},"level":"info","message":"Building connection plan","requestID":"682aa4c1f682323e023c05a79f018c61"} gateway-1 | {"time_local":"18/Sep/2024:16:23:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6ee6b49d-af97-415e-8b33-6ac402893252? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8289974ee0de9f3ba211a0b753fd6af3"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"aee6a1ca-f6dc-4700-a64c-c7e466711b9a"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"ab447fc0-7ff0-4047-b887-4b0dc3074c5f"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"671c5377-677b-43de-9802-4905b9df8f69"}]},"level":"info","message":"Built pairwise service configurations","requestID":"682aa4c1f682323e023c05a79f018c61"} device-1 | {"level":"info","message":"GET /devices/6ee6b49d-af97-415e-8b33-6ac402893252? 200 18ms","method":"GET","requestID":"8289974ee0de9f3ba211a0b753fd6af3","responseTime":18,"status":200,"url":"/devices/6ee6b49d-af97-415e-8b33-6ac402893252?"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"682aa4c1f682323e023c05a79f018c61"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"4acffe00-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":760,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:09Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":760,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.133919,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:09Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4acffe00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676588,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU4OH0.COGzVpuqxfC6LbW4iA2ZbsTNjsA-h3gSi-rvvAbYdIU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4acffe00-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"139f9880-a3c2-4148-a619-b4a552fdbe56","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676589.0396028} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1aa47547-c8b2-4182-95d5-ce3627711483","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676589.0401073} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"4acffe00-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"4acffe00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"4acffe00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/54992ebb-b093-424b-be13-2397024bcdd6'","requestID":"4acffe00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/54992ebb-b093-424b-be13-2397024bcdd6'","requestID":"4acffe00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"4acffe00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 31ms","method":"POST","requestID":"4acffe00-75da-11ef-ba7c-09eaa4331ae1","responseTime":31,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"4acffe00-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"682aa4c1f682323e023c05a79f018c61"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4ad99af0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":761,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:09Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"20717d01-baa0-447d-b3fe-2a081612ddfb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676589.09182} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":761,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.26847,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4ad99af0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4ad99af0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4ad99af0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c8f96745-35af-4190-a658-d7333e6a6ad5/signaling 200 9ms","method":"POST","requestID":"4ad99af0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/c8f96745-35af-4190-a658-d7333e6a6ad5/signaling"} device-1 | {"device":"6ee6b49d-af97-415e-8b33-6ac402893252","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"6ee6b49d-af97-415e-8b33-6ac402893252","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4adb6fb0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":762,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:09Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a109fa6c-589b-4f7e-94c9-20691012ff7d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676589.1032946} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":762,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.058435,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4adb6fb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4adb6fb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4adb6fb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6ee6b49d-af97-415e-8b33-6ac402893252/signaling 200 8ms","method":"POST","requestID":"4adb6fb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/6ee6b49d-af97-415e-8b33-6ac402893252/signaling"} device-1 | {"device":"c8f96745-35af-4190-a658-d7333e6a6ad5","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"54992ebb-b093-424b-be13-2397024bcdd6","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 6575099808559313615 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:yPUO\r\na=ice-pwd:AMEw8esN1yp+p2I8E7HVrj3t\r\na=ice-options:trickle\r\na=fingerprint:sha-256 A6:84:FD:4B:AC:07:C9:F8:9D:A0:A8:BF:27:05:8F:B6:9C:F3:C6:1D:56:30:AF:DA:F9:A6:FD:A1:6A:43:16:2D\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"6ee6b49d-af97-415e-8b33-6ac402893252","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:2059407448 1 udp 2113937151 8401ef64-88f6-4bcd-85cc-08f38d64a9cf.local 48493 typ host generation 0 ufrag yPUO network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"6ee6b49d-af97-415e-8b33-6ac402893252","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"6ee6b49d-af97-415e-8b33-6ac402893252","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:3924537675 1 udp 1677729535 141.24.211.56 48493 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag yPUO network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"6ee6b49d-af97-415e-8b33-6ac402893252","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/54992ebb-b093-424b-be13-2397024bcdd6' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"54992ebb-b093-424b-be13-2397024bcdd6","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"c8f96745-35af-4190-a658-d7333e6a6ad5","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c8f96745-35af-4190-a658-d7333e6a6ad5","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c8f96745-35af-4190-a658-d7333e6a6ad5","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fe20d51510e86fa17cd66f7d6d19ee8e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} device-1 | {"device":"6ee6b49d-af97-415e-8b33-6ac402893252","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252'"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"fe20d51510e86fa17cd66f7d6d19ee8e","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/54992ebb-b093-424b-be13-2397024bcdd6"}}},"level":"info","message":"received a callback","requestID":"fe20d51510e86fa17cd66f7d6d19ee8e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 4ms","method":"POST","requestID":"fe20d51510e86fa17cd66f7d6d19ee8e","responseTime":4,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.007","http_referrer":"","http_user_agent":"node-fetch","requestID":"fe20d51510e86fa17cd66f7d6d19ee8e"} device-1 | {"data":{"peerconnection":"54992ebb-b093-424b-be13-2397024bcdd6","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"c8f96745-35af-4190-a658-d7333e6a6ad5","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"6ee6b49d-af97-415e-8b33-6ac402893252","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"c8f96745-35af-4190-a658-d7333e6a6ad5","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"54992ebb-b093-424b-be13-2397024bcdd6","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"6ee6b49d-af97-415e-8b33-6ac402893252","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/54992ebb-b093-424b-be13-2397024bcdd6' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"54992ebb-b093-424b-be13-2397024bcdd6","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"364189a03fbf799fbc4e058c1bc555c9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"364189a03fbf799fbc4e058c1bc555c9","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/54992ebb-b093-424b-be13-2397024bcdd6"}}},"level":"info","message":"received a callback","requestID":"364189a03fbf799fbc4e058c1bc555c9"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"4c17e750-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":763,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F54992ebb-b093-424b-be13-2397024bcdd6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d54d5b23-04e2-4cf1-a39e-221bd2dac1a3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.1792037} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":763,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.971763,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/54992ebb-b093-424b-be13-2397024bcdd6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4c17e750-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/54992ebb-b093-424b-be13-2397024bcdd6","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4c17e750-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"4c17e750-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/54992ebb-b093-424b-be13-2397024bcdd6 200 10ms","method":"GET","requestID":"4c17e750-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/peerconnections/54992ebb-b093-424b-be13-2397024bcdd6"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 38ms","method":"POST","requestID":"364189a03fbf799fbc4e058c1bc555c9","responseTime":38,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.043","http_referrer":"","http_user_agent":"node-fetch","requestID":"364189a03fbf799fbc4e058c1bc555c9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4c1d1770-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":764,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6a27072b-63b6-4323-9062-54c7b3a0a4a6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.2129452} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":764,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.480013,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4c1d1770-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4c1d1770-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4c1d1770-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6ee6b49d-af97-415e-8b33-6ac402893252/signaling 200 12ms","method":"POST","requestID":"4c1d1770-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/6ee6b49d-af97-415e-8b33-6ac402893252/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4c1f8870-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":765,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d3399eca-626c-49bb-8010-ef50c544ac39","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.2299762} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":765,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.71451,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4c1f8870-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"4c1f8870-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4c1f8870-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c8f96745-35af-4190-a658-d7333e6a6ad5/signaling 200 14ms","method":"POST","requestID":"4c1f8870-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/c8f96745-35af-4190-a658-d7333e6a6ad5/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5MX0.lxtQYh9PncK_VIQk11UE5e5fU8d7zwRoDk7S5Zzkdpc","level":"info","message":"auth send jwt","requestID":"80fc43526b5f46f7abf94e8c4b64639f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"80fc43526b5f46f7abf94e8c4b64639f","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957","requestID":"80fc43526b5f46f7abf94e8c4b64639f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":766,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":766,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.666246,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"80fc43526b5f46f7abf94e8c4b64639f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676591,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5MX0.lxtQYh9PncK_VIQk11UE5e5fU8d7zwRoDk7S5Zzkdpc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"80fc43526b5f46f7abf94e8c4b64639f","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957","requestID":"80fc43526b5f46f7abf94e8c4b64639f"} gateway-1 | {"time_local":"18/Sep/2024:16:23:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957 HTTP/1.1","status": "200","body_bytes_sent":"1365","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"80fc43526b5f46f7abf94e8c4b64639f"} experiment-1 | {"level":"info","message":"GET /experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957 200 17ms","method":"GET","requestID":"80fc43526b5f46f7abf94e8c4b64639f","responseTime":17,"status":200,"url":"/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5MX0.lxtQYh9PncK_VIQk11UE5e5fU8d7zwRoDk7S5Zzkdpc","level":"info","message":"auth send jwt","requestID":"cfd6d73f6ec738be0b40d2c9a739c479"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"cfd6d73f6ec738be0b40d2c9a739c479","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957","requestID":"cfd6d73f6ec738be0b40d2c9a739c479"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":767,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":767,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.558712,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"cfd6d73f6ec738be0b40d2c9a739c479","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676591,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5MX0.lxtQYh9PncK_VIQk11UE5e5fU8d7zwRoDk7S5Zzkdpc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"cfd6d73f6ec738be0b40d2c9a739c479","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"},"level":"info","message":"Attempting to finish experiment","requestID":"cfd6d73f6ec738be0b40d2c9a739c479"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"4c2ccee0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":768,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":768,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.225633,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/54992ebb-b093-424b-be13-2397024bcdd6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4c2ccee0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/54992ebb-b093-424b-be13-2397024bcdd6","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676591,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5MX0.lxtQYh9PncK_VIQk11UE5e5fU8d7zwRoDk7S5Zzkdpc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4c2ccee0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/54992ebb-b093-424b-be13-2397024bcdd6","device":"6ee6b49d-af97-415e-8b33-6ac402893252","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"c8f96745-35af-4190-a658-d7333e6a6ad5","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c8f96745-35af-4190-a658-d7333e6a6ad5","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c8f96745-35af-4190-a658-d7333e6a6ad5","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/54992ebb-b093-424b-be13-2397024bcdd6' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/54992ebb-b093-424b-be13-2397024bcdd6' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"54992ebb-b093-424b-be13-2397024bcdd6","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b333fa145c73cfb88263855dc52224c3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"b333fa145c73cfb88263855dc52224c3","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3bf44bbeb7cf8232485fa0a60129e074","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/54992ebb-b093-424b-be13-2397024bcdd6"}}},"level":"info","message":"received a callback","requestID":"b333fa145c73cfb88263855dc52224c3"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"3bf44bbeb7cf8232485fa0a60129e074","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/54992ebb-b093-424b-be13-2397024bcdd6"}}},"level":"info","message":"received a callback","requestID":"3bf44bbeb7cf8232485fa0a60129e074"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F54992ebb-b093-424b-be13-2397024bcdd6': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F54992ebb-b093-424b-be13-2397024bcdd6","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"3d94edc4-21b5-4810-83f9-320d9911d259","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.3464768} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"57870312-a631-499e-9646-789a709106e8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.347301} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"4c2ccee0-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"54992ebb-b093-424b-be13-2397024bcdd6","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"4c2ccee0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/54992ebb-b093-424b-be13-2397024bcdd6 204 55ms","method":"DELETE","requestID":"4c2ccee0-75da-11ef-ba7c-09eaa4331ae1","responseTime":55,"status":204,"url":"/peerconnections/54992ebb-b093-424b-be13-2397024bcdd6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"},"level":"info","message":"Successfully finished experiment","requestID":"cfd6d73f6ec738be0b40d2c9a739c479"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4c38b5c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":769,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6ee6b49d-af97-415e-8b33-6ac402893252","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"01b7cbf1-f5e8-459d-896a-ad3fd6955e05","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.3949142} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":769,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.729027,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4c38b5c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"4c38b5c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4c38b5c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6ee6b49d-af97-415e-8b33-6ac402893252/signaling 200 15ms","method":"POST","requestID":"4c38b5c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/6ee6b49d-af97-415e-8b33-6ac402893252/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fae241f7c-22e5-45e2-a3d9-a30e83857957': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fae241f7c-22e5-45e2-a3d9-a30e83857957","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"4f5b5d01-31a7-4481-8aed-e6cdf2911272","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.4061396} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4c3b9bf0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b358ca9a-fb3a-4cd6-8c2f-95b6dc1781de","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.4066603} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"cfd6d73f6ec738be0b40d2c9a739c479","responseTime":22,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":770,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc8f96745-35af-4190-a658-d7333e6a6ad5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d6aacb75-81c2-49f1-8599-c13bcdf0f5b6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.4141593} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":770,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.748767,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4c3b9bf0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"4c3b9bf0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4c3b9bf0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c8f96745-35af-4190-a658-d7333e6a6ad5/signaling 200 14ms","method":"POST","requestID":"4c3b9bf0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/c8f96745-35af-4190-a658-d7333e6a6ad5/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957","requestID":"cfd6d73f6ec738be0b40d2c9a739c479"} gateway-1 | {"time_local":"18/Sep/2024:16:23:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.186","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cfd6d73f6ec738be0b40d2c9a739c479"} gateway-1 | {"time_local":"18/Sep/2024:16:23:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3154","request_time":"4.344","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"572f72b8e661d7077d69fcdfc9d92d51"} experiment-1 | {"level":"info","message":"DELETE /experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957 204 182ms","method":"DELETE","requestID":"cfd6d73f6ec738be0b40d2c9a739c479","responseTime":182,"status":204,"url":"/experiments/ae241f7c-22e5-45e2-a3d9-a30e83857957"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 137ms","method":"POST","requestID":"b333fa145c73cfb88263855dc52224c3","responseTime":137,"status":200,"url":"/callbacks/experiment"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 135ms","method":"POST","requestID":"3bf44bbeb7cf8232485fa0a60129e074","responseTime":135,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.141","http_referrer":"","http_user_agent":"node-fetch","requestID":"b333fa145c73cfb88263855dc52224c3"} gateway-1 | {"time_local":"18/Sep/2024:16:23:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.142","http_referrer":"","http_user_agent":"node-fetch","requestID":"3bf44bbeb7cf8232485fa0a60129e074"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5MX0.lxtQYh9PncK_VIQk11UE5e5fU8d7zwRoDk7S5Zzkdpc","level":"info","message":"auth send jwt","requestID":"02dea114401928747f13016965ccfe82"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"02dea114401928747f13016965ccfe82","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"02dea114401928747f13016965ccfe82"} gateway-1 | {"time_local":"18/Sep/2024:16:23:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3130","request_time":"2.831","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"0e973b6e5e67142cc9ea6f1b5955047f"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/c8f96745-35af-4190-a658-d7333e6a6ad5' closed"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":771,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":771,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.024908,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"02dea114401928747f13016965ccfe82","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676591,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5MX0.lxtQYh9PncK_VIQk11UE5e5fU8d7zwRoDk7S5Zzkdpc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"02dea114401928747f13016965ccfe82","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/6ee6b49d-af97-415e-8b33-6ac402893252' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"c97a4ff5-b3db-4455-8da8-054b78d3762a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.5102906} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"02dea114401928747f13016965ccfe82","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d95e113b-0836-462a-ba6f-27d441777a3c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.5164356} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"02dea114401928747f13016965ccfe82","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"407ffba0-7b69-4c2a-92f7-124c13a4ddc4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.5315018} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"33a6d5e1-df7f-4855-8154-d9eefeb068e5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.5315776} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"02dea114401928747f13016965ccfe82","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:11.531467973Z"}]},"request_id":"89d22635-0324-415a-9f2c-72cd66b1927c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.5357423} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"02dea114401928747f13016965ccfe82","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"02dea114401928747f13016965ccfe82"} device-1 | {"level":"info","message":"POST /devices? 201 53ms","method":"POST","requestID":"02dea114401928747f13016965ccfe82","responseTime":53,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.062","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"02dea114401928747f13016965ccfe82"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5MX0.lxtQYh9PncK_VIQk11UE5e5fU8d7zwRoDk7S5Zzkdpc","level":"info","message":"auth send jwt","requestID":"2269b9163c85f06dc287cf24fd38598a"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"2269b9163c85f06dc287cf24fd38598a","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"2269b9163c85f06dc287cf24fd38598a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":772,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":772,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.661833,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:11Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2269b9163c85f06dc287cf24fd38598a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676591,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5MX0.lxtQYh9PncK_VIQk11UE5e5fU8d7zwRoDk7S5Zzkdpc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2269b9163c85f06dc287cf24fd38598a","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"3cafb351-4f7f-49ea-8d3b-f3886eb0ecb7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.5595055} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2269b9163c85f06dc287cf24fd38598a","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c783e9bd-6def-42e4-b59c-678dda66afb5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.5640826} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"2269b9163c85f06dc287cf24fd38598a","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"5ab63c25-c38b-4feb-b370-c3e81e3790b0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.5748045} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"002101e1-b3e5-4345-a215-d98365c37bf7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.5749135} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"2269b9163c85f06dc287cf24fd38598a","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:11.574766697Z"}]},"request_id":"44928a81-2391-444a-9434-5e1c673f0f37","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676591.579482} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2269b9163c85f06dc287cf24fd38598a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"2269b9163c85f06dc287cf24fd38598a"} gateway-1 | {"time_local":"18/Sep/2024:16:23:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.042","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2269b9163c85f06dc287cf24fd38598a"} device-1 | {"level":"info","message":"POST /devices? 201 38ms","method":"POST","requestID":"2269b9163c85f06dc287cf24fd38598a","responseTime":38,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Mn0.bcYH9qmaQ3N-Iig2p1eqBd2ay4W3Rlb7TTz5iJ10Wnk","level":"info","message":"auth send jwt","requestID":"53293e44dd216e77d0b97a1e88b8d185"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"53293e44dd216e77d0b97a1e88b8d185","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"53293e44dd216e77d0b97a1e88b8d185"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":773,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":773,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.270163,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:12Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"53293e44dd216e77d0b97a1e88b8d185","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676592,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Mn0.bcYH9qmaQ3N-Iig2p1eqBd2ay4W3Rlb7TTz5iJ10Wnk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"53293e44dd216e77d0b97a1e88b8d185","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:11.531467973Z"}]},"request_id":"bc4ea2b8-24fd-4530-8c99-9e35edff9c31","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676592.0698032} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"53293e44dd216e77d0b97a1e88b8d185","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6b526c5e-4ed5-4cb8-93f6-81d75f4905b3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676592.0760727} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"53293e44dd216e77d0b97a1e88b8d185","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:11.531467973Z"}]},"request_id":"3bd7f67b-b1d7-4e34-bd1b-b8105dd97226","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676592.089772} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"53293e44dd216e77d0b97a1e88b8d185","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"53293e44dd216e77d0b97a1e88b8d185"} device-1 | {"level":"info","message":"PATCH /devices/7a3023d0-cd15-48ce-a1d4-763c515983df 200 36ms","method":"PATCH","requestID":"53293e44dd216e77d0b97a1e88b8d185","responseTime":36,"status":200,"url":"/devices/7a3023d0-cd15-48ce-a1d4-763c515983df"} gateway-1 | {"time_local":"18/Sep/2024:16:23:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/7a3023d0-cd15-48ce-a1d4-763c515983df HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.041","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"53293e44dd216e77d0b97a1e88b8d185"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Mn0.bcYH9qmaQ3N-Iig2p1eqBd2ay4W3Rlb7TTz5iJ10Wnk","level":"info","message":"auth send jwt","requestID":"94caad78e196fc11e38de7f691a8ca34"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"94caad78e196fc11e38de7f691a8ca34","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"94caad78e196fc11e38de7f691a8ca34"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":774,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:12Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":774,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.239048,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:12Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"94caad78e196fc11e38de7f691a8ca34","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676592,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Mn0.bcYH9qmaQ3N-Iig2p1eqBd2ay4W3Rlb7TTz5iJ10Wnk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"94caad78e196fc11e38de7f691a8ca34","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"94caad78e196fc11e38de7f691a8ca34"} device-1 | {"level":"info","message":"POST /devices/7a3023d0-cd15-48ce-a1d4-763c515983df/websocket 200 18ms","method":"POST","requestID":"94caad78e196fc11e38de7f691a8ca34","responseTime":18,"status":200,"url":"/devices/7a3023d0-cd15-48ce-a1d4-763c515983df/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:23:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/7a3023d0-cd15-48ce-a1d4-763c515983df/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.023","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"94caad78e196fc11e38de7f691a8ca34"} device-1 | {"level":"info","message":"device 'http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8f9ff491e133a84b14606cf1f2897c6c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"8f9ff491e133a84b14606cf1f2897c6c","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"8f9ff491e133a84b14606cf1f2897c6c"} device-1 | {"level":"info","message":"OPTIONS /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7/websocket 200 1ms","method":"OPTIONS","requestID":"8f9ff491e133a84b14606cf1f2897c6c","responseTime":1,"status":200,"url":"/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw","level":"info","message":"auth send jwt","requestID":"7711432c09b5b9b5b24d133b1b7e15fb"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"7711432c09b5b9b5b24d133b1b7e15fb","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"7711432c09b5b9b5b24d133b1b7e15fb"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":775,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":775,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.231684,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7711432c09b5b9b5b24d133b1b7e15fb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676593,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7711432c09b5b9b5b24d133b1b7e15fb","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"7711432c09b5b9b5b24d133b1b7e15fb"} gateway-1 | {"time_local":"18/Sep/2024:16:23:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.031","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"7711432c09b5b9b5b24d133b1b7e15fb"} device-1 | {"level":"info","message":"POST /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7/websocket 200 24ms","method":"POST","requestID":"7711432c09b5b9b5b24d133b1b7e15fb","responseTime":24,"status":200,"url":"/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6eab3494ce27f685a5fecce95b8e9f5d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"6eab3494ce27f685a5fecce95b8e9f5d","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"6eab3494ce27f685a5fecce95b8e9f5d"} device-1 | {"level":"info","message":"OPTIONS /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7? 200 1ms","method":"OPTIONS","requestID":"6eab3494ce27f685a5fecce95b8e9f5d","responseTime":1,"status":200,"url":"/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw","level":"info","message":"auth send jwt","requestID":"2be2e48742dd972f460f0bc11eb746b3"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"2be2e48742dd972f460f0bc11eb746b3","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"2be2e48742dd972f460f0bc11eb746b3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":776,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":776,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.203196,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2be2e48742dd972f460f0bc11eb746b3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676593,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2be2e48742dd972f460f0bc11eb746b3","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:11.574766697Z"}]},"request_id":"0eb86382-8932-444a-be93-a1f542cd84a5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.6944501} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2be2e48742dd972f460f0bc11eb746b3","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"34af5616-eeb2-4d13-93db-285e636299ca","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.7018332} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"2be2e48742dd972f460f0bc11eb746b3","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:11.574766697Z"}]},"request_id":"84efa3e1-4457-48d7-9472-5284375203bd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.7163644} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2be2e48742dd972f460f0bc11eb746b3","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"2be2e48742dd972f460f0bc11eb746b3"} device-1 | {"level":"info","message":"PATCH /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7? 200 39ms","method":"PATCH","requestID":"2be2e48742dd972f460f0bc11eb746b3","responseTime":39,"status":200,"url":"/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.046","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"2be2e48742dd972f460f0bc11eb746b3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw","level":"info","message":"auth send jwt","requestID":"4b23ccb294a131d7dd0af94158acf8e3"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"4b23ccb294a131d7dd0af94158acf8e3","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4b23ccb294a131d7dd0af94158acf8e3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":777,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":777,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.163669,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4b23ccb294a131d7dd0af94158acf8e3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676593,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4b23ccb294a131d7dd0af94158acf8e3","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:11.531467973Z"}]},"request_id":"2b69efda-afb0-4b9d-9a11-22e92388302d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.7455764} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4b23ccb294a131d7dd0af94158acf8e3","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4b23ccb294a131d7dd0af94158acf8e3"} gateway-1 | {"time_local":"18/Sep/2024:16:23:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7a3023d0-cd15-48ce-a1d4-763c515983df? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4b23ccb294a131d7dd0af94158acf8e3"} device-1 | {"level":"info","message":"GET /devices/7a3023d0-cd15-48ce-a1d4-763c515983df? 200 17ms","method":"GET","requestID":"4b23ccb294a131d7dd0af94158acf8e3","responseTime":17,"status":200,"url":"/devices/7a3023d0-cd15-48ce-a1d4-763c515983df?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw","level":"info","message":"auth send jwt","requestID":"6ac4c29a070c06a7dab3269db2c02c5b"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"6ac4c29a070c06a7dab3269db2c02c5b","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6ac4c29a070c06a7dab3269db2c02c5b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":778,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":778,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.32863,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6ac4c29a070c06a7dab3269db2c02c5b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676593,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6ac4c29a070c06a7dab3269db2c02c5b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:11.574766697Z"}]},"request_id":"47662f0d-53f8-4bca-9b28-233a67d1912d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.7731073} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6ac4c29a070c06a7dab3269db2c02c5b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6ac4c29a070c06a7dab3269db2c02c5b"} gateway-1 | {"time_local":"18/Sep/2024:16:23:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6ac4c29a070c06a7dab3269db2c02c5b"} device-1 | {"level":"info","message":"GET /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7? 200 18ms","method":"GET","requestID":"6ac4c29a070c06a7dab3269db2c02c5b","responseTime":18,"status":200,"url":"/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw","level":"info","message":"auth send jwt","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"11d4df40aaecfcae45042e19dbb21b1b","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":779,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":779,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.17038,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"11d4df40aaecfcae45042e19dbb21b1b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676593,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"11d4df40aaecfcae45042e19dbb21b1b","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"},"level":"info","message":"Attempting to run experiment","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"},"level":"info","message":"Attempting to book experiment","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"},"level":"info","message":"Successfully booked experiment","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4dad7b70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4dadc990-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":780,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":780,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.11504,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4dad7b70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676593,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4dad7b70-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Received request.","req_id":781,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Sent response.","req_id":781,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.36928,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4dadc990-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676593,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"4dadc990-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:11.531467973Z"}]},"request_id":"067be7ac-ed9e-4a9d-ab76-f5780e47aee6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.8440287} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"4dad7b70-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:11.574766697Z"}]},"request_id":"c33b05b0-543a-4c9b-a16e-c878f9485b81","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.8507454} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4dad7b70-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"4dadc990-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/7a3023d0-cd15-48ce-a1d4-763c515983df? 200 22ms","method":"GET","requestID":"4dad7b70-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/7a3023d0-cd15-48ce-a1d4-763c515983df?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4dadc990-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7? 200 24ms","method":"GET","requestID":"4dadc990-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"},"level":"info","message":"Setting up experiment","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"},"level":"info","message":"Successfully locked booking for experiment","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"},"level":"info","message":"Attempting to update booking for experiment","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"},"level":"info","message":"Successfully updated booking for experiment","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"},"level":"info","message":"Successfully set up experiment","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4db9b070-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4db9fe90-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"},"level":"info","message":"Successfully running experiment","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4dba4cb0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":782,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":782,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.746942,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Received request.","req_id":783,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4db9b070-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676593,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4db9b070-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Sent response.","req_id":783,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.819381,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4db9fe90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676593,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4db9fe90-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":784,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":784,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.820421,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bd9af409-281c-46e7-8a64-46f6bc90034d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.9214156} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:11.574766697Z"}]},"request_id":"65653d59-cfe6-4ae3-b136-e5f3534302c2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.921496} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4db9fe90-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4dba4cb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4dba4cb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:11.531467973Z"}]},"request_id":"f9ebd94b-aa0d-47e6-94d8-60189233acbf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.9225194} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4db9b070-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4dba4cb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7a3023d0-cd15-48ce-a1d4-763c515983df/signaling 200 13ms","method":"POST","requestID":"4dba4cb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/7a3023d0-cd15-48ce-a1d4-763c515983df/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4db9fe90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7? 200 16ms","method":"GET","requestID":"4db9fe90-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4db9b070-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/7a3023d0-cd15-48ce-a1d4-763c515983df? 200 19ms","method":"GET","requestID":"4db9b070-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/7a3023d0-cd15-48ce-a1d4-763c515983df?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4dbcbdb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4dbce4c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F50d43997-81f4-4ebc-a541-0303af5b187e#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F50d43997-81f4-4ebc-a541-0303af5b187e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"07ca426a-388c-494f-8d5a-fe32067dfb73","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.9338927} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"361e0091-88f5-47c1-bc01-ad2031db67b8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.934064} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"11d4df40aaecfcae45042e19dbb21b1b","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":785,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Received request.","req_id":786,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":785,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.563214,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"51d6d737-a316-43df-a745-9e978764a32a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.9365225} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"06507f75-7066-4103-b65b-78a88c921ce4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.93704} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4dbcbdb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4dbcbdb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Sent response.","req_id":786,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.086394,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4dbce4c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4dbce4c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} gateway-1 | {"time_local":"18/Sep/2024:16:23:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1292","request_time":"0.162","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} experiment-1 | {"level":"info","message":"POST /experiments? 201 154ms","method":"POST","requestID":"11d4df40aaecfcae45042e19dbb21b1b","responseTime":155,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4dbcbdb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7/signaling 200 14ms","method":"POST","requestID":"4dbcbdb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4dbce4c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7a3023d0-cd15-48ce-a1d4-763c515983df/signaling 200 14ms","method":"POST","requestID":"4dbce4c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/7a3023d0-cd15-48ce-a1d4-763c515983df/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw","level":"info","message":"auth send jwt","requestID":"46352f546f4182cea89aff4fcf834994"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"46352f546f4182cea89aff4fcf834994","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"46352f546f4182cea89aff4fcf834994"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4dbf7cd0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":787,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Received request.","req_id":788,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":787,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.676824,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"46352f546f4182cea89aff4fcf834994","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676593,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"46352f546f4182cea89aff4fcf834994","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1d1e4b83-03ee-4199-b034-a9deb7660a8a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.9538221} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Sent response.","req_id":788,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.698078,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4dbf7cd0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4dbf7cd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:11.531467973Z"}]},"request_id":"4d46faf2-9f80-4674-a864-5163ecc1f08a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.9571373} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4dbf7cd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7/signaling 200 8ms","method":"POST","requestID":"4dbf7cd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"46352f546f4182cea89aff4fcf834994","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4dc12a80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4dc15190-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"46352f546f4182cea89aff4fcf834994"} gateway-1 | {"time_local":"18/Sep/2024:16:23:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7a3023d0-cd15-48ce-a1d4-763c515983df? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"46352f546f4182cea89aff4fcf834994"} device-1 | {"level":"info","message":"GET /devices/7a3023d0-cd15-48ce-a1d4-763c515983df? 200 14ms","method":"GET","requestID":"46352f546f4182cea89aff4fcf834994","responseTime":14,"status":200,"url":"/devices/7a3023d0-cd15-48ce-a1d4-763c515983df?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":789,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":789,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.926744,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4dc12a80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676593,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4dc12a80-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Received request.","req_id":790,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Sent response.","req_id":790,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.823092,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4dc15190-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676593,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4dc15190-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw","level":"info","message":"auth send jwt","requestID":"0e56e012562e0693c6c013b47a00c2d5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0e56e012562e0693c6c013b47a00c2d5","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0e56e012562e0693c6c013b47a00c2d5"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:11.531467973Z"}]},"request_id":"193fafa1-8ade-48ab-bb5e-b1ae64ea531c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.96826} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4dc12a80-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:11.574766697Z"}]},"request_id":"3ce7d2d1-5892-4a2d-963e-b476ac309c65","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.9698794} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4dc15190-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4dc12a80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":791,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":791,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.96412,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:13Z"} device-1 | {"level":"info","message":"GET /devices/7a3023d0-cd15-48ce-a1d4-763c515983df? 200 12ms","method":"GET","requestID":"4dc12a80-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/7a3023d0-cd15-48ce-a1d4-763c515983df?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0e56e012562e0693c6c013b47a00c2d5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676593,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0e56e012562e0693c6c013b47a00c2d5","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4dc15190-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7? 200 15ms","method":"GET","requestID":"4dc15190-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:11.574766697Z"}]},"request_id":"7456c1c6-ebbc-49fe-b412-aebeff2c4a06","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.976794} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"},"level":"info","message":"Building connection plan","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"e3e8227e-d8ef-414e-829b-e09fd3fcbe25"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"df9f201b-f240-4a59-8c75-c3d4a1af1974"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"75daff31-7d33-4dc0-8025-40456701c757"}]},"level":"info","message":"Built pairwise service configurations","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0e56e012562e0693c6c013b47a00c2d5","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"4dc410b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0e56e012562e0693c6c013b47a00c2d5"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":792,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:13Z"} gateway-1 | {"time_local":"18/Sep/2024:16:23:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0e56e012562e0693c6c013b47a00c2d5"} device-1 | {"level":"info","message":"GET /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7? 200 13ms","method":"GET","requestID":"0e56e012562e0693c6c013b47a00c2d5","responseTime":13,"status":200,"url":"/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":792,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.757265,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:13Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4dc410b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676593,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5M30.yUHhnzV8wfviMnOzeu04ZyyC1OLbyO8xOyE_gy0NDnw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4dc410b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"922e8f83-ae41-4c37-93cf-b3b4222c98e1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.9893568} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fbbdbc7e-d694-43c7-973b-69c9f6fe4e0c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676593.989525} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"4dc410b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"4dc410b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"4dc410b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6'","requestID":"4dc410b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6'","requestID":"4dc410b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"4dc410b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 23ms","method":"POST","requestID":"4dc410b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":23,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"4dc410b0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"11d4df40aaecfcae45042e19dbb21b1b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4dcbfff0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":793,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:14Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c68f7264-1d24-4aca-b76d-1ed331c80a14","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676594.0354555} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":793,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.411996,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:14Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4dcbfff0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4dcbfff0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4dcbfff0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7a3023d0-cd15-48ce-a1d4-763c515983df/signaling 200 8ms","method":"POST","requestID":"4dcbfff0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/7a3023d0-cd15-48ce-a1d4-763c515983df/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4dcd8690-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":794,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:14Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0173b5cc-9456-47ea-8347-743a51260917","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676594.045986} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":794,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.224016,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:14Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4dcd8690-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4dcd8690-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4dcd8690-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7/signaling 200 9ms","method":"POST","requestID":"4dcd8690-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7/signaling"} device-1 | {"device":"1484b9db-ebd9-4915-8a01-fdd14312c7b7","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"1484b9db-ebd9-4915-8a01-fdd14312c7b7","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"7a3023d0-cd15-48ce-a1d4-763c515983df","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"48db1835-13af-4b62-8d01-43bd55d047b6","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 484087387127894566 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:ir+K\r\na=ice-pwd:XjGEbY5hI6JS8idIzWK/PrAF\r\na=ice-options:trickle\r\na=fingerprint:sha-256 C3:4D:76:4D:F6:55:0B:98:8B:03:8B:86:C2:19:C7:AC:C1:6B:CE:91:1A:0F:35:72:49:1C:D3:25:A1:A0:BD:A9\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"1484b9db-ebd9-4915-8a01-fdd14312c7b7","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1003257285 1 udp 2113937151 0af44b59-3d07-4864-ad08-7377d563b1f5.local 39594 typ host generation 0 ufrag ir+K network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"1484b9db-ebd9-4915-8a01-fdd14312c7b7","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"1484b9db-ebd9-4915-8a01-fdd14312c7b7","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:2833767638 1 udp 1677729535 141.24.211.56 39594 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag ir+K network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"1484b9db-ebd9-4915-8a01-fdd14312c7b7","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"48db1835-13af-4b62-8d01-43bd55d047b6","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0350e3f53f448c5be5355e8655e83190","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} device-1 | {"device":"7a3023d0-cd15-48ce-a1d4-763c515983df","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"7a3023d0-cd15-48ce-a1d4-763c515983df","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"7a3023d0-cd15-48ce-a1d4-763c515983df","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"0350e3f53f448c5be5355e8655e83190","responseTime":2,"status":200,"url":"/auth"} device-1 | {"device":"1484b9db-ebd9-4915-8a01-fdd14312c7b7","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6"}}},"level":"info","message":"received a callback","requestID":"0350e3f53f448c5be5355e8655e83190"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7'"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 4ms","method":"POST","requestID":"0350e3f53f448c5be5355e8655e83190","responseTime":4,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.007","http_referrer":"","http_user_agent":"node-fetch","requestID":"0350e3f53f448c5be5355e8655e83190"} device-1 | {"data":{"peerconnection":"48db1835-13af-4b62-8d01-43bd55d047b6","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"7a3023d0-cd15-48ce-a1d4-763c515983df","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"1484b9db-ebd9-4915-8a01-fdd14312c7b7","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"7a3023d0-cd15-48ce-a1d4-763c515983df","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"48db1835-13af-4b62-8d01-43bd55d047b6","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"1484b9db-ebd9-4915-8a01-fdd14312c7b7","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"48db1835-13af-4b62-8d01-43bd55d047b6","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"484db71b3462f5d135d287347b92cbf4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"484db71b3462f5d135d287347b92cbf4","responseTime":0,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6"}}},"level":"info","message":"received a callback","requestID":"484db71b3462f5d135d287347b92cbf4"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"4f09b010-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":795,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F48db1835-13af-4b62-8d01-43bd55d047b6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c1e8712c-b6d1-423e-b154-cb632f6f98f9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.1174536} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":795,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.358757,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4f09b010-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4f09b010-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"4f09b010-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6 200 8ms","method":"GET","requestID":"4f09b010-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 29ms","method":"POST","requestID":"484db71b3462f5d135d287347b92cbf4","responseTime":29,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.031","http_referrer":"","http_user_agent":"node-fetch","requestID":"484db71b3462f5d135d287347b92cbf4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4f0d80a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":796,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6d26d73c-a47a-46c6-8170-1d5d85b4ae0a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.1426928} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":796,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.405348,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4f0d80a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4f0d80a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4f0d80a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7/signaling 200 9ms","method":"POST","requestID":"4f0d80a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4f0f2e50-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":797,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"163875f6-2489-48bf-aedc-9f70a712b61f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.1540844} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":797,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.725297,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4f0f2e50-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4f0f2e50-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4f0f2e50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7a3023d0-cd15-48ce-a1d4-763c515983df/signaling 200 9ms","method":"POST","requestID":"4f0f2e50-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/7a3023d0-cd15-48ce-a1d4-763c515983df/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Nn0.ZG-vfTy1jVL-oraQvSiP5bd3QcTI_dCyLjDjN7aPyvc","level":"info","message":"auth send jwt","requestID":"e941da6bf592b254ce52e292f4c9096a"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"e941da6bf592b254ce52e292f4c9096a","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/50d43997-81f4-4ebc-a541-0303af5b187e","requestID":"e941da6bf592b254ce52e292f4c9096a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":798,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":798,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.835207,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e941da6bf592b254ce52e292f4c9096a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676596,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Nn0.ZG-vfTy1jVL-oraQvSiP5bd3QcTI_dCyLjDjN7aPyvc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e941da6bf592b254ce52e292f4c9096a","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/50d43997-81f4-4ebc-a541-0303af5b187e","requestID":"e941da6bf592b254ce52e292f4c9096a"} experiment-1 | {"level":"info","message":"GET /experiments/50d43997-81f4-4ebc-a541-0303af5b187e 200 14ms","method":"GET","requestID":"e941da6bf592b254ce52e292f4c9096a","responseTime":14,"status":200,"url":"/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"} gateway-1 | {"time_local":"18/Sep/2024:16:23:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/50d43997-81f4-4ebc-a541-0303af5b187e HTTP/1.1","status": "200","body_bytes_sent":"1365","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e941da6bf592b254ce52e292f4c9096a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Nn0.ZG-vfTy1jVL-oraQvSiP5bd3QcTI_dCyLjDjN7aPyvc","level":"info","message":"auth send jwt","requestID":"b3f3db1b61b3594a3a16f8873cb3194f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b3f3db1b61b3594a3a16f8873cb3194f","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/50d43997-81f4-4ebc-a541-0303af5b187e","requestID":"b3f3db1b61b3594a3a16f8873cb3194f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":799,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":799,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.838134,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b3f3db1b61b3594a3a16f8873cb3194f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676596,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Nn0.ZG-vfTy1jVL-oraQvSiP5bd3QcTI_dCyLjDjN7aPyvc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b3f3db1b61b3594a3a16f8873cb3194f","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"},"level":"info","message":"Attempting to finish experiment","requestID":"b3f3db1b61b3594a3a16f8873cb3194f"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"4f1cc2e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":800,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":800,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.083253,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4f1cc2e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676596,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Nn0.ZG-vfTy1jVL-oraQvSiP5bd3QcTI_dCyLjDjN7aPyvc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4f1cc2e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6","device":"1484b9db-ebd9-4915-8a01-fdd14312c7b7","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"7a3023d0-cd15-48ce-a1d4-763c515983df","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"7a3023d0-cd15-48ce-a1d4-763c515983df","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"7a3023d0-cd15-48ce-a1d4-763c515983df","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"48db1835-13af-4b62-8d01-43bd55d047b6","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F48db1835-13af-4b62-8d01-43bd55d047b6': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F48db1835-13af-4b62-8d01-43bd55d047b6","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"3fb105de-34ef-4e0e-b034-d75d3f5ac6de","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.262555} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"622d1ecc-8aaf-4f20-bc58-d8150a6838ed","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.2630029} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6ae42c2e8f4a2d89cfb330dae23239d9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"6ae42c2e8f4a2d89cfb330dae23239d9","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"4f1cc2e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"32ee95808fc34cec9b1f055d521ccfb7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6"}}},"level":"info","message":"received a callback","requestID":"6ae42c2e8f4a2d89cfb330dae23239d9"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"32ee95808fc34cec9b1f055d521ccfb7","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6"}}},"level":"info","message":"received a callback","requestID":"32ee95808fc34cec9b1f055d521ccfb7"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"4f1cc2e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6 204 49ms","method":"DELETE","requestID":"4f1cc2e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":49,"status":204,"url":"/peerconnections/48db1835-13af-4b62-8d01-43bd55d047b6"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"},"level":"info","message":"Successfully finished experiment","requestID":"b3f3db1b61b3594a3a16f8873cb3194f"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4f280d80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":801,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1484b9db-ebd9-4915-8a01-fdd14312c7b7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e064146c-4884-425a-9d83-7718fab73026","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.3199475} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":801,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.900645,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4f280d80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"4f280d80-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4f280d80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7/signaling 200 14ms","method":"POST","requestID":"4f280d80-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F50d43997-81f4-4ebc-a541-0303af5b187e': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F50d43997-81f4-4ebc-a541-0303af5b187e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"a0881ecc-1ddb-44eb-9bc5-7ef5e71a72f4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.3283565} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3045161c-c5b8-4d5f-8ff9-3a5706eb83f8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.3287222} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4f2acca0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"b3f3db1b61b3594a3a16f8873cb3194f","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":802,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a3023d0-cd15-48ce-a1d4-763c515983df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c819e91f-b299-441e-b7db-40a1251ed73f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.337471} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":802,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.050536,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4f2acca0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"4f2acca0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4f2acca0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7a3023d0-cd15-48ce-a1d4-763c515983df/signaling 200 14ms","method":"POST","requestID":"4f2acca0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/7a3023d0-cd15-48ce-a1d4-763c515983df/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/50d43997-81f4-4ebc-a541-0303af5b187e","requestID":"b3f3db1b61b3594a3a16f8873cb3194f"} gateway-1 | {"time_local":"18/Sep/2024:16:23:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/50d43997-81f4-4ebc-a541-0303af5b187e HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.175","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b3f3db1b61b3594a3a16f8873cb3194f"} gateway-1 | {"time_local":"18/Sep/2024:16:23:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3270","request_time":"4.281","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"c12f851f7e010ab37e2c56e4177064d4"} experiment-1 | {"level":"info","message":"DELETE /experiments/50d43997-81f4-4ebc-a541-0303af5b187e 204 174ms","method":"DELETE","requestID":"b3f3db1b61b3594a3a16f8873cb3194f","responseTime":174,"status":204,"url":"/experiments/50d43997-81f4-4ebc-a541-0303af5b187e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 136ms","method":"POST","requestID":"6ae42c2e8f4a2d89cfb330dae23239d9","responseTime":136,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.140","http_referrer":"","http_user_agent":"node-fetch","requestID":"6ae42c2e8f4a2d89cfb330dae23239d9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 136ms","method":"POST","requestID":"32ee95808fc34cec9b1f055d521ccfb7","responseTime":136,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.142","http_referrer":"","http_user_agent":"node-fetch","requestID":"32ee95808fc34cec9b1f055d521ccfb7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Nn0.ZG-vfTy1jVL-oraQvSiP5bd3QcTI_dCyLjDjN7aPyvc","level":"info","message":"auth send jwt","requestID":"6c5e49e2bcf3e1ba1248af0be884c387"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6c5e49e2bcf3e1ba1248af0be884c387","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"6c5e49e2bcf3e1ba1248af0be884c387"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/7a3023d0-cd15-48ce-a1d4-763c515983df' closed"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":803,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:16Z"} gateway-1 | {"time_local":"18/Sep/2024:16:23:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3130","request_time":"2.771","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"5e56921bdbd4f7f45fe797e5813418e9"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":803,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.75113,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6c5e49e2bcf3e1ba1248af0be884c387","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676596,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Nn0.ZG-vfTy1jVL-oraQvSiP5bd3QcTI_dCyLjDjN7aPyvc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6c5e49e2bcf3e1ba1248af0be884c387","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"72d64fa7-7634-4405-aeb1-677b41f9c41c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.425627} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6c5e49e2bcf3e1ba1248af0be884c387","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/1484b9db-ebd9-4915-8a01-fdd14312c7b7' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3aaaaced-b96f-4427-8d0b-f8087e96c5cf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.4316072} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"6c5e49e2bcf3e1ba1248af0be884c387","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"a9e69f46-3642-4399-8afa-e61ef1f53fcc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.4439054} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"817cb3c4-1a0a-42f0-bdd5-307f2462b06b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.444094} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"6c5e49e2bcf3e1ba1248af0be884c387","responseTime":15,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:16.443872461Z"}]},"request_id":"06a4b465-04df-4402-a127-5b3b5f9a15d4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.448589} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6c5e49e2bcf3e1ba1248af0be884c387","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"6c5e49e2bcf3e1ba1248af0be884c387"} gateway-1 | {"time_local":"18/Sep/2024:16:23:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6c5e49e2bcf3e1ba1248af0be884c387"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"6c5e49e2bcf3e1ba1248af0be884c387","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Nn0.ZG-vfTy1jVL-oraQvSiP5bd3QcTI_dCyLjDjN7aPyvc","level":"info","message":"auth send jwt","requestID":"2dd73aa0439c74fc4e3cf3ce2febc352"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"2dd73aa0439c74fc4e3cf3ce2febc352","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"2dd73aa0439c74fc4e3cf3ce2febc352"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":804,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":804,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.702718,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2dd73aa0439c74fc4e3cf3ce2febc352","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676596,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Nn0.ZG-vfTy1jVL-oraQvSiP5bd3QcTI_dCyLjDjN7aPyvc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2dd73aa0439c74fc4e3cf3ce2febc352","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"c7448873-0682-41ab-b1ea-bf0092273191","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.477869} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"2dd73aa0439c74fc4e3cf3ce2febc352","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"05b9c01b-b84d-4fb1-b4bc-a7a6d9d90389","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.4826589} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"2dd73aa0439c74fc4e3cf3ce2febc352","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"9006a7a1-79cc-498a-8b30-07216c6d2a5b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.4944208} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e5b68c2f-6669-4f48-9440-e7c0d746dad5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.494613} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"2dd73aa0439c74fc4e3cf3ce2febc352","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:16.494396133Z"}]},"request_id":"5575586a-4365-45c3-8d2a-a5c662d0aad0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.4990382} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2dd73aa0439c74fc4e3cf3ce2febc352","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"2dd73aa0439c74fc4e3cf3ce2febc352"} gateway-1 | {"time_local":"18/Sep/2024:16:23:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2dd73aa0439c74fc4e3cf3ce2febc352"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"2dd73aa0439c74fc4e3cf3ce2febc352","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Nn0.ZG-vfTy1jVL-oraQvSiP5bd3QcTI_dCyLjDjN7aPyvc","level":"info","message":"auth send jwt","requestID":"5188b1f48e1862668d863bc6d37ec670"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5188b1f48e1862668d863bc6d37ec670","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"5188b1f48e1862668d863bc6d37ec670"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Nn0.ZG-vfTy1jVL-oraQvSiP5bd3QcTI_dCyLjDjN7aPyvc","level":"info","message":"auth send jwt","requestID":"4993e11c1513079c176313afea05ac21"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"4993e11c1513079c176313afea05ac21","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"4993e11c1513079c176313afea05ac21"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":805,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":805,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.156841,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5188b1f48e1862668d863bc6d37ec670","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676596,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Nn0.ZG-vfTy1jVL-oraQvSiP5bd3QcTI_dCyLjDjN7aPyvc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5188b1f48e1862668d863bc6d37ec670","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Received request.","req_id":806,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Sent response.","req_id":806,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.541605,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4993e11c1513079c176313afea05ac21","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676596,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Nn0.ZG-vfTy1jVL-oraQvSiP5bd3QcTI_dCyLjDjN7aPyvc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4993e11c1513079c176313afea05ac21","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:16.494396133Z"}]},"request_id":"b8b4d16f-7c1c-4310-91f9-98b793ba7d19","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.9784214} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5188b1f48e1862668d863bc6d37ec670","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:16.443872461Z"}]},"request_id":"769475e5-7d8a-4b8e-8ed0-6de79e7849ed","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.9792144} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4993e11c1513079c176313afea05ac21","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6a2c051c-1bfa-4ede-b087-7549f3d46dde","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.9829476} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"5188b1f48e1862668d863bc6d37ec670","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"17d44007-1257-4494-93e2-d4fcc9ecf77d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.9847424} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"4993e11c1513079c176313afea05ac21","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:16.443872461Z"}]},"request_id":"3c7f1caa-ef66-405b-9b6f-979b7a893867","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.9868784} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"4993e11c1513079c176313afea05ac21","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"4993e11c1513079c176313afea05ac21"} gateway-1 | {"time_local":"18/Sep/2024:16:23:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/b02b7c87-40a0-4674-8810-a913387740f7 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.029","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"4993e11c1513079c176313afea05ac21"} device-1 | {"level":"info","message":"PATCH /devices/b02b7c87-40a0-4674-8810-a913387740f7 200 22ms","method":"PATCH","requestID":"4993e11c1513079c176313afea05ac21","responseTime":22,"status":200,"url":"/devices/b02b7c87-40a0-4674-8810-a913387740f7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Nn0.ZG-vfTy1jVL-oraQvSiP5bd3QcTI_dCyLjDjN7aPyvc","level":"info","message":"auth send jwt","requestID":"d16fc80cb5f1a442fa65e6e292263c44"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d16fc80cb5f1a442fa65e6e292263c44","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"d16fc80cb5f1a442fa65e6e292263c44"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":807,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":807,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.837635,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d16fc80cb5f1a442fa65e6e292263c44","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676596,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5Nn0.ZG-vfTy1jVL-oraQvSiP5bd3QcTI_dCyLjDjN7aPyvc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d16fc80cb5f1a442fa65e6e292263c44","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:16.494396133Z"}]},"request_id":"395efea6-e7df-4638-9e10-174de96b71c7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676596.9988122} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5188b1f48e1862668d863bc6d37ec670","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"5188b1f48e1862668d863bc6d37ec670"} device-1 | {"level":"info","message":"PATCH /devices/43ed40f4-6262-4939-a915-df7d46e01ddd 200 36ms","method":"PATCH","requestID":"5188b1f48e1862668d863bc6d37ec670","responseTime":36,"status":200,"url":"/devices/43ed40f4-6262-4939-a915-df7d46e01ddd"} gateway-1 | {"time_local":"18/Sep/2024:16:23:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/43ed40f4-6262-4939-a915-df7d46e01ddd HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.042","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"5188b1f48e1862668d863bc6d37ec670"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY","level":"info","message":"auth send jwt","requestID":"0417e12bed8937415b623414a9f82790"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"0417e12bed8937415b623414a9f82790","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"0417e12bed8937415b623414a9f82790"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":808,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":808,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.046758,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0417e12bed8937415b623414a9f82790","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676597,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"d16fc80cb5f1a442fa65e6e292263c44"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0417e12bed8937415b623414a9f82790","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:23:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/b02b7c87-40a0-4674-8810-a913387740f7/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.021","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"d16fc80cb5f1a442fa65e6e292263c44"} device-1 | {"level":"info","message":"POST /devices/b02b7c87-40a0-4674-8810-a913387740f7/websocket 200 17ms","method":"POST","requestID":"d16fc80cb5f1a442fa65e6e292263c44","responseTime":17,"status":200,"url":"/devices/b02b7c87-40a0-4674-8810-a913387740f7/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7' connected"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"0417e12bed8937415b623414a9f82790"} gateway-1 | {"time_local":"18/Sep/2024:16:23:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/43ed40f4-6262-4939-a915-df7d46e01ddd/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.023","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"0417e12bed8937415b623414a9f82790"} device-1 | {"level":"info","message":"POST /devices/43ed40f4-6262-4939-a915-df7d46e01ddd/websocket 200 19ms","method":"POST","requestID":"0417e12bed8937415b623414a9f82790","responseTime":19,"status":200,"url":"/devices/43ed40f4-6262-4939-a915-df7d46e01ddd/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY","level":"info","message":"auth send jwt","requestID":"703b8236665817bd74b406742e85fdc3"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"703b8236665817bd74b406742e85fdc3","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"703b8236665817bd74b406742e85fdc3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":809,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":809,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.975332,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"703b8236665817bd74b406742e85fdc3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676597,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"703b8236665817bd74b406742e85fdc3","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:16.443872461Z"}]},"request_id":"b5121e30-d6e1-43bf-a8ec-f892c00fce3d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.0549245} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"703b8236665817bd74b406742e85fdc3","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"703b8236665817bd74b406742e85fdc3"} gateway-1 | {"time_local":"18/Sep/2024:16:23:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b02b7c87-40a0-4674-8810-a913387740f7? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"703b8236665817bd74b406742e85fdc3"} device-1 | {"level":"info","message":"GET /devices/b02b7c87-40a0-4674-8810-a913387740f7? 200 12ms","method":"GET","requestID":"703b8236665817bd74b406742e85fdc3","responseTime":12,"status":200,"url":"/devices/b02b7c87-40a0-4674-8810-a913387740f7?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY","level":"info","message":"auth send jwt","requestID":"ee2321bf11f243e0ed8e9dca8d03f60f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ee2321bf11f243e0ed8e9dca8d03f60f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ee2321bf11f243e0ed8e9dca8d03f60f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":810,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":810,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.855037,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ee2321bf11f243e0ed8e9dca8d03f60f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676597,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ee2321bf11f243e0ed8e9dca8d03f60f","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:16.494396133Z"}]},"request_id":"c1ec4061-ceeb-447e-971a-332cb8042e5a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.0724397} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ee2321bf11f243e0ed8e9dca8d03f60f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ee2321bf11f243e0ed8e9dca8d03f60f"} device-1 | {"level":"info","message":"GET /devices/43ed40f4-6262-4939-a915-df7d46e01ddd? 200 13ms","method":"GET","requestID":"ee2321bf11f243e0ed8e9dca8d03f60f","responseTime":13,"status":200,"url":"/devices/43ed40f4-6262-4939-a915-df7d46e01ddd?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/43ed40f4-6262-4939-a915-df7d46e01ddd? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ee2321bf11f243e0ed8e9dca8d03f60f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY","level":"info","message":"auth send jwt","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":811,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":811,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.219432,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676597,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"},"level":"info","message":"Attempting to run experiment","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"},"level":"info","message":"Attempting to book experiment","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"},"level":"info","message":"Successfully booked experiment","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4fa24690-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4fa26da0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":812,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":812,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.198871,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4fa24690-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676597,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4fa24690-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Received request.","req_id":813,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Sent response.","req_id":813,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.344035,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4fa26da0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676597,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4fa26da0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:16.443872461Z"}]},"request_id":"d584b859-cc50-4bbb-8c0c-7ce26fd806e3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.1211488} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4fa24690-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:16.494396133Z"}]},"request_id":"b836d43e-5f40-4dc9-ac18-c2081007b817","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.1226082} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4fa26da0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4fa24690-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/b02b7c87-40a0-4674-8810-a913387740f7? 200 13ms","method":"GET","requestID":"4fa24690-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/b02b7c87-40a0-4674-8810-a913387740f7?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4fa26da0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/43ed40f4-6262-4939-a915-df7d46e01ddd? 200 13ms","method":"GET","requestID":"4fa26da0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/43ed40f4-6262-4939-a915-df7d46e01ddd?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"},"level":"info","message":"Setting up experiment","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"},"level":"info","message":"Successfully locked booking for experiment","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"},"level":"info","message":"Attempting to update booking for experiment","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"},"level":"info","message":"Successfully updated booking for experiment","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"},"level":"info","message":"Successfully set up experiment","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4faa5ce0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4faa83f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4faaab00-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"},"level":"info","message":"Successfully running experiment","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":814,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":814,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.948089,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Received request.","req_id":815,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4faa5ce0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676597,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"4faa5ce0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Sent response.","req_id":815,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":3.111976,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4faa83f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676597,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"4faa83f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":816,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1ddc2f2a-ff5a-4a3e-889e-0fe8cf157e51","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.1777442} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":816,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.788202,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4faaab00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4faaab00-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4faaab00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/b02b7c87-40a0-4674-8810-a913387740f7/signaling 200 14ms","method":"POST","requestID":"4faaab00-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/b02b7c87-40a0-4674-8810-a913387740f7/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:16.443872461Z"}]},"request_id":"7caaac87-32a7-45c8-b9a8-d6dc0f36ccbb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.1823819} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"4faa5ce0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:16.494396133Z"}]},"request_id":"a5ad8274-7375-4352-868c-068443882fe0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.1846948} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4fad4310-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4faa83f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":817,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"22c282c2-51c1-44b2-8a63-cf6235439cf7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.1906998} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":817,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.205736,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4faa5ce0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4fad4310-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"level":"info","message":"GET /devices/b02b7c87-40a0-4674-8810-a913387740f7? 200 26ms","method":"GET","requestID":"4faa5ce0-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":200,"url":"/devices/b02b7c87-40a0-4674-8810-a913387740f7?"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4fad4310-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4faa83f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/43ed40f4-6262-4939-a915-df7d46e01ddd? 200 26ms","method":"GET","requestID":"4faa83f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":200,"url":"/devices/43ed40f4-6262-4939-a915-df7d46e01ddd?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4faec9b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb6b94ac9-6690-4891-beb6-183225bf9fdc#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb6b94ac9-6690-4891-beb6-183225bf9fdc","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"8484983a-577e-4ca5-b918-02b7d62b4b39","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.1957824} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"be0f9809-7959-4ad9-b620-f99fc464a451","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.1958857} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4fad4310-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54","responseTime":22,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"POST /devices/43ed40f4-6262-4939-a915-df7d46e01ddd/signaling 200 12ms","method":"POST","requestID":"4fad4310-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/43ed40f4-6262-4939-a915-df7d46e01ddd/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":818,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4804ebee-8555-46da-9e77-ea46858a0e7b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.200224} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":818,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.142096,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4faec9b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4faec9b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} gateway-1 | {"time_local":"18/Sep/2024:16:23:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1296","request_time":"0.127","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} experiment-1 | {"level":"info","message":"POST /experiments? 201 123ms","method":"POST","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54","responseTime":123,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4faec9b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/b02b7c87-40a0-4674-8810-a913387740f7/signaling 200 10ms","method":"POST","requestID":"4faec9b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/b02b7c87-40a0-4674-8810-a913387740f7/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4fb09e70-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY","level":"info","message":"auth send jwt","requestID":"552152818a701b933533b40aa702f34e"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"552152818a701b933533b40aa702f34e","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"552152818a701b933533b40aa702f34e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":819,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5cc6bf78-9fa7-4b35-925c-9e15f910bf5c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.2113018} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Received request.","req_id":820,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":819,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.232013,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4fb09e70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4fb09e70-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Sent response.","req_id":820,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.677321,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"552152818a701b933533b40aa702f34e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676597,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"552152818a701b933533b40aa702f34e","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4fb09e70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/43ed40f4-6262-4939-a915-df7d46e01ddd/signaling 200 9ms","method":"POST","requestID":"4fb09e70-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/43ed40f4-6262-4939-a915-df7d46e01ddd/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:16.443872461Z"}]},"request_id":"8ad7db4b-150d-4baa-a0b7-7b9e9656b16c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.2168138} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"552152818a701b933533b40aa702f34e","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4fb27330-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4fb29a40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"552152818a701b933533b40aa702f34e"} device-1 | {"level":"info","message":"GET /devices/b02b7c87-40a0-4674-8810-a913387740f7? 200 13ms","method":"GET","requestID":"552152818a701b933533b40aa702f34e","responseTime":13,"status":200,"url":"/devices/b02b7c87-40a0-4674-8810-a913387740f7?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":821,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":821,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.097635,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Received request.","req_id":822,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4fb27330-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676597,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4fb27330-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:23:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b02b7c87-40a0-4674-8810-a913387740f7? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"552152818a701b933533b40aa702f34e"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Sent response.","req_id":822,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.994371,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4fb29a40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676597,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4fb29a40-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:16.443872461Z"}]},"request_id":"ef89d118-abea-4d92-b0e8-c2a8b5a0f15e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.2265837} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY","level":"info","message":"auth send jwt","requestID":"d1d6f3a63368c6979f2e9c9574ca9617"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"4fb27330-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:16.494396133Z"}]},"request_id":"f3b57594-6753-4d37-ba23-317a7358ebd3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.227413} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d1d6f3a63368c6979f2e9c9574ca9617","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"4fb29a40-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d1d6f3a63368c6979f2e9c9574ca9617"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4fb27330-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":823,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} device-1 | {"level":"info","message":"GET /devices/b02b7c87-40a0-4674-8810-a913387740f7? 200 14ms","method":"GET","requestID":"4fb27330-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/b02b7c87-40a0-4674-8810-a913387740f7?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":823,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.718815,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4fb29a40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/43ed40f4-6262-4939-a915-df7d46e01ddd? 200 13ms","method":"GET","requestID":"4fb29a40-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/43ed40f4-6262-4939-a915-df7d46e01ddd?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d1d6f3a63368c6979f2e9c9574ca9617","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676597,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d1d6f3a63368c6979f2e9c9574ca9617","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"},"level":"info","message":"Building connection plan","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"7ec86664-be01-4bf0-91e4-ec9afd641356"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"75a9759c-d19a-4dab-9340-7b68cbc9c9c6"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"11c647d3-e1f2-4b85-902b-7564b55ad936"}]},"level":"info","message":"Built pairwise service configurations","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"4fb50b40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:16.494396133Z"}]},"request_id":"1b61a354-dc59-42d3-9f3e-d4b226f3473a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.23687} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d1d6f3a63368c6979f2e9c9574ca9617","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":824,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":824,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.613567,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4fb50b40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676597,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5N30.vWwU1938JD9NV0Jxmt16T9EXaiTlS6foYmC5BT7RnQY"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"4fb50b40-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d1d6f3a63368c6979f2e9c9574ca9617"} device-1 | {"level":"info","message":"GET /devices/43ed40f4-6262-4939-a915-df7d46e01ddd? 200 12ms","method":"GET","requestID":"d1d6f3a63368c6979f2e9c9574ca9617","responseTime":12,"status":200,"url":"/devices/43ed40f4-6262-4939-a915-df7d46e01ddd?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/43ed40f4-6262-4939-a915-df7d46e01ddd? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d1d6f3a63368c6979f2e9c9574ca9617"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"ae75021d-0b45-4c96-9409-d9ca60982847","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.2473416} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b68a8d45-db94-4ab4-bada-9594da6f0e54","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.2475996} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"4fb50b40-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"4fb50b40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"4fb50b40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/ee96e0ca-01a2-4634-adee-7fec618c9d6e'","requestID":"4fb50b40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/ee96e0ca-01a2-4634-adee-7fec618c9d6e'","requestID":"4fb50b40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"4fb50b40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 25ms","method":"POST","requestID":"4fb50b40-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"4fb50b40-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"faa9a08dad0cd3e6a4bfbbe83e099a54"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4fbd2190-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":825,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a073222b-aec4-4d5e-9423-02546411981b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.294164} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":825,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.917691,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4fbd2190-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4fbd2190-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4fbd2190-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/b02b7c87-40a0-4674-8810-a913387740f7/signaling 200 9ms","method":"POST","requestID":"4fbd2190-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/b02b7c87-40a0-4674-8810-a913387740f7/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4fbea830-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":826,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"71921b5e-4c9b-488f-a43a-167e5b2b6d5c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676597.3033237} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":826,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.124749,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4fbea830-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4fbea830-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4fbea830-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/43ed40f4-6262-4939-a915-df7d46e01ddd/signaling 200 7ms","method":"POST","requestID":"4fbea830-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/devices/43ed40f4-6262-4939-a915-df7d46e01ddd/signaling"} device-1 | {"device":"b02b7c87-40a0-4674-8810-a913387740f7","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"ee96e0ca-01a2-4634-adee-7fec618c9d6e","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"43ed40f4-6262-4939-a915-df7d46e01ddd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"ee96e0ca-01a2-4634-adee-7fec618c9d6e","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"43ed40f4-6262-4939-a915-df7d46e01ddd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"43ed40f4-6262-4939-a915-df7d46e01ddd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"43ed40f4-6262-4939-a915-df7d46e01ddd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"43ed40f4-6262-4939-a915-df7d46e01ddd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/ee96e0ca-01a2-4634-adee-7fec618c9d6e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ee96e0ca-01a2-4634-adee-7fec618c9d6e","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d089fc0a6f68417f6cc632f71dcf796d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d089fc0a6f68417f6cc632f71dcf796d","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/ee96e0ca-01a2-4634-adee-7fec618c9d6e"}}},"level":"info","message":"received a callback","requestID":"d089fc0a6f68417f6cc632f71dcf796d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"d089fc0a6f68417f6cc632f71dcf796d","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"d089fc0a6f68417f6cc632f71dcf796d"} device-1 | {"device":"b02b7c87-40a0-4674-8810-a913387740f7","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"b02b7c87-40a0-4674-8810-a913387740f7","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"b02b7c87-40a0-4674-8810-a913387740f7","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"ee96e0ca-01a2-4634-adee-7fec618c9d6e","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"43ed40f4-6262-4939-a915-df7d46e01ddd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"b02b7c87-40a0-4674-8810-a913387740f7","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"43ed40f4-6262-4939-a915-df7d46e01ddd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"b02b7c87-40a0-4674-8810-a913387740f7","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"ee96e0ca-01a2-4634-adee-7fec618c9d6e","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/ee96e0ca-01a2-4634-adee-7fec618c9d6e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ee96e0ca-01a2-4634-adee-7fec618c9d6e","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f438e956585810d1ab3411cecff4dbdb","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f438e956585810d1ab3411cecff4dbdb","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/ee96e0ca-01a2-4634-adee-7fec618c9d6e"}}},"level":"info","message":"received a callback","requestID":"f438e956585810d1ab3411cecff4dbdb"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"50fc0a30-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":827,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fee96e0ca-01a2-4634-adee-7fec618c9d6e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"aaaaf158-185c-44d3-b32d-a47d8f1b5a5c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.385975} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":827,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.690353,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/ee96e0ca-01a2-4634-adee-7fec618c9d6e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"50fc0a30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/ee96e0ca-01a2-4634-adee-7fec618c9d6e","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"50fc0a30-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"50fc0a30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/ee96e0ca-01a2-4634-adee-7fec618c9d6e 200 12ms","method":"GET","requestID":"50fc0a30-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/peerconnections/ee96e0ca-01a2-4634-adee-7fec618c9d6e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 43ms","method":"POST","requestID":"f438e956585810d1ab3411cecff4dbdb","responseTime":43,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.047","http_referrer":"","http_user_agent":"node-fetch","requestID":"f438e956585810d1ab3411cecff4dbdb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5101af80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":828,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a0011e20-d40f-41ea-9161-f899b454da5e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.4226005} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":828,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.365293,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5101af80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"5101af80-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5101af80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/43ed40f4-6262-4939-a915-df7d46e01ddd/signaling 200 14ms","method":"POST","requestID":"5101af80-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/43ed40f4-6262-4939-a915-df7d46e01ddd/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"51042080-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":829,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"08b09a2c-84f1-4b77-9e97-29030fc41bd1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.4385076} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":829,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.495138,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"51042080-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"51042080-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"51042080-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/b02b7c87-40a0-4674-8810-a913387740f7/signaling 200 13ms","method":"POST","requestID":"51042080-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/b02b7c87-40a0-4674-8810-a913387740f7/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5OX0.ocMg8sBPIjvNXpbk3us574wmRT88yDa4WgLbffeqMq4","level":"info","message":"auth send jwt","requestID":"35162c7ced46d5d69a875330271beafa"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"35162c7ced46d5d69a875330271beafa","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc","requestID":"35162c7ced46d5d69a875330271beafa"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":830,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":830,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.20851,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"35162c7ced46d5d69a875330271beafa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676599,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5OX0.ocMg8sBPIjvNXpbk3us574wmRT88yDa4WgLbffeqMq4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"35162c7ced46d5d69a875330271beafa","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc","requestID":"35162c7ced46d5d69a875330271beafa"} gateway-1 | {"time_local":"18/Sep/2024:16:23:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc HTTP/1.1","status": "200","body_bytes_sent":"1369","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"35162c7ced46d5d69a875330271beafa"} experiment-1 | {"level":"info","message":"GET /experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc 200 13ms","method":"GET","requestID":"35162c7ced46d5d69a875330271beafa","responseTime":13,"status":200,"url":"/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5OX0.ocMg8sBPIjvNXpbk3us574wmRT88yDa4WgLbffeqMq4","level":"info","message":"auth send jwt","requestID":"df72105adafa95d0b9fa71de5f05596c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"df72105adafa95d0b9fa71de5f05596c","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc","requestID":"df72105adafa95d0b9fa71de5f05596c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":831,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":831,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.187603,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"df72105adafa95d0b9fa71de5f05596c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676599,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5OX0.ocMg8sBPIjvNXpbk3us574wmRT88yDa4WgLbffeqMq4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"df72105adafa95d0b9fa71de5f05596c","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"},"level":"info","message":"Attempting to finish experiment","requestID":"df72105adafa95d0b9fa71de5f05596c"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"510ecee0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":832,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":832,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.268947,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/ee96e0ca-01a2-4634-adee-7fec618c9d6e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"510ecee0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/ee96e0ca-01a2-4634-adee-7fec618c9d6e","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676599,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5OX0.ocMg8sBPIjvNXpbk3us574wmRT88yDa4WgLbffeqMq4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"510ecee0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"b02b7c87-40a0-4674-8810-a913387740f7","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"b02b7c87-40a0-4674-8810-a913387740f7","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"b02b7c87-40a0-4674-8810-a913387740f7","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"43ed40f4-6262-4939-a915-df7d46e01ddd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"43ed40f4-6262-4939-a915-df7d46e01ddd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"43ed40f4-6262-4939-a915-df7d46e01ddd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/ee96e0ca-01a2-4634-adee-7fec618c9d6e' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/ee96e0ca-01a2-4634-adee-7fec618c9d6e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"ee96e0ca-01a2-4634-adee-7fec618c9d6e","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fee96e0ca-01a2-4634-adee-7fec618c9d6e': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fee96e0ca-01a2-4634-adee-7fec618c9d6e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"62afc99b-b95c-45a8-85cf-5c5a22361425","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.525378} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8904b7a2f648157dc5ecbafb9b1c6387","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1698a78a-1a39-4246-b7b8-8cccf97ebb51","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.5257418} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"8904b7a2f648157dc5ecbafb9b1c6387","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"510ecee0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"14648e663d9bac09d63cca4092aa5a90","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/ee96e0ca-01a2-4634-adee-7fec618c9d6e"}}},"level":"info","message":"received a callback","requestID":"8904b7a2f648157dc5ecbafb9b1c6387"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"14648e663d9bac09d63cca4092aa5a90","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/ee96e0ca-01a2-4634-adee-7fec618c9d6e"}}},"level":"info","message":"received a callback","requestID":"14648e663d9bac09d63cca4092aa5a90"} device-1 | {"data":{"peerconnection":"ee96e0ca-01a2-4634-adee-7fec618c9d6e","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"510ecee0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/ee96e0ca-01a2-4634-adee-7fec618c9d6e 204 48ms","method":"DELETE","requestID":"510ecee0-75da-11ef-ba7c-09eaa4331ae1","responseTime":48,"status":204,"url":"/peerconnections/ee96e0ca-01a2-4634-adee-7fec618c9d6e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"},"level":"info","message":"Successfully finished experiment","requestID":"df72105adafa95d0b9fa71de5f05596c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5118b9f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":833,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F43ed40f4-6262-4939-a915-df7d46e01ddd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a5749234-1230-4f3d-932d-30c3dcf4031d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.5739715} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":833,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.463454,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5118b9f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"5118b9f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5118b9f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/43ed40f4-6262-4939-a915-df7d46e01ddd/signaling 200 13ms","method":"POST","requestID":"5118b9f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/43ed40f4-6262-4939-a915-df7d46e01ddd/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb6b94ac9-6690-4891-beb6-183225bf9fdc': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb6b94ac9-6690-4891-beb6-183225bf9fdc","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"6f97179a-28db-421f-b51a-a31513eacd1d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.5804904} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c33b29f8-6a5d-4ca7-a867-7f9d6b660f79","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.58091} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"df72105adafa95d0b9fa71de5f05596c","responseTime":16,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"511b2af0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":834,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb02b7c87-40a0-4674-8810-a913387740f7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ecb9adf7-f12e-46b7-bf08-a55b89a55e11","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.5881162} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":834,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.899959,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"511b2af0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"511b2af0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"511b2af0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/b02b7c87-40a0-4674-8810-a913387740f7/signaling 200 11ms","method":"POST","requestID":"511b2af0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/b02b7c87-40a0-4674-8810-a913387740f7/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc","requestID":"df72105adafa95d0b9fa71de5f05596c"} gateway-1 | {"time_local":"18/Sep/2024:16:23:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.154","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"df72105adafa95d0b9fa71de5f05596c"} experiment-1 | {"level":"info","message":"DELETE /experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc 204 150ms","method":"DELETE","requestID":"df72105adafa95d0b9fa71de5f05596c","responseTime":150,"status":204,"url":"/experiments/b6b94ac9-6690-4891-beb6-183225bf9fdc"} gateway-1 | {"time_local":"18/Sep/2024:16:23:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3132","request_time":"2.626","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"f0da5a49c10c4e4a420b018ae1e59122"} gateway-1 | {"time_local":"18/Sep/2024:16:23:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3130","request_time":"2.612","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"82365091a2a813b6d77b23d0edfce19e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 112ms","method":"POST","requestID":"8904b7a2f648157dc5ecbafb9b1c6387","responseTime":112,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.117","http_referrer":"","http_user_agent":"node-fetch","requestID":"8904b7a2f648157dc5ecbafb9b1c6387"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 112ms","method":"POST","requestID":"14648e663d9bac09d63cca4092aa5a90","responseTime":112,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.117","http_referrer":"","http_user_agent":"node-fetch","requestID":"14648e663d9bac09d63cca4092aa5a90"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5OX0.ocMg8sBPIjvNXpbk3us574wmRT88yDa4WgLbffeqMq4","level":"info","message":"auth send jwt","requestID":"3780b8576b315955627c1a9fc02fa4b8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3780b8576b315955627c1a9fc02fa4b8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/43ed40f4-6262-4939-a915-df7d46e01ddd' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"3780b8576b315955627c1a9fc02fa4b8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":835,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":835,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.197432,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3780b8576b315955627c1a9fc02fa4b8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676599,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5OX0.ocMg8sBPIjvNXpbk3us574wmRT88yDa4WgLbffeqMq4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3780b8576b315955627c1a9fc02fa4b8","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/b02b7c87-40a0-4674-8810-a913387740f7' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"412c646c-2ec3-47e7-b037-a1008d627215","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.675046} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3780b8576b315955627c1a9fc02fa4b8","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"08c7301d-1c76-473c-bbf3-547ef5d868c1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.6813095} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"3780b8576b315955627c1a9fc02fa4b8","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"3b19454c-b4a9-4a30-ba40-ccdba4b58f7c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.69202} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a9af7432-c1dd-46ce-a335-c4da52dfceb2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.6930408} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"3780b8576b315955627c1a9fc02fa4b8","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:19.691950569Z"}]},"request_id":"0e585f5a-bc4f-4c71-9708-0f32d71125ec","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.6981595} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3780b8576b315955627c1a9fc02fa4b8","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"3780b8576b315955627c1a9fc02fa4b8"} gateway-1 | {"time_local":"18/Sep/2024:16:23:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.060","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3780b8576b315955627c1a9fc02fa4b8"} device-1 | {"level":"info","message":"POST /devices? 201 53ms","method":"POST","requestID":"3780b8576b315955627c1a9fc02fa4b8","responseTime":53,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5OX0.ocMg8sBPIjvNXpbk3us574wmRT88yDa4WgLbffeqMq4","level":"info","message":"auth send jwt","requestID":"e1370cf65c19524b62c46880b807c2af"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e1370cf65c19524b62c46880b807c2af","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e1370cf65c19524b62c46880b807c2af"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":836,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":836,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.076083,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e1370cf65c19524b62c46880b807c2af","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676599,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjU5OX0.ocMg8sBPIjvNXpbk3us574wmRT88yDa4WgLbffeqMq4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e1370cf65c19524b62c46880b807c2af","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"1064fb54-a798-47a9-af12-d0d6cbf3e97d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.7236845} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e1370cf65c19524b62c46880b807c2af","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3ca831bc-6332-4530-a8c0-58e1dbdc8c10","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.729076} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"e1370cf65c19524b62c46880b807c2af","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"fe7657cc-dd14-4342-a540-87196915eebb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.7463334} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b8a5b206-3a1a-414e-a4ca-450521f25bc8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.7465029} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"e1370cf65c19524b62c46880b807c2af","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:19.746305656Z"}]},"request_id":"7c070e2b-da15-4975-b0a0-f283e93d5283","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676599.751338} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e1370cf65c19524b62c46880b807c2af","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e1370cf65c19524b62c46880b807c2af"} gateway-1 | {"time_local":"18/Sep/2024:16:23:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e1370cf65c19524b62c46880b807c2af"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"e1370cf65c19524b62c46880b807c2af","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw","level":"info","message":"auth send jwt","requestID":"277da8ee1e7e85bc36e970c55cf6b381"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"277da8ee1e7e85bc36e970c55cf6b381","responseTime":5,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw","level":"info","message":"auth send jwt","requestID":"9de084cfca4ef50fcaf89d3d2b337485"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"9de084cfca4ef50fcaf89d3d2b337485","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"277da8ee1e7e85bc36e970c55cf6b381"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"9de084cfca4ef50fcaf89d3d2b337485"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":837,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":837,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.963873,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Received request.","req_id":838,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"277da8ee1e7e85bc36e970c55cf6b381","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676600,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"277da8ee1e7e85bc36e970c55cf6b381","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Sent response.","req_id":838,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.880071,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9de084cfca4ef50fcaf89d3d2b337485","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676600,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9de084cfca4ef50fcaf89d3d2b337485","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:19.746305656Z"}]},"request_id":"9299548a-d7ed-4739-8c61-f8a91f90365c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.2306666} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"277da8ee1e7e85bc36e970c55cf6b381","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:19.691950569Z"}]},"request_id":"c8309c2d-16fe-4220-a107-5b43fc44134c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.23137} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"9de084cfca4ef50fcaf89d3d2b337485","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2f94034c-7dff-4ba4-991c-293a2d4b95aa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.235889} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"277da8ee1e7e85bc36e970c55cf6b381","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"db978156-7a22-4544-9492-8643b94e4e27","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.2377636} authorization-1 | {"level":"info","message":"POST /relations/update 200 2ms","method":"POST","requestID":"9de084cfca4ef50fcaf89d3d2b337485","responseTime":2,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:19.691950569Z"}]},"request_id":"388af2a0-1892-4caa-b3f7-211368fc199a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.2404642} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"9de084cfca4ef50fcaf89d3d2b337485","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"9de084cfca4ef50fcaf89d3d2b337485"} gateway-1 | {"time_local":"18/Sep/2024:16:23:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/b548c258-193f-45f9-bc65-19b64ba282fa HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.032","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"9de084cfca4ef50fcaf89d3d2b337485"} device-1 | {"level":"info","message":"PATCH /devices/b548c258-193f-45f9-bc65-19b64ba282fa 200 24ms","method":"PATCH","requestID":"9de084cfca4ef50fcaf89d3d2b337485","responseTime":24,"status":200,"url":"/devices/b548c258-193f-45f9-bc65-19b64ba282fa"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw","level":"info","message":"auth send jwt","requestID":"cb6b24541c4bb899b6e47ceff37dc5ec"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"cb6b24541c4bb899b6e47ceff37dc5ec","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"cb6b24541c4bb899b6e47ceff37dc5ec"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":839,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":839,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.731786,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"cb6b24541c4bb899b6e47ceff37dc5ec","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676600,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"cb6b24541c4bb899b6e47ceff37dc5ec","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:19.746305656Z"}]},"request_id":"0675a39c-03e4-4baf-b184-c8d01e2c9e08","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.2522867} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"277da8ee1e7e85bc36e970c55cf6b381","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"277da8ee1e7e85bc36e970c55cf6b381"} device-1 | {"level":"info","message":"PATCH /devices/9ed1de51-2322-4ed4-85fd-c7643c84a604 200 38ms","method":"PATCH","requestID":"277da8ee1e7e85bc36e970c55cf6b381","responseTime":38,"status":200,"url":"/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604"} gateway-1 | {"time_local":"18/Sep/2024:16:23:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/9ed1de51-2322-4ed4-85fd-c7643c84a604 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.045","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"277da8ee1e7e85bc36e970c55cf6b381"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw","level":"info","message":"auth send jwt","requestID":"4387c9cdca0b16a10d6a3f0c1807e50e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4387c9cdca0b16a10d6a3f0c1807e50e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"4387c9cdca0b16a10d6a3f0c1807e50e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":840,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":840,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.698589,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4387c9cdca0b16a10d6a3f0c1807e50e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676600,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4387c9cdca0b16a10d6a3f0c1807e50e","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"cb6b24541c4bb899b6e47ceff37dc5ec"} device-1 | {"level":"info","message":"POST /devices/b548c258-193f-45f9-bc65-19b64ba282fa/websocket 200 20ms","method":"POST","requestID":"cb6b24541c4bb899b6e47ceff37dc5ec","responseTime":20,"status":200,"url":"/devices/b548c258-193f-45f9-bc65-19b64ba282fa/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:23:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/b548c258-193f-45f9-bc65-19b64ba282fa/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.024","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"cb6b24541c4bb899b6e47ceff37dc5ec"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"4387c9cdca0b16a10d6a3f0c1807e50e"} gateway-1 | {"time_local":"18/Sep/2024:16:23:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/9ed1de51-2322-4ed4-85fd-c7643c84a604/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.020","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"4387c9cdca0b16a10d6a3f0c1807e50e"} device-1 | {"level":"info","message":"POST /devices/9ed1de51-2322-4ed4-85fd-c7643c84a604/websocket 200 16ms","method":"POST","requestID":"4387c9cdca0b16a10d6a3f0c1807e50e","responseTime":16,"status":200,"url":"/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw","level":"info","message":"auth send jwt","requestID":"4ee605016a1ce5d7aeb79f4c5f8a5477"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4ee605016a1ce5d7aeb79f4c5f8a5477","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4ee605016a1ce5d7aeb79f4c5f8a5477"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":841,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":841,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.073311,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4ee605016a1ce5d7aeb79f4c5f8a5477","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676600,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4ee605016a1ce5d7aeb79f4c5f8a5477","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:19.691950569Z"}]},"request_id":"f2fa0e9c-e1ad-49f1-9d1e-1f095118ba95","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.3115394} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4ee605016a1ce5d7aeb79f4c5f8a5477","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4ee605016a1ce5d7aeb79f4c5f8a5477"} gateway-1 | {"time_local":"18/Sep/2024:16:23:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b548c258-193f-45f9-bc65-19b64ba282fa? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4ee605016a1ce5d7aeb79f4c5f8a5477"} device-1 | {"level":"info","message":"GET /devices/b548c258-193f-45f9-bc65-19b64ba282fa? 200 14ms","method":"GET","requestID":"4ee605016a1ce5d7aeb79f4c5f8a5477","responseTime":14,"status":200,"url":"/devices/b548c258-193f-45f9-bc65-19b64ba282fa?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw","level":"info","message":"auth send jwt","requestID":"bdb901baddf9cfa8becdec9543b0e4c5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"bdb901baddf9cfa8becdec9543b0e4c5","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bdb901baddf9cfa8becdec9543b0e4c5"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":842,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":842,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.098802,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"bdb901baddf9cfa8becdec9543b0e4c5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676600,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"bdb901baddf9cfa8becdec9543b0e4c5","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:19.746305656Z"}]},"request_id":"55134568-ed9e-4910-874a-232c89b2159c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.3319528} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"bdb901baddf9cfa8becdec9543b0e4c5","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bdb901baddf9cfa8becdec9543b0e4c5"} device-1 | {"level":"info","message":"GET /devices/9ed1de51-2322-4ed4-85fd-c7643c84a604? 200 14ms","method":"GET","requestID":"bdb901baddf9cfa8becdec9543b0e4c5","responseTime":14,"status":200,"url":"/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9ed1de51-2322-4ed4-85fd-c7643c84a604? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bdb901baddf9cfa8becdec9543b0e4c5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw","level":"info","message":"auth send jwt","requestID":"2349f2ce15342cb1909917b72e9351cc"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"2349f2ce15342cb1909917b72e9351cc","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"2349f2ce15342cb1909917b72e9351cc"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":843,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":843,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.878333,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2349f2ce15342cb1909917b72e9351cc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676600,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2349f2ce15342cb1909917b72e9351cc","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"},"level":"info","message":"Attempting to run experiment","requestID":"2349f2ce15342cb1909917b72e9351cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"},"level":"info","message":"Attempting to book experiment","requestID":"2349f2ce15342cb1909917b72e9351cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"},"level":"info","message":"Successfully booked experiment","requestID":"2349f2ce15342cb1909917b72e9351cc"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"51958b10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5195d930-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":844,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Received request.","req_id":845,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":844,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.876533,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"51958b10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676600,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"51958b10-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Sent response.","req_id":845,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.58277,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5195d930-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676600,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"5195d930-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:19.691950569Z"}]},"request_id":"b3f0c859-e23e-479b-bdee-00a52a9a8734","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.3938975} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"51958b10-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:19.746305656Z"}]},"request_id":"1ee34e18-d42f-41bc-a1d1-24d9e4fedae2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.3946414} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5195d930-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"51958b10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/b548c258-193f-45f9-bc65-19b64ba282fa? 200 16ms","method":"GET","requestID":"51958b10-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/b548c258-193f-45f9-bc65-19b64ba282fa?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5195d930-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/9ed1de51-2322-4ed4-85fd-c7643c84a604? 200 16ms","method":"GET","requestID":"5195d930-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"},"level":"info","message":"Setting up experiment","requestID":"2349f2ce15342cb1909917b72e9351cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"2349f2ce15342cb1909917b72e9351cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"},"level":"info","message":"Successfully locked booking for experiment","requestID":"2349f2ce15342cb1909917b72e9351cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"2349f2ce15342cb1909917b72e9351cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"2349f2ce15342cb1909917b72e9351cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"},"level":"info","message":"Attempting to update booking for experiment","requestID":"2349f2ce15342cb1909917b72e9351cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"},"level":"info","message":"Successfully updated booking for experiment","requestID":"2349f2ce15342cb1909917b72e9351cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"},"level":"info","message":"Successfully set up experiment","requestID":"2349f2ce15342cb1909917b72e9351cc"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"51a03970-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"51a06080-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"},"level":"info","message":"Successfully running experiment","requestID":"2349f2ce15342cb1909917b72e9351cc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"51a0aea0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":846,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":846,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.932793,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"51a03970-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676600,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"51a03970-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Received request.","req_id":847,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Sent response.","req_id":847,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.010125,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"51a06080-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676600,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"51a06080-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":848,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"beb69c51-8366-4f9b-989f-920672671919","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.4648943} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:19.691950569Z"}]},"request_id":"23e31b3c-e844-45c7-9d6c-d30d380ba611","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.4656181} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":848,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.944692,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"51a03970-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"51a0aea0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"51a0aea0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:19.746305656Z"}]},"request_id":"ca14002d-1b88-4f57-8db5-6973ac4fdef8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.4668624} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"51a06080-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"51a0aea0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/b548c258-193f-45f9-bc65-19b64ba282fa/signaling 200 21ms","method":"POST","requestID":"51a0aea0-75da-11ef-ba7c-09eaa4331ae1","responseTime":21,"status":200,"url":"/devices/b548c258-193f-45f9-bc65-19b64ba282fa/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"51a03970-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/b548c258-193f-45f9-bc65-19b64ba282fa? 200 25ms","method":"GET","requestID":"51a03970-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/devices/b548c258-193f-45f9-bc65-19b64ba282fa?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F85ced9a2-fb58-4675-bbc5-e98b6d500b4a#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F85ced9a2-fb58-4675-bbc5-e98b6d500b4a","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"ae5bdc06-c3c9-458d-8a0c-b8383d8b57c3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.4801366} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fc562c8b-bc1d-46e6-9d8b-b078bc04bf16","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.4803832} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"51a43110-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"2349f2ce15342cb1909917b72e9351cc","responseTime":21,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"51a06080-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/9ed1de51-2322-4ed4-85fd-c7643c84a604? 200 27ms","method":"GET","requestID":"51a06080-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":200,"url":"/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":849,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"68e69da2-256a-4e2a-a215-3b0dbdefd4d3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.4861627} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":849,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.914997,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"51a590a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"51a43110-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"51a43110-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"2349f2ce15342cb1909917b72e9351cc"} gateway-1 | {"time_local":"18/Sep/2024:16:23:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1296","request_time":"0.155","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2349f2ce15342cb1909917b72e9351cc"} experiment-1 | {"level":"info","message":"POST /experiments? 201 150ms","method":"POST","requestID":"2349f2ce15342cb1909917b72e9351cc","responseTime":150,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":850,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"51a43110-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/9ed1de51-2322-4ed4-85fd-c7643c84a604/signaling 200 14ms","method":"POST","requestID":"51a43110-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0c32c808-6b0c-4ebe-98af-0735098faebc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.495754} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":850,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.30158,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"51a590a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw","level":"info","message":"auth send jwt","requestID":"2bbfd2af60dda554919ce888a7102ea9"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"51a590a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"2bbfd2af60dda554919ce888a7102ea9","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2bbfd2af60dda554919ce888a7102ea9"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":851,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"51a590a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/b548c258-193f-45f9-bc65-19b64ba282fa/signaling 200 12ms","method":"POST","requestID":"51a590a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/b548c258-193f-45f9-bc65-19b64ba282fa/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":851,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.930559,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2bbfd2af60dda554919ce888a7102ea9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676600,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2bbfd2af60dda554919ce888a7102ea9","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"51a7da90-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":852,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:19.691950569Z"}]},"request_id":"2c77eb99-51f7-4817-8988-b8c95280393c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.5089462} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3ee97ccb-61aa-4014-add8-c6dc43fdea9c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.509095} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2bbfd2af60dda554919ce888a7102ea9","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":852,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.252262,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"51a7da90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"51a7da90-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2bbfd2af60dda554919ce888a7102ea9"} device-1 | {"level":"info","message":"GET /devices/b548c258-193f-45f9-bc65-19b64ba282fa? 200 15ms","method":"GET","requestID":"2bbfd2af60dda554919ce888a7102ea9","responseTime":15,"status":200,"url":"/devices/b548c258-193f-45f9-bc65-19b64ba282fa?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b548c258-193f-45f9-bc65-19b64ba282fa? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2bbfd2af60dda554919ce888a7102ea9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"51a7da90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/9ed1de51-2322-4ed4-85fd-c7643c84a604/signaling 200 9ms","method":"POST","requestID":"51a7da90-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"2349f2ce15342cb1909917b72e9351cc"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"51a9af50-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw","level":"info","message":"auth send jwt","requestID":"cca356ba045dd24a5659225823cd2321"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"51a9d660-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"cca356ba045dd24a5659225823cd2321","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cca356ba045dd24a5659225823cd2321"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":853,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":853,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.672131,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Received request.","req_id":854,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"51a9af50-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676600,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"51a9af50-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57758","level":"info","msg":"Sent response.","req_id":854,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.61792,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"51a9d660-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676600,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"51a9d660-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":855,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":855,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.57878,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"cca356ba045dd24a5659225823cd2321","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676600,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"cca356ba045dd24a5659225823cd2321","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:19.691950569Z"}]},"request_id":"0909699b-f353-46c6-bf32-854894026ec1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.5248504} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"51a9af50-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:19.746305656Z"}]},"request_id":"405bf8d8-f70b-4e96-aa76-283ce436f9fd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.526359} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"51a9d660-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:19.746305656Z"}]},"request_id":"dcbab37f-87b8-4ed6-9149-4b24728080d9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.5280573} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"cca356ba045dd24a5659225823cd2321","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"51a9af50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/b548c258-193f-45f9-bc65-19b64ba282fa? 200 13ms","method":"GET","requestID":"51a9af50-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/b548c258-193f-45f9-bc65-19b64ba282fa?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"51a9d660-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/9ed1de51-2322-4ed4-85fd-c7643c84a604? 200 16ms","method":"GET","requestID":"51a9d660-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cca356ba045dd24a5659225823cd2321"} device-1 | {"level":"info","message":"GET /devices/9ed1de51-2322-4ed4-85fd-c7643c84a604? 200 16ms","method":"GET","requestID":"cca356ba045dd24a5659225823cd2321","responseTime":16,"status":200,"url":"/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9ed1de51-2322-4ed4-85fd-c7643c84a604? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cca356ba045dd24a5659225823cd2321"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"},"level":"info","message":"Building connection plan","requestID":"2349f2ce15342cb1909917b72e9351cc"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"c1504b02-e5cb-45a6-9643-c3d7395e1350"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"cde3441d-f2fa-4d03-99a7-9e8e2c4daca5"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"83fc7c22-e7fe-431e-8970-5834ae52d137"}]},"level":"info","message":"Built pairwise service configurations","requestID":"2349f2ce15342cb1909917b72e9351cc"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"2349f2ce15342cb1909917b72e9351cc"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"51ac9580-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":856,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":856,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.648078,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"51ac9580-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676600,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMH0.gyphK003uvgLQAaccf9o-fJ9okM5TywuVIrb670ubYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"51ac9580-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"3a967fb5-107b-41f1-a52b-60cc2a4fd8d2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.5466268} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b0259b45-40bc-4494-bb54-43cfad1743a1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.5468147} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"51ac9580-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"51ac9580-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"51ac9580-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/de8731da-4617-40bd-a6cc-da4007706555'","requestID":"51ac9580-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/de8731da-4617-40bd-a6cc-da4007706555'","requestID":"51ac9580-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"51ac9580-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 24ms","method":"POST","requestID":"51ac9580-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"51ac9580-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"2349f2ce15342cb1909917b72e9351cc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"51b40f90-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":857,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"00815e0e-103a-4cb7-96bb-af744eed7eeb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.5901496} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":857,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.573074,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"51b40f90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"51b40f90-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"51b40f90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/b548c258-193f-45f9-bc65-19b64ba282fa/signaling 200 9ms","method":"POST","requestID":"51b40f90-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/b548c258-193f-45f9-bc65-19b64ba282fa/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"51b5bd40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":858,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"726817ab-c8f9-43b3-90db-fb676aeea0df","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676600.6008604} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":858,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.500381,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"51b5bd40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"51b5bd40-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"51b5bd40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/9ed1de51-2322-4ed4-85fd-c7643c84a604/signaling 200 8ms","method":"POST","requestID":"51b5bd40-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604/signaling"} device-1 | {"device":"b548c258-193f-45f9-bc65-19b64ba282fa","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"de8731da-4617-40bd-a6cc-da4007706555","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"9ed1de51-2322-4ed4-85fd-c7643c84a604","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"de8731da-4617-40bd-a6cc-da4007706555","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"9ed1de51-2322-4ed4-85fd-c7643c84a604","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"9ed1de51-2322-4ed4-85fd-c7643c84a604","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"9ed1de51-2322-4ed4-85fd-c7643c84a604","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"9ed1de51-2322-4ed4-85fd-c7643c84a604","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/de8731da-4617-40bd-a6cc-da4007706555' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"de8731da-4617-40bd-a6cc-da4007706555","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7df3a79ded5e3a5da05ed5c66dae6adf","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"7df3a79ded5e3a5da05ed5c66dae6adf","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/de8731da-4617-40bd-a6cc-da4007706555"}}},"level":"info","message":"received a callback","requestID":"7df3a79ded5e3a5da05ed5c66dae6adf"} device-1 | {"device":"b548c258-193f-45f9-bc65-19b64ba282fa","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"b548c258-193f-45f9-bc65-19b64ba282fa","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"b548c258-193f-45f9-bc65-19b64ba282fa","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 10ms","method":"POST","requestID":"7df3a79ded5e3a5da05ed5c66dae6adf","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch","requestID":"7df3a79ded5e3a5da05ed5c66dae6adf"} device-1 | {"data":{"peerconnection":"de8731da-4617-40bd-a6cc-da4007706555","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"9ed1de51-2322-4ed4-85fd-c7643c84a604","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"b548c258-193f-45f9-bc65-19b64ba282fa","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"9ed1de51-2322-4ed4-85fd-c7643c84a604","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"b548c258-193f-45f9-bc65-19b64ba282fa","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"de8731da-4617-40bd-a6cc-da4007706555","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/de8731da-4617-40bd-a6cc-da4007706555' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"de8731da-4617-40bd-a6cc-da4007706555","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0e04d62d7430117dbf644d641d151572","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0e04d62d7430117dbf644d641d151572","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/de8731da-4617-40bd-a6cc-da4007706555"}}},"level":"info","message":"received a callback","requestID":"0e04d62d7430117dbf644d641d151572"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"52f2d120-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":859,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:22Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fde8731da-4617-40bd-a6cc-da4007706555","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1718ea30-9baf-4d63-902c-bb380cd29df2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676602.6813738} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":859,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.776707,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:22Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/de8731da-4617-40bd-a6cc-da4007706555","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"52f2d120-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/de8731da-4617-40bd-a6cc-da4007706555","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"52f2d120-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"52f2d120-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/de8731da-4617-40bd-a6cc-da4007706555 200 13ms","method":"GET","requestID":"52f2d120-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/peerconnections/de8731da-4617-40bd-a6cc-da4007706555"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 42ms","method":"POST","requestID":"0e04d62d7430117dbf644d641d151572","responseTime":42,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.047","http_referrer":"","http_user_agent":"node-fetch","requestID":"0e04d62d7430117dbf644d641d151572"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"52f84f60-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":860,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:22Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"774c2386-0f99-4c07-a2e4-951cc59da269","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676602.7170348} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":860,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.118252,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"52f84f60-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"52f84f60-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"52f84f60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/9ed1de51-2322-4ed4-85fd-c7643c84a604/signaling 200 15ms","method":"POST","requestID":"52f84f60-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"52fb0e80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":861,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:22Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6434efe8-f440-468f-a60d-3e57d09fdb1b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676602.7349284} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":861,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.988199,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"52fb0e80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"52fb0e80-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"52fb0e80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/b548c258-193f-45f9-bc65-19b64ba282fa/signaling 200 13ms","method":"POST","requestID":"52fb0e80-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/b548c258-193f-45f9-bc65-19b64ba282fa/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMn0.0O7YlTmUXYASszyC2kA-Pw14lPXcmZMJHm6_mu29X2M","level":"info","message":"auth send jwt","requestID":"21a0fd88d50252ec932366fb6438217f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"21a0fd88d50252ec932366fb6438217f","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a","requestID":"21a0fd88d50252ec932366fb6438217f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":862,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:22Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":862,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.216525,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:22Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"21a0fd88d50252ec932366fb6438217f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676602,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMn0.0O7YlTmUXYASszyC2kA-Pw14lPXcmZMJHm6_mu29X2M"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"21a0fd88d50252ec932366fb6438217f","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a","requestID":"21a0fd88d50252ec932366fb6438217f"} experiment-1 | {"level":"info","message":"GET /experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a 200 15ms","method":"GET","requestID":"21a0fd88d50252ec932366fb6438217f","responseTime":15,"status":200,"url":"/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"} gateway-1 | {"time_local":"18/Sep/2024:16:23:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a HTTP/1.1","status": "200","body_bytes_sent":"1369","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"21a0fd88d50252ec932366fb6438217f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMn0.0O7YlTmUXYASszyC2kA-Pw14lPXcmZMJHm6_mu29X2M","level":"info","message":"auth send jwt","requestID":"d65ace0c0e096c1352b8fa428ace02d7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d65ace0c0e096c1352b8fa428ace02d7","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a","requestID":"d65ace0c0e096c1352b8fa428ace02d7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":863,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:22Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":863,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.173777,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:22Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d65ace0c0e096c1352b8fa428ace02d7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676602,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMn0.0O7YlTmUXYASszyC2kA-Pw14lPXcmZMJHm6_mu29X2M"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d65ace0c0e096c1352b8fa428ace02d7","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"},"level":"info","message":"Attempting to finish experiment","requestID":"d65ace0c0e096c1352b8fa428ace02d7"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"53068030-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":864,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:22Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":864,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.271581,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:22Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/de8731da-4617-40bd-a6cc-da4007706555","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"53068030-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/de8731da-4617-40bd-a6cc-da4007706555","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676602,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMn0.0O7YlTmUXYASszyC2kA-Pw14lPXcmZMJHm6_mu29X2M"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"53068030-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"b548c258-193f-45f9-bc65-19b64ba282fa","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"b548c258-193f-45f9-bc65-19b64ba282fa","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"b548c258-193f-45f9-bc65-19b64ba282fa","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"9ed1de51-2322-4ed4-85fd-c7643c84a604","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"9ed1de51-2322-4ed4-85fd-c7643c84a604","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"9ed1de51-2322-4ed4-85fd-c7643c84a604","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/de8731da-4617-40bd-a6cc-da4007706555' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/de8731da-4617-40bd-a6cc-da4007706555' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"de8731da-4617-40bd-a6cc-da4007706555","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fde8731da-4617-40bd-a6cc-da4007706555': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fde8731da-4617-40bd-a6cc-da4007706555","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"8b4232b8-9c35-4e61-b2d6-c350c33796e3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676602.8318841} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3390b983-af76-43f3-b2f3-9171f8cc36a2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676602.8320534} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a3f1c2cccd24fda980c416cf1afae37f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a3f1c2cccd24fda980c416cf1afae37f","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"53068030-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9b6b4abd158629a09e7f073ed432fe6d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/de8731da-4617-40bd-a6cc-da4007706555"}}},"level":"info","message":"received a callback","requestID":"a3f1c2cccd24fda980c416cf1afae37f"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9b6b4abd158629a09e7f073ed432fe6d","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/de8731da-4617-40bd-a6cc-da4007706555"}}},"level":"info","message":"received a callback","requestID":"9b6b4abd158629a09e7f073ed432fe6d"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"53068030-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/de8731da-4617-40bd-a6cc-da4007706555 204 55ms","method":"DELETE","requestID":"53068030-75da-11ef-ba7c-09eaa4331ae1","responseTime":55,"status":204,"url":"/peerconnections/de8731da-4617-40bd-a6cc-da4007706555"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"},"level":"info","message":"Successfully finished experiment","requestID":"d65ace0c0e096c1352b8fa428ace02d7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5312b530-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":865,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:22Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9ed1de51-2322-4ed4-85fd-c7643c84a604","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b1ac282a-4dbe-4f3c-98c0-b65f94c3bb22","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676602.8902779} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":865,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.798135,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5312b530-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"5312b530-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F85ced9a2-fb58-4675-bbc5-e98b6d500b4a': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F85ced9a2-fb58-4675-bbc5-e98b6d500b4a","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"223c83a0-87e8-43a9-ac6e-bde6f396839a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676602.8961902} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"150a121b-58f9-4aeb-8841-376c020e8676","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676602.8964965} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5312b530-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/9ed1de51-2322-4ed4-85fd-c7643c84a604/signaling 200 15ms","method":"POST","requestID":"5312b530-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"d65ace0c0e096c1352b8fa428ace02d7","responseTime":18,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"53157450-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":866,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:22Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb548c258-193f-45f9-bc65-19b64ba282fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"936abf69-e6ea-4d9c-82c8-97ef6965f33b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676602.9073684} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":866,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.705488,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"53157450-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"53157450-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"53157450-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/b548c258-193f-45f9-bc65-19b64ba282fa/signaling 200 13ms","method":"POST","requestID":"53157450-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/b548c258-193f-45f9-bc65-19b64ba282fa/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a","requestID":"d65ace0c0e096c1352b8fa428ace02d7"} gateway-1 | {"time_local":"18/Sep/2024:16:23:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.185","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d65ace0c0e096c1352b8fa428ace02d7"} experiment-1 | {"level":"info","message":"DELETE /experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a 204 181ms","method":"DELETE","requestID":"d65ace0c0e096c1352b8fa428ace02d7","responseTime":181,"status":204,"url":"/experiments/85ced9a2-fb58-4675-bbc5-e98b6d500b4a"} gateway-1 | {"time_local":"18/Sep/2024:16:23:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3130","request_time":"2.690","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"daeda0ab850efef67a67414f4a61bfad"} gateway-1 | {"time_local":"18/Sep/2024:16:23:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3132","request_time":"2.699","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"6bd3fa45e2a285ee0140c515901afe4c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 133ms","method":"POST","requestID":"a3f1c2cccd24fda980c416cf1afae37f","responseTime":133,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.138","http_referrer":"","http_user_agent":"node-fetch","requestID":"a3f1c2cccd24fda980c416cf1afae37f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 130ms","method":"POST","requestID":"9b6b4abd158629a09e7f073ed432fe6d","responseTime":130,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.139","http_referrer":"","http_user_agent":"node-fetch","requestID":"9b6b4abd158629a09e7f073ed432fe6d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMn0.0O7YlTmUXYASszyC2kA-Pw14lPXcmZMJHm6_mu29X2M","level":"info","message":"auth send jwt","requestID":"1f301b0555f9719d08bfa8a8f84ba3a2"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1f301b0555f9719d08bfa8a8f84ba3a2","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"1f301b0555f9719d08bfa8a8f84ba3a2"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/b548c258-193f-45f9-bc65-19b64ba282fa' closed"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":867,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:22Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":867,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.815289,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:22Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1f301b0555f9719d08bfa8a8f84ba3a2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676602,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwMn0.0O7YlTmUXYASszyC2kA-Pw14lPXcmZMJHm6_mu29X2M"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1f301b0555f9719d08bfa8a8f84ba3a2","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/9ed1de51-2322-4ed4-85fd-c7643c84a604' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"0a1888e3-85ef-49a5-a320-450db21cf9a0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676602.9985535} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1f301b0555f9719d08bfa8a8f84ba3a2","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"00fc8421-7742-417c-a7d0-0cdb7cafb344","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676603.0056365} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"1f301b0555f9719d08bfa8a8f84ba3a2","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"5471f877-6f9d-4ece-b66d-1a98b5fa69d0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676603.0163677} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e6ab6e87-06db-4e88-a44c-4e9ab8653275","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676603.0184677} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"1f301b0555f9719d08bfa8a8f84ba3a2","responseTime":15,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:23.016330060Z"}]},"request_id":"ae6666fc-147b-4b47-ba2a-920c60b9c30a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676603.0238774} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1f301b0555f9719d08bfa8a8f84ba3a2","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"1f301b0555f9719d08bfa8a8f84ba3a2"} gateway-1 | {"time_local":"18/Sep/2024:16:23:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.057","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1f301b0555f9719d08bfa8a8f84ba3a2"} device-1 | {"level":"info","message":"POST /devices? 201 50ms","method":"POST","requestID":"1f301b0555f9719d08bfa8a8f84ba3a2","responseTime":50,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwM30.9sP61dhAtPj_3xDzN3eZYaEOdU-taG-m8rSQFY1Pmts","level":"info","message":"auth send jwt","requestID":"b0b40ef8c90b0e0b9982a831c197ff31"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b0b40ef8c90b0e0b9982a831c197ff31","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"b0b40ef8c90b0e0b9982a831c197ff31"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":868,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:23Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":868,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.826764,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:23Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b0b40ef8c90b0e0b9982a831c197ff31","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676603,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwM30.9sP61dhAtPj_3xDzN3eZYaEOdU-taG-m8rSQFY1Pmts"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b0b40ef8c90b0e0b9982a831c197ff31","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"0b852aef-fae8-44e0-af0e-82b4df5688d0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676603.0557559} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b0b40ef8c90b0e0b9982a831c197ff31","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"afe8f03c-470a-474f-ac0a-b49d2433f048","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676603.061297} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"b0b40ef8c90b0e0b9982a831c197ff31","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"c499e6b6-1e66-43c5-ba20-bd7d6499f679","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676603.0729003} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d037d414-0fed-46b2-b2ae-4abfd4d89410","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676603.073043} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"b0b40ef8c90b0e0b9982a831c197ff31","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:23.072871663Z"}]},"request_id":"d28fd34e-8817-461a-962a-172d4f08a7a0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676603.0780716} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b0b40ef8c90b0e0b9982a831c197ff31","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b0b40ef8c90b0e0b9982a831c197ff31"} gateway-1 | {"time_local":"18/Sep/2024:16:23:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b0b40ef8c90b0e0b9982a831c197ff31"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"b0b40ef8c90b0e0b9982a831c197ff31","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"290482a2ff20b5881883ed4b95bf06ec","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"290482a2ff20b5881883ed4b95bf06ec","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"290482a2ff20b5881883ed4b95bf06ec"} device-1 | {"level":"info","message":"OPTIONS /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5/websocket 200 1ms","method":"OPTIONS","requestID":"290482a2ff20b5881883ed4b95bf06ec","responseTime":1,"status":200,"url":"/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo","level":"info","message":"auth send jwt","requestID":"5643e5ea97d10042fb79b25e63ec9576"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5643e5ea97d10042fb79b25e63ec9576","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"5643e5ea97d10042fb79b25e63ec9576"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":869,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":869,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.72596,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5643e5ea97d10042fb79b25e63ec9576","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5643e5ea97d10042fb79b25e63ec9576","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"eedf68bde0a467b209c079977fdd6bf5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"eedf68bde0a467b209c079977fdd6bf5","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/c55a7a52-1661-4c73-b445-d07542e734ab/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.006","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"eedf68bde0a467b209c079977fdd6bf5"} device-1 | {"level":"info","message":"OPTIONS /devices/c55a7a52-1661-4c73-b445-d07542e734ab/websocket 200 1ms","method":"OPTIONS","requestID":"eedf68bde0a467b209c079977fdd6bf5","responseTime":1,"status":200,"url":"/devices/c55a7a52-1661-4c73-b445-d07542e734ab/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo","level":"info","message":"auth send jwt","requestID":"1d0d398c087f3288eb9d5b30b0aadd19"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"1d0d398c087f3288eb9d5b30b0aadd19","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"5643e5ea97d10042fb79b25e63ec9576"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.029","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"5643e5ea97d10042fb79b25e63ec9576"} device-1 | {"level":"info","message":"POST /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5/websocket 200 23ms","method":"POST","requestID":"5643e5ea97d10042fb79b25e63ec9576","responseTime":23,"status":200,"url":"/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"1d0d398c087f3288eb9d5b30b0aadd19"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":870,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":870,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.83094,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1d0d398c087f3288eb9d5b30b0aadd19","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1d0d398c087f3288eb9d5b30b0aadd19","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"device 'http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5' connected"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"1d0d398c087f3288eb9d5b30b0aadd19"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c55a7a52-1661-4c73-b445-d07542e734ab/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.031","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"1d0d398c087f3288eb9d5b30b0aadd19"} device-1 | {"level":"info","message":"POST /devices/c55a7a52-1661-4c73-b445-d07542e734ab/websocket 200 24ms","method":"POST","requestID":"1d0d398c087f3288eb9d5b30b0aadd19","responseTime":24,"status":200,"url":"/devices/c55a7a52-1661-4c73-b445-d07542e734ab/websocket"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"70f90f5cd310bcb9823bce44e75af13c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"70f90f5cd310bcb9823bce44e75af13c","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"70f90f5cd310bcb9823bce44e75af13c"} device-1 | {"level":"info","message":"OPTIONS /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5? 200 1ms","method":"OPTIONS","requestID":"70f90f5cd310bcb9823bce44e75af13c","responseTime":1,"status":200,"url":"/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo","level":"info","message":"auth send jwt","requestID":"a2be31cd54383a8430471e7cd31b00fb"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a2be31cd54383a8430471e7cd31b00fb","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"a2be31cd54383a8430471e7cd31b00fb"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab' connected"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":871,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":871,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.748754,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a2be31cd54383a8430471e7cd31b00fb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a2be31cd54383a8430471e7cd31b00fb","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:23.072871663Z"}]},"request_id":"25695c1e-5a6b-4e8e-ae79-26f1de102079","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.1057198} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a2be31cd54383a8430471e7cd31b00fb","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"43d41278-04e4-4353-a33f-6d72a3d84300","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.1101341} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"a2be31cd54383a8430471e7cd31b00fb","responseTime":3,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8b44f6e6906d13d1293d29ee8bd8ff18","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"8b44f6e6906d13d1293d29ee8bd8ff18","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/c55a7a52-1661-4c73-b445-d07542e734ab? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"8b44f6e6906d13d1293d29ee8bd8ff18"} device-1 | {"level":"info","message":"OPTIONS /devices/c55a7a52-1661-4c73-b445-d07542e734ab? 200 0ms","method":"OPTIONS","requestID":"8b44f6e6906d13d1293d29ee8bd8ff18","responseTime":0,"status":200,"url":"/devices/c55a7a52-1661-4c73-b445-d07542e734ab?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo","level":"info","message":"auth send jwt","requestID":"f4aec8b3000d833c2112ef3caba0bcb7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f4aec8b3000d833c2112ef3caba0bcb7","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:23.072871663Z"}]},"request_id":"c4a81263-dc53-4d13-8484-95edb7df61d9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.1204262} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"f4aec8b3000d833c2112ef3caba0bcb7"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a2be31cd54383a8430471e7cd31b00fb","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"a2be31cd54383a8430471e7cd31b00fb"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":872,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} device-1 | {"level":"info","message":"PATCH /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5? 200 25ms","method":"PATCH","requestID":"a2be31cd54383a8430471e7cd31b00fb","responseTime":25,"status":200,"url":"/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.030","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"a2be31cd54383a8430471e7cd31b00fb"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":872,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.678971,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f4aec8b3000d833c2112ef3caba0bcb7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f4aec8b3000d833c2112ef3caba0bcb7","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:23.016330060Z"}]},"request_id":"873b0d57-3e10-466b-8884-4cc28dcba95e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.1291933} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f4aec8b3000d833c2112ef3caba0bcb7","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9bd2a255-e186-47f5-b0c9-e46aed2742a8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.1344132} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"f4aec8b3000d833c2112ef3caba0bcb7","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:23.016330060Z"}]},"request_id":"c0ba72f5-1c7d-49fd-ab99-412cf047a40a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.1499748} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f4aec8b3000d833c2112ef3caba0bcb7","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"f4aec8b3000d833c2112ef3caba0bcb7"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c55a7a52-1661-4c73-b445-d07542e734ab? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.037","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f4aec8b3000d833c2112ef3caba0bcb7"} device-1 | {"level":"info","message":"PATCH /devices/c55a7a52-1661-4c73-b445-d07542e734ab? 200 32ms","method":"PATCH","requestID":"f4aec8b3000d833c2112ef3caba0bcb7","responseTime":32,"status":200,"url":"/devices/c55a7a52-1661-4c73-b445-d07542e734ab?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo","level":"info","message":"auth send jwt","requestID":"467347bca9e9207cfeaccd62b95622f6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"467347bca9e9207cfeaccd62b95622f6","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"467347bca9e9207cfeaccd62b95622f6"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":873,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":873,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.72187,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"467347bca9e9207cfeaccd62b95622f6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"467347bca9e9207cfeaccd62b95622f6","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:23.016330060Z"}]},"request_id":"cbd7e7b5-a194-44d6-aa8a-a7e4bb360da0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.1722157} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"467347bca9e9207cfeaccd62b95622f6","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"467347bca9e9207cfeaccd62b95622f6"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c55a7a52-1661-4c73-b445-d07542e734ab? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"467347bca9e9207cfeaccd62b95622f6"} device-1 | {"level":"info","message":"GET /devices/c55a7a52-1661-4c73-b445-d07542e734ab? 200 10ms","method":"GET","requestID":"467347bca9e9207cfeaccd62b95622f6","responseTime":10,"status":200,"url":"/devices/c55a7a52-1661-4c73-b445-d07542e734ab?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo","level":"info","message":"auth send jwt","requestID":"5fcc3ea42f87693c90b23172d0306e18"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5fcc3ea42f87693c90b23172d0306e18","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5fcc3ea42f87693c90b23172d0306e18"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":874,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":874,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.87056,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5fcc3ea42f87693c90b23172d0306e18","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5fcc3ea42f87693c90b23172d0306e18","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:23.072871663Z"}]},"request_id":"157c77c3-5b8d-49d0-be26-1e80aa468b7e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.189275} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5fcc3ea42f87693c90b23172d0306e18","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5fcc3ea42f87693c90b23172d0306e18"} device-1 | {"level":"info","message":"GET /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5? 200 12ms","method":"GET","requestID":"5fcc3ea42f87693c90b23172d0306e18","responseTime":12,"status":200,"url":"/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5fcc3ea42f87693c90b23172d0306e18"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo","level":"info","message":"auth send jwt","requestID":"73b3da7ec738b494a999ecb8021a99ce"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"73b3da7ec738b494a999ecb8021a99ce","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"73b3da7ec738b494a999ecb8021a99ce"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":875,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":875,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.52883,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"73b3da7ec738b494a999ecb8021a99ce","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"73b3da7ec738b494a999ecb8021a99ce","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83"},"level":"info","message":"Attempting to run experiment","requestID":"73b3da7ec738b494a999ecb8021a99ce"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83"},"level":"info","message":"Attempting to book experiment","requestID":"73b3da7ec738b494a999ecb8021a99ce"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83"},"level":"info","message":"Successfully booked experiment","requestID":"73b3da7ec738b494a999ecb8021a99ce"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"547ad0b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"547b1ed0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":876,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":876,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.333444,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"547ad0b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"547ad0b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":877,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":877,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.939331,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"547b1ed0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"547b1ed0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:23.016330060Z"}]},"request_id":"04d198b8-9d8e-4a0e-ad9a-66ec908768b9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.2552552} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"547ad0b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:23.072871663Z"}]},"request_id":"c74abc16-24f7-4606-8680-3ea694cb109e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.260818} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"547b1ed0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"547ad0b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/c55a7a52-1661-4c73-b445-d07542e734ab? 200 20ms","method":"GET","requestID":"547ad0b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/c55a7a52-1661-4c73-b445-d07542e734ab?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"547b1ed0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5? 200 25ms","method":"GET","requestID":"547b1ed0-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83"},"level":"info","message":"Setting up experiment","requestID":"73b3da7ec738b494a999ecb8021a99ce"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"73b3da7ec738b494a999ecb8021a99ce"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83"},"level":"info","message":"Successfully locked booking for experiment","requestID":"73b3da7ec738b494a999ecb8021a99ce"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"73b3da7ec738b494a999ecb8021a99ce"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"73b3da7ec738b494a999ecb8021a99ce"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83"},"level":"info","message":"Attempting to update booking for experiment","requestID":"73b3da7ec738b494a999ecb8021a99ce"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83"},"level":"info","message":"Successfully updated booking for experiment","requestID":"73b3da7ec738b494a999ecb8021a99ce"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83"},"level":"info","message":"Successfully set up experiment","requestID":"73b3da7ec738b494a999ecb8021a99ce"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5486b790-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"548705b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"548753d0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83"},"level":"info","message":"Successfully running experiment","requestID":"73b3da7ec738b494a999ecb8021a99ce"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":878,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":878,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.562475,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":879,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5486b790-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5486b790-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":879,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.195277,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"548705b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"548705b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37128","level":"info","msg":"Received request.","req_id":880,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:23.016330060Z"}]},"request_id":"a0a24965-fe2e-4a5e-9fd0-a92eb38e5f22","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.3374622} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e478bf00-d809-41a9-8171-48bdc9cdc640","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.3380382} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"5486b790-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:23.072871663Z"}]},"request_id":"85640b42-3c70-4418-a4fe-18484930eab6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.339254} authorization-1 | {"client_addr":"127.0.0.1:37128","level":"info","msg":"Sent response.","req_id":880,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.346551,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"548753d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 13ms","method":"POST","requestID":"548753d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"548705b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5486b790-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/c55a7a52-1661-4c73-b445-d07542e734ab? 200 27ms","method":"GET","requestID":"5486b790-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":200,"url":"/devices/c55a7a52-1661-4c73-b445-d07542e734ab?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"548753d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c55a7a52-1661-4c73-b445-d07542e734ab/signaling 200 25ms","method":"POST","requestID":"548753d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/devices/c55a7a52-1661-4c73-b445-d07542e734ab/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"548705b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5? 200 30ms","method":"GET","requestID":"548705b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":30,"status":200,"url":"/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9a58b5e0-2982-48f5-badc-9f29a7171c1f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.3524513} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1295809f-a369-41ba-94d9-d72531661e83#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1295809f-a369-41ba-94d9-d72531661e83","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"7d053092-c586-4593-8621-8f089493dc56","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.3528547} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"548bc0a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"548be7b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"73b3da7ec738b494a999ecb8021a99ce","responseTime":25,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":881,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":882,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b7f60d02-dc1f-4823-bb4a-918418545de9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.3608215} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":881,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.426891,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"548bc0a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"548bc0a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bf26ab8d-a81d-4d37-b971-fafc96b0ee31","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.3626394} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":882,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.674116,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"73b3da7ec738b494a999ecb8021a99ce"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"548be7b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1288","request_time":"0.170","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"73b3da7ec738b494a999ecb8021a99ce"} experiment-1 | {"level":"info","message":"POST /experiments? 201 165ms","method":"POST","requestID":"73b3da7ec738b494a999ecb8021a99ce","responseTime":165,"status":201,"url":"/experiments?"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"548be7b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"548bc0a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5/signaling 200 13ms","method":"POST","requestID":"548bc0a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"548be7b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c55a7a52-1661-4c73-b445-d07542e734ab/signaling 200 14ms","method":"POST","requestID":"548be7b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/c55a7a52-1661-4c73-b445-d07542e734ab/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo","level":"info","message":"auth send jwt","requestID":"4e2e851e16e972621cff39c65df626fe"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"548e7fc0-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"4e2e851e16e972621cff39c65df626fe","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4e2e851e16e972621cff39c65df626fe"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":883,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":884,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":884,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.765475,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4e2e851e16e972621cff39c65df626fe","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4e2e851e16e972621cff39c65df626fe","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3142abd1-3abb-4eac-961d-6a4323893e7c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.3791766} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":883,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.267572,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"548e7fc0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"548e7fc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:23.016330060Z"}]},"request_id":"2d234751-7507-46c0-892a-bece4ab18ff0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.3848293} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"548e7fc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5/signaling 200 14ms","method":"POST","requestID":"548e7fc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4e2e851e16e972621cff39c65df626fe","responseTime":4,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"73b3da7ec738b494a999ecb8021a99ce"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5490f0c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"549117d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4e2e851e16e972621cff39c65df626fe"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c55a7a52-1661-4c73-b445-d07542e734ab? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4e2e851e16e972621cff39c65df626fe"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":885,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} device-1 | {"level":"info","message":"GET /devices/c55a7a52-1661-4c73-b445-d07542e734ab? 200 18ms","method":"GET","requestID":"4e2e851e16e972621cff39c65df626fe","responseTime":18,"status":200,"url":"/devices/c55a7a52-1661-4c73-b445-d07542e734ab?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":885,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.97017,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5490f0c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5490f0c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":886,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":886,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.765813,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"549117d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"549117d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo","level":"info","message":"auth send jwt","requestID":"3012bbc22af466e9e195d3d6578ebb16"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3012bbc22af466e9e195d3d6578ebb16","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3012bbc22af466e9e195d3d6578ebb16"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:23.016330060Z"}]},"request_id":"9e902595-c1bf-48a2-b5ba-e0d5fc52cba5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.399754} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"5490f0c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:23.072871663Z"}]},"request_id":"16c08369-cf63-4fb7-a3b7-d6dd0f7c5ee9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.4017162} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"549117d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":887,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":887,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.629661,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3012bbc22af466e9e195d3d6578ebb16","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5490f0c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3012bbc22af466e9e195d3d6578ebb16","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/c55a7a52-1661-4c73-b445-d07542e734ab? 200 19ms","method":"GET","requestID":"5490f0c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/c55a7a52-1661-4c73-b445-d07542e734ab?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"549117d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5? 200 19ms","method":"GET","requestID":"549117d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:23.072871663Z"}]},"request_id":"2146167b-a7a9-47fc-a3be-208c02082d13","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.4100745} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83"},"level":"info","message":"Building connection plan","requestID":"73b3da7ec738b494a999ecb8021a99ce"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"a7b36ab9-d49f-4651-8ac4-2e64294346b5"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"7115b99e-1bd0-4fa2-adf5-1f3e15844b1b"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"b8c01b14-204c-452d-8660-c300b0b76e01"}]},"level":"info","message":"Built pairwise service configurations","requestID":"73b3da7ec738b494a999ecb8021a99ce"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3012bbc22af466e9e195d3d6578ebb16","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3012bbc22af466e9e195d3d6578ebb16"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"54949a40-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"54949a40-75da-11ef-9672-db8da4810e4b"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3012bbc22af466e9e195d3d6578ebb16"} device-1 | {"level":"info","message":"GET /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5? 200 14ms","method":"GET","requestID":"3012bbc22af466e9e195d3d6578ebb16","responseTime":14,"status":200,"url":"/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5?"} forwarding-1 | {"level":"info","message":"POST /rooms 201 2ms","method":"POST","requestID":"54949a40-75da-11ef-9672-db8da4810e4b","responseTime":2,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/2686a3d9-7db6-4e09-9eba-9569c62be613?id=4b4f1384-d2fb-444f-a2fa-1158fa0c59b9","ws://localhost/rooms/2686a3d9-7db6-4e09-9eba-9569c62be613?id=0203730b-6ff1-4c3e-9693-d27b711ee633"]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"73b3da7ec738b494a999ecb8021a99ce"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"54953680-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":888,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":888,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.682143,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"54953680-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"54953680-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"f765a963-24aa-4cde-ae5b-72fa890d86bc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.427969} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"02567063-9345-41fb-b336-2e9fd9dd8099","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.428234} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"54953680-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"54953680-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"54953680-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179'","requestID":"54953680-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179'","requestID":"54953680-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"54953680-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 24ms","method":"POST","requestID":"54953680-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"54953680-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"7995f18d-bb5c-48fb-9a60-bd3aea372179","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"549ab4c0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"0203730b-6ff1-4c3e-9693-d27b711ee633\" in room \"http://localhost/rooms/2686a3d9-7db6-4e09-9eba-9569c62be613\"","requestID":"549ab4c0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"549ab4c0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"549adbd0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"4b4f1384-d2fb-444f-a2fa-1158fa0c59b9\" in room \"http://localhost/rooms/2686a3d9-7db6-4e09-9eba-9569c62be613\"","requestID":"549adbd0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"549adbd0-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3db513894c952874dbe2630cacb1dd52","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"3db513894c952874dbe2630cacb1dd52","responseTime":2,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"0203730b-6ff1-4c3e-9693-d27b711ee633\" in room \"http://localhost/rooms/2686a3d9-7db6-4e09-9eba-9569c62be613\""} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179"}}},"level":"info","message":"received a callback","requestID":"3db513894c952874dbe2630cacb1dd52"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"0203730b-6ff1-4c3e-9693-d27b711ee633\" in room \"http://localhost/rooms/2686a3d9-7db6-4e09-9eba-9569c62be613\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"0203730b-6ff1-4c3e-9693-d27b711ee633\" in room \"http://localhost/rooms/2686a3d9-7db6-4e09-9eba-9569c62be613\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"0203730b-6ff1-4c3e-9693-d27b711ee633\" in room \"http://localhost/rooms/2686a3d9-7db6-4e09-9eba-9569c62be613\""} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"3db513894c952874dbe2630cacb1dd52","responseTime":8,"status":200,"url":"/callbacks/experiment"} device-1 | {"data":{"peerconnection":"7995f18d-bb5c-48fb-9a60-bd3aea372179","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"3db513894c952874dbe2630cacb1dd52"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"73b3da7ec738b494a999ecb8021a99ce"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"549eac60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"data":{"peerconnection":"7995f18d-bb5c-48fb-9a60-bd3aea372179","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":889,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9451e165-9b79-4515-9ee7-0a86b99025dc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.4833052} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":889,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.97112,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"549eac60-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"549eac60-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"7995f18d-bb5c-48fb-9a60-bd3aea372179","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"549eac60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c55a7a52-1661-4c73-b445-d07542e734ab/signaling 200 15ms","method":"POST","requestID":"549eac60-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/c55a7a52-1661-4c73-b445-d07542e734ab/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ad090db20903df80a912c153ca7adda6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ad090db20903df80a912c153ca7adda6","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"54a14470-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179"}}},"level":"info","message":"received a callback","requestID":"ad090db20903df80a912c153ca7adda6"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":890,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4fb9d06e-d2b7-4de9-801b-d748d020c699","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.501109} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":890,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.385917,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"54a255e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"54a14470-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"54a14470-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":891,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"54a14470-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5/signaling 200 10ms","method":"POST","requestID":"54a14470-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F7995f18d-bb5c-48fb-9a60-bd3aea372179","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3d4db8f2-ac9a-4a57-b2d4-9ecc00155dd3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.5062184} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":891,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.847469,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"54a255e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"54a255e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"54a255e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179 200 8ms","method":"GET","requestID":"54a255e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 33ms","method":"POST","requestID":"ad090db20903df80a912c153ca7adda6","responseTime":33,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.038","http_referrer":"","http_user_agent":"node-fetch","requestID":"ad090db20903df80a912c153ca7adda6"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"54a69ba0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":892,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"aba932c5-28f3-492a-bf20-61990b392b48","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.5349095} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":892,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.626559,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"54a69ba0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"54a69ba0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"54a69ba0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c55a7a52-1661-4c73-b445-d07542e734ab/signaling 200 9ms","method":"POST","requestID":"54a69ba0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/c55a7a52-1661-4c73-b445-d07542e734ab/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"54a84950-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":893,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eaa2013e-6565-4991-ab02-0a1811a40c9f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.5462453} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":893,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.540913,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"54a84950-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"54a84950-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"54a84950-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5/signaling 200 9ms","method":"POST","requestID":"54a84950-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo","level":"info","message":"auth send jwt","requestID":"30bf4941a9209845f8b44b8abe750ec8"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"30bf4941a9209845f8b44b8abe750ec8","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/1295809f-a369-41ba-94d9-d72531661e83","requestID":"30bf4941a9209845f8b44b8abe750ec8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":894,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":894,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.667486,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"30bf4941a9209845f8b44b8abe750ec8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"30bf4941a9209845f8b44b8abe750ec8","responseTime":2,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/1295809f-a369-41ba-94d9-d72531661e83","requestID":"30bf4941a9209845f8b44b8abe750ec8"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/1295809f-a369-41ba-94d9-d72531661e83 HTTP/1.1","status": "200","body_bytes_sent":"1361","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"30bf4941a9209845f8b44b8abe750ec8"} experiment-1 | {"level":"info","message":"GET /experiments/1295809f-a369-41ba-94d9-d72531661e83 200 9ms","method":"GET","requestID":"30bf4941a9209845f8b44b8abe750ec8","responseTime":9,"status":200,"url":"/experiments/1295809f-a369-41ba-94d9-d72531661e83"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo","level":"info","message":"auth send jwt","requestID":"3668f37e12b03b9e9ca5ed2cf986560b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3668f37e12b03b9e9ca5ed2cf986560b","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/1295809f-a369-41ba-94d9-d72531661e83","requestID":"3668f37e12b03b9e9ca5ed2cf986560b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":895,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":895,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.765014,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3668f37e12b03b9e9ca5ed2cf986560b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3668f37e12b03b9e9ca5ed2cf986560b","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83"},"level":"info","message":"Attempting to finish experiment","requestID":"3668f37e12b03b9e9ca5ed2cf986560b"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"54af7540-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":896,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":896,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.826796,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"54af7540-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"54af7540-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/2686a3d9-7db6-4e09-9eba-9569c62be613?id=4b4f1384-d2fb-444f-a2fa-1158fa0c59b9 HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.149","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"7de27b79b830c4ca75e7392db3931a2e"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/2686a3d9-7db6-4e09-9eba-9569c62be613?id=0203730b-6ff1-4c3e-9693-d27b711ee633 HTTP/1.1","status": "101","body_bytes_sent":"438","request_time":"0.150","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e7b5a71a0e1ec8bacb7cc6372628228d"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179","device":"c55a7a52-1661-4c73-b445-d07542e734ab","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"4b4f1384-d2fb-444f-a2fa-1158fa0c59b9\" in room \"http://localhost/rooms/2686a3d9-7db6-4e09-9eba-9569c62be613\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"4b4f1384-d2fb-444f-a2fa-1158fa0c59b9\" from room \"http://localhost/rooms/2686a3d9-7db6-4e09-9eba-9569c62be613\""} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"0203730b-6ff1-4c3e-9693-d27b711ee633\" in room \"http://localhost/rooms/2686a3d9-7db6-4e09-9eba-9569c62be613\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"0203730b-6ff1-4c3e-9693-d27b711ee633\" from room \"http://localhost/rooms/2686a3d9-7db6-4e09-9eba-9569c62be613\""} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179","device":"5d7f03d9-42de-437f-99fc-5c99b2dd79c5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"7995f18d-bb5c-48fb-9a60-bd3aea372179","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b4925051352579ace840e9076d494eae","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F7995f18d-bb5c-48fb-9a60-bd3aea372179': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F7995f18d-bb5c-48fb-9a60-bd3aea372179","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"e0a0062b-81ac-4ff9-920b-3c169aa6135f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.6081786} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3e6de595-17dc-46f5-80d6-4fb9be0be127","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.608487} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"b4925051352579ace840e9076d494eae","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"54af7540-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179"}}},"level":"info","message":"received a callback","requestID":"b4925051352579ace840e9076d494eae"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"32aa0775063f3ec11028cd0ca3c92751","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"32aa0775063f3ec11028cd0ca3c92751","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179"}}},"level":"info","message":"received a callback","requestID":"32aa0775063f3ec11028cd0ca3c92751"} device-1 | {"data":{"peerconnection":"7995f18d-bb5c-48fb-9a60-bd3aea372179","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"54af7540-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179 204 40ms","method":"DELETE","requestID":"54af7540-75da-11ef-ba7c-09eaa4331ae1","responseTime":40,"status":204,"url":"/peerconnections/7995f18d-bb5c-48fb-9a60-bd3aea372179"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab'"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1295809f-a369-41ba-94d9-d72531661e83"},"level":"info","message":"Successfully finished experiment","requestID":"3668f37e12b03b9e9ca5ed2cf986560b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"54b7b2a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":897,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc55a7a52-1661-4c73-b445-d07542e734ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"076aa10a-5653-485c-93de-2ce3efe271e5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.6473856} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":897,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.894032,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"54b7b2a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"54b7b2a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1295809f-a369-41ba-94d9-d72531661e83': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1295809f-a369-41ba-94d9-d72531661e83","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"8c3ff8e8-5dbb-47de-91bb-b785759dd481","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.6514254} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"54b7b2a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c55a7a52-1661-4c73-b445-d07542e734ab/signaling 200 10ms","method":"POST","requestID":"54b7b2a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/c55a7a52-1661-4c73-b445-d07542e734ab/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f19e68d1-3eb9-4d01-9941-fdb3550b5ba7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.6517763} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"3668f37e12b03b9e9ca5ed2cf986560b","responseTime":12,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"54b98760-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":898,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5d7f03d9-42de-437f-99fc-5c99b2dd79c5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fe30a3f1-34ad-45ee-9072-7ef634c0ed66","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.658768} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":898,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.596376,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"54b98760-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"54b98760-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"54b98760-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5/signaling 200 9ms","method":"POST","requestID":"54b98760-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/1295809f-a369-41ba-94d9-d72531661e83","requestID":"3668f37e12b03b9e9ca5ed2cf986560b"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/1295809f-a369-41ba-94d9-d72531661e83 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.136","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3668f37e12b03b9e9ca5ed2cf986560b"} experiment-1 | {"level":"info","message":"DELETE /experiments/1295809f-a369-41ba-94d9-d72531661e83 204 133ms","method":"DELETE","requestID":"3668f37e12b03b9e9ca5ed2cf986560b","responseTime":133,"status":204,"url":"/experiments/1295809f-a369-41ba-94d9-d72531661e83"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 104ms","method":"POST","requestID":"b4925051352579ace840e9076d494eae","responseTime":104,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.107","http_referrer":"","http_user_agent":"node-fetch","requestID":"b4925051352579ace840e9076d494eae"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 101ms","method":"POST","requestID":"32aa0775063f3ec11028cd0ca3c92751","responseTime":101,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.108","http_referrer":"","http_user_agent":"node-fetch","requestID":"32aa0775063f3ec11028cd0ca3c92751"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo","level":"info","message":"auth send jwt","requestID":"f6f9aee2b31eab9ab8c24d891c87cd9c"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"f6f9aee2b31eab9ab8c24d891c87cd9c","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"f6f9aee2b31eab9ab8c24d891c87cd9c"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1781","request_time":"0.658","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"708d2ae4861c25536b92b6cc97c2f99e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":899,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":899,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.930998,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f6f9aee2b31eab9ab8c24d891c87cd9c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f6f9aee2b31eab9ab8c24d891c87cd9c","responseTime":3,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1784","request_time":"0.639","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"11c3184f4f5468a93adc82ef24b72852"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/5d7f03d9-42de-437f-99fc-5c99b2dd79c5' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ffbe330d-779d-4763-8744-2101afdf27d2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.749277} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f6f9aee2b31eab9ab8c24d891c87cd9c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/c55a7a52-1661-4c73-b445-d07542e734ab' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0d801996-db92-4601-bb9c-fcefec1078d1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.7533805} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"f6f9aee2b31eab9ab8c24d891c87cd9c","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"8b74f237-729a-4aa2-a5ca-0ee1db61a3a8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.7621841} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e66b60a8-e543-402f-a404-7b1a218dc80c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.762447} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"f6f9aee2b31eab9ab8c24d891c87cd9c","responseTime":11,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:25.762147354Z"}]},"request_id":"d85b2645-35a2-42b0-bf35-0f5a6a0fdcbc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.765597} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f6f9aee2b31eab9ab8c24d891c87cd9c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"f6f9aee2b31eab9ab8c24d891c87cd9c"} device-1 | {"level":"info","message":"POST /devices? 201 49ms","method":"POST","requestID":"f6f9aee2b31eab9ab8c24d891c87cd9c","responseTime":49,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.055","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f6f9aee2b31eab9ab8c24d891c87cd9c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo","level":"info","message":"auth send jwt","requestID":"01972176db5503636eb39d876a06a501"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"01972176db5503636eb39d876a06a501","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"01972176db5503636eb39d876a06a501"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":900,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":900,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.691641,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:25Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"01972176db5503636eb39d876a06a501","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676605,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwNX0.6eyP9sSKGdMYiz7lcgob2Wk22WSgR23HBb4JsmmUXGo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"01972176db5503636eb39d876a06a501","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"313a5d6e-1bb1-4005-9406-74786a579fa6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.7942188} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"01972176db5503636eb39d876a06a501","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3b430b3b-f6fb-4bdb-9710-fd05346a0ad2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.7986524} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"01972176db5503636eb39d876a06a501","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"02cc1f09-5ef2-46a5-bbb7-080b1affe000","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.810141} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0ef4c26b-f20c-4fe3-803b-34da30f8d6a9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.8102586} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"01972176db5503636eb39d876a06a501","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:25.810110475Z"}]},"request_id":"302b7b48-0ff4-44ad-be3c-4733a4b34dfc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676605.8145945} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"01972176db5503636eb39d876a06a501","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"01972176db5503636eb39d876a06a501"} gateway-1 | {"time_local":"18/Sep/2024:16:23:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"01972176db5503636eb39d876a06a501"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"01972176db5503636eb39d876a06a501","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"da906f2b1f07bbc6ddc5ee92918b13e8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"da906f2b1f07bbc6ddc5ee92918b13e8","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"OPTIONS /devices/917f20a8-b74c-4db6-9261-33c2c8706393/websocket 200 1ms","method":"OPTIONS","requestID":"da906f2b1f07bbc6ddc5ee92918b13e8","responseTime":1,"status":200,"url":"/devices/917f20a8-b74c-4db6-9261-33c2c8706393/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:23:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/917f20a8-b74c-4db6-9261-33c2c8706393/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"da906f2b1f07bbc6ddc5ee92918b13e8"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"33fed5edc5f6a969c3b39c8d76f085ff","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"33fed5edc5f6a969c3b39c8d76f085ff","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/4843976e-3929-4e68-a765-a0de06be071b/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"33fed5edc5f6a969c3b39c8d76f085ff"} device-1 | {"level":"info","message":"OPTIONS /devices/4843976e-3929-4e68-a765-a0de06be071b/websocket 200 1ms","method":"OPTIONS","requestID":"33fed5edc5f6a969c3b39c8d76f085ff","responseTime":1,"status":200,"url":"/devices/4843976e-3929-4e68-a765-a0de06be071b/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q","level":"info","message":"auth send jwt","requestID":"10b291913320a5f9e72e06db1a4badec"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"10b291913320a5f9e72e06db1a4badec","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"10b291913320a5f9e72e06db1a4badec"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":901,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:27Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q","level":"info","message":"auth send jwt","requestID":"f918907da50c5f31aaf1aa1260bb7a81"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f918907da50c5f31aaf1aa1260bb7a81","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":901,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.772699,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:27Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"10b291913320a5f9e72e06db1a4badec","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676607,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"f918907da50c5f31aaf1aa1260bb7a81"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"10b291913320a5f9e72e06db1a4badec","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":902,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":902,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.895037,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:27Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f918907da50c5f31aaf1aa1260bb7a81","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676607,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f918907da50c5f31aaf1aa1260bb7a81","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"10b291913320a5f9e72e06db1a4badec"} device-1 | {"level":"info","message":"POST /devices/917f20a8-b74c-4db6-9261-33c2c8706393/websocket 200 20ms","method":"POST","requestID":"10b291913320a5f9e72e06db1a4badec","responseTime":20,"status":200,"url":"/devices/917f20a8-b74c-4db6-9261-33c2c8706393/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:23:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/917f20a8-b74c-4db6-9261-33c2c8706393/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"10b291913320a5f9e72e06db1a4badec"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"f918907da50c5f31aaf1aa1260bb7a81"} gateway-1 | {"time_local":"18/Sep/2024:16:23:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/4843976e-3929-4e68-a765-a0de06be071b/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.028","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f918907da50c5f31aaf1aa1260bb7a81"} device-1 | {"level":"info","message":"POST /devices/4843976e-3929-4e68-a765-a0de06be071b/websocket 200 24ms","method":"POST","requestID":"f918907da50c5f31aaf1aa1260bb7a81","responseTime":24,"status":200,"url":"/devices/4843976e-3929-4e68-a765-a0de06be071b/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cb0568ee3ef1517dd18b4618c865fd2a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"cb0568ee3ef1517dd18b4618c865fd2a","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/917f20a8-b74c-4db6-9261-33c2c8706393? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"cb0568ee3ef1517dd18b4618c865fd2a"} device-1 | {"level":"info","message":"OPTIONS /devices/917f20a8-b74c-4db6-9261-33c2c8706393? 200 1ms","method":"OPTIONS","requestID":"cb0568ee3ef1517dd18b4618c865fd2a","responseTime":1,"status":200,"url":"/devices/917f20a8-b74c-4db6-9261-33c2c8706393?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"aef6782dc0f26626b1808a6e252fb83c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"aef6782dc0f26626b1808a6e252fb83c","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/4843976e-3929-4e68-a765-a0de06be071b? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"aef6782dc0f26626b1808a6e252fb83c"} device-1 | {"level":"info","message":"OPTIONS /devices/4843976e-3929-4e68-a765-a0de06be071b? 200 1ms","method":"OPTIONS","requestID":"aef6782dc0f26626b1808a6e252fb83c","responseTime":1,"status":200,"url":"/devices/4843976e-3929-4e68-a765-a0de06be071b?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q","level":"info","message":"auth send jwt","requestID":"3192be604cb4716dc71957336e9e8685"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"3192be604cb4716dc71957336e9e8685","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"3192be604cb4716dc71957336e9e8685"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":903,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":903,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.113954,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:27Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3192be604cb4716dc71957336e9e8685","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676607,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q","level":"info","message":"auth send jwt","requestID":"95387141b405bb466cd0d01a47de888b"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3192be604cb4716dc71957336e9e8685","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"95387141b405bb466cd0d01a47de888b","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"95387141b405bb466cd0d01a47de888b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":904,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":904,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.838005,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:27Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"95387141b405bb466cd0d01a47de888b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676607,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"95387141b405bb466cd0d01a47de888b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:25.810110475Z"}]},"request_id":"79681b5b-e06d-4a33-99ce-0a4db2088172","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676607.88588} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3192be604cb4716dc71957336e9e8685","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b56446a4-942a-4cdb-9c94-67f41a4ac035","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676607.8916821} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"3192be604cb4716dc71957336e9e8685","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:25.762147354Z"}]},"request_id":"93b92872-e8e8-4a8f-8b4e-de3b4bba7e05","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676607.8935342} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"95387141b405bb466cd0d01a47de888b","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d8aca549-a9fe-45f7-9e70-aed375ca418f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676607.8991132} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"95387141b405bb466cd0d01a47de888b","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:25.810110475Z"}]},"request_id":"422d0153-3d1e-46f8-ad78-29e735a8e67a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676607.9070737} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3192be604cb4716dc71957336e9e8685","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"3192be604cb4716dc71957336e9e8685"} gateway-1 | {"time_local":"18/Sep/2024:16:23:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/917f20a8-b74c-4db6-9261-33c2c8706393? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.042","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"3192be604cb4716dc71957336e9e8685"} device-1 | {"level":"info","message":"PATCH /devices/917f20a8-b74c-4db6-9261-33c2c8706393? 200 35ms","method":"PATCH","requestID":"3192be604cb4716dc71957336e9e8685","responseTime":35,"status":200,"url":"/devices/917f20a8-b74c-4db6-9261-33c2c8706393?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:25.762147354Z"}]},"request_id":"61739691-0dd7-4806-bc92-aa8747297922","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676607.9175487} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"95387141b405bb466cd0d01a47de888b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"95387141b405bb466cd0d01a47de888b"} gateway-1 | {"time_local":"18/Sep/2024:16:23:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/4843976e-3929-4e68-a765-a0de06be071b? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.045","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"95387141b405bb466cd0d01a47de888b"} device-1 | {"level":"info","message":"PATCH /devices/4843976e-3929-4e68-a765-a0de06be071b? 200 39ms","method":"PATCH","requestID":"95387141b405bb466cd0d01a47de888b","responseTime":39,"status":200,"url":"/devices/4843976e-3929-4e68-a765-a0de06be071b?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q","level":"info","message":"auth send jwt","requestID":"5c0e6861f423a5eb931a3d58be889ade"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"5c0e6861f423a5eb931a3d58be889ade","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5c0e6861f423a5eb931a3d58be889ade"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":905,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":905,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.888993,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5c0e6861f423a5eb931a3d58be889ade","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676607,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"5c0e6861f423a5eb931a3d58be889ade","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:25.762147354Z"}]},"request_id":"e324a9d7-650b-4d50-94cb-4a9885c7bd38","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676607.9386861} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5c0e6861f423a5eb931a3d58be889ade","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5c0e6861f423a5eb931a3d58be889ade"} device-1 | {"level":"info","message":"GET /devices/4843976e-3929-4e68-a765-a0de06be071b? 200 11ms","method":"GET","requestID":"5c0e6861f423a5eb931a3d58be889ade","responseTime":11,"status":200,"url":"/devices/4843976e-3929-4e68-a765-a0de06be071b?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4843976e-3929-4e68-a765-a0de06be071b? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5c0e6861f423a5eb931a3d58be889ade"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q","level":"info","message":"auth send jwt","requestID":"b1162b150abe1e45c4daeddc6424240b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b1162b150abe1e45c4daeddc6424240b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b1162b150abe1e45c4daeddc6424240b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":906,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":906,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.001507,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b1162b150abe1e45c4daeddc6424240b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676607,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b1162b150abe1e45c4daeddc6424240b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:25.810110475Z"}]},"request_id":"d603f4f9-0048-4039-acf9-fcf5a038c4c1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676607.9556744} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b1162b150abe1e45c4daeddc6424240b","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b1162b150abe1e45c4daeddc6424240b"} gateway-1 | {"time_local":"18/Sep/2024:16:23:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/917f20a8-b74c-4db6-9261-33c2c8706393? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b1162b150abe1e45c4daeddc6424240b"} device-1 | {"level":"info","message":"GET /devices/917f20a8-b74c-4db6-9261-33c2c8706393? 200 12ms","method":"GET","requestID":"b1162b150abe1e45c4daeddc6424240b","responseTime":12,"status":200,"url":"/devices/917f20a8-b74c-4db6-9261-33c2c8706393?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q","level":"info","message":"auth send jwt","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"dbba2e79f6dd51bc5e2f314825e5f148","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":907,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":907,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.923411,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:27Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"dbba2e79f6dd51bc5e2f314825e5f148","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676607,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"dbba2e79f6dd51bc5e2f314825e5f148","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"},"level":"info","message":"Attempting to run experiment","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"},"level":"info","message":"Attempting to book experiment","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"},"level":"info","message":"Successfully booked experiment","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"561fa710-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"561ff530-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":908,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":908,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.607277,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":909,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"561fa710-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676607,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"561fa710-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":909,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.004225,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"561ff530-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676607,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"561ff530-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:25.762147354Z"}]},"request_id":"e78a0956-a1d5-4651-af9f-69905f8be5e0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.0092428} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"561fa710-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:25.810110475Z"}]},"request_id":"650c327c-6c6e-4d10-be19-bfd2ab862426","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.009853} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"561ff530-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"561fa710-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/4843976e-3929-4e68-a765-a0de06be071b? 200 13ms","method":"GET","requestID":"561fa710-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/4843976e-3929-4e68-a765-a0de06be071b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"561ff530-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/917f20a8-b74c-4db6-9261-33c2c8706393? 200 12ms","method":"GET","requestID":"561ff530-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/917f20a8-b74c-4db6-9261-33c2c8706393?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"},"level":"info","message":"Setting up experiment","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"},"level":"info","message":"Successfully locked booking for experiment","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"},"level":"info","message":"Attempting to update booking for experiment","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"},"level":"info","message":"Successfully updated booking for experiment","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"},"level":"info","message":"Successfully set up experiment","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"562859a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5628a7c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5628f5e0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"},"level":"info","message":"Successfully running experiment","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":910,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":910,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.217787,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":911,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"562859a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676607,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"562859a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":911,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.643578,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5628a7c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676607,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"5628a7c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":912,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3ae71735-ecf2-4dd7-b68b-c788d6d89ba8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.071111} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":912,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.949859,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:25.762147354Z"}]},"request_id":"810ed06c-d369-421f-82d1-f04d6808b67c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.0732691} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5628f5e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"5628f5e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"562859a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:25.810110475Z"}]},"request_id":"483d7339-bdee-4a79-9d69-80f9855020a1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.0753274} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"5628a7c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5628f5e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4843976e-3929-4e68-a765-a0de06be071b/signaling 200 23ms","method":"POST","requestID":"5628f5e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":23,"status":200,"url":"/devices/4843976e-3929-4e68-a765-a0de06be071b/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"562859a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/4843976e-3929-4e68-a765-a0de06be071b? 200 28ms","method":"GET","requestID":"562859a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":28,"status":200,"url":"/devices/4843976e-3929-4e68-a765-a0de06be071b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5628a7c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/917f20a8-b74c-4db6-9261-33c2c8706393? 200 27ms","method":"GET","requestID":"5628a7c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":200,"url":"/devices/917f20a8-b74c-4db6-9261-33c2c8706393?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"562ced80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F50f0f171-2079-43e0-8313-92ee3a4774b2#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F50f0f171-2079-43e0-8313-92ee3a4774b2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"09680e1c-4088-4896-9c22-307d20400972","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.0895298} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"562d3ba0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e2232e05-d964-4fa2-b57d-39f34a04a0e9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.0899024} authorization-1 | {"level":"info","message":"POST /relations/update 200 27ms","method":"POST","requestID":"dbba2e79f6dd51bc5e2f314825e5f148","responseTime":27,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":913,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"141d042d-7d26-4ab5-929b-803cc20d6ab8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.0946836} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":913,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.727187,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":914,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"562ced80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"562ced80-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"852b34b0-2f92-4738-a697-ba5f6d315c76","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.0992734} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":914,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.947113,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"562d3ba0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"562d3ba0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"562ced80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/917f20a8-b74c-4db6-9261-33c2c8706393/signaling 200 14ms","method":"POST","requestID":"562ced80-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/917f20a8-b74c-4db6-9261-33c2c8706393/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} gateway-1 | {"time_local":"18/Sep/2024:16:23:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1288","request_time":"0.143","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} experiment-1 | {"level":"info","message":"POST /experiments? 201 139ms","method":"POST","requestID":"dbba2e79f6dd51bc5e2f314825e5f148","responseTime":139,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"562d3ba0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4843976e-3929-4e68-a765-a0de06be071b/signaling 200 17ms","method":"POST","requestID":"562d3ba0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/4843976e-3929-4e68-a765-a0de06be071b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"563048e0-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwOH0.4f7W-jB40ZcXv83xSJs0x6tu5pEhJis-09V7L5xAyIc","level":"info","message":"auth send jwt","requestID":"5ecf7d974f8ccb20c3f653b44bea9bc8"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"5ecf7d974f8ccb20c3f653b44bea9bc8","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5ecf7d974f8ccb20c3f653b44bea9bc8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":915,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":916,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":916,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.032119,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5ecf7d974f8ccb20c3f653b44bea9bc8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676608,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwOH0.4f7W-jB40ZcXv83xSJs0x6tu5pEhJis-09V7L5xAyIc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5ecf7d974f8ccb20c3f653b44bea9bc8","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ef9b48f6-06ec-4668-b117-7478b800feaa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.115572} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":915,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.249888,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"563048e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"563048e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:25.762147354Z"}]},"request_id":"7dac1467-1524-45de-8689-dbdc1068333c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.1205218} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"563048e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/917f20a8-b74c-4db6-9261-33c2c8706393/signaling 200 11ms","method":"POST","requestID":"563048e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/917f20a8-b74c-4db6-9261-33c2c8706393/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5ecf7d974f8ccb20c3f653b44bea9bc8","responseTime":4,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"56326bc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5ecf7d974f8ccb20c3f653b44bea9bc8"} gateway-1 | {"time_local":"18/Sep/2024:16:23:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4843976e-3929-4e68-a765-a0de06be071b? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5ecf7d974f8ccb20c3f653b44bea9bc8"} device-1 | {"level":"info","message":"GET /devices/4843976e-3929-4e68-a765-a0de06be071b? 200 15ms","method":"GET","requestID":"5ecf7d974f8ccb20c3f653b44bea9bc8","responseTime":15,"status":200,"url":"/devices/4843976e-3929-4e68-a765-a0de06be071b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5632b9e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":917,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":917,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.854156,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"56326bc0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676607,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"56326bc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":918,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":918,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.927371,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwOH0.4f7W-jB40ZcXv83xSJs0x6tu5pEhJis-09V7L5xAyIc","level":"info","message":"auth send jwt","requestID":"b96b3f85669d4ed7ab22803154166788"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5632b9e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676607,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b96b3f85669d4ed7ab22803154166788","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5632b9e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b96b3f85669d4ed7ab22803154166788"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:25.762147354Z"}]},"request_id":"dacf1e76-cd17-41e9-816c-83f3b54c08b1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.1342442} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"56326bc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:25.810110475Z"}]},"request_id":"8249e44c-8d3a-41bc-a148-7189dc37694f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.1355946} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"5632b9e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":919,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":919,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.137252,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b96b3f85669d4ed7ab22803154166788","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676608,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwOH0.4f7W-jB40ZcXv83xSJs0x6tu5pEhJis-09V7L5xAyIc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b96b3f85669d4ed7ab22803154166788","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"56326bc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/4843976e-3929-4e68-a765-a0de06be071b? 200 17ms","method":"GET","requestID":"56326bc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/4843976e-3929-4e68-a765-a0de06be071b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5632b9e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/917f20a8-b74c-4db6-9261-33c2c8706393? 200 19ms","method":"GET","requestID":"5632b9e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/917f20a8-b74c-4db6-9261-33c2c8706393?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:25.810110475Z"}]},"request_id":"f8bbefcc-99ca-409e-af39-4f72672400c5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.1452942} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"},"level":"info","message":"Building connection plan","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b96b3f85669d4ed7ab22803154166788","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"27b6118b-689c-4853-a9ea-b92bcc876f7f"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"5e198fa4-dbad-4b0e-b9f3-9e57fada9c9c"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"c0e9a55c-cd83-4224-88bc-f50d4647d725"}]},"level":"info","message":"Built pairwise service configurations","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"56361540-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"56361540-75da-11ef-9672-db8da4810e4b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b96b3f85669d4ed7ab22803154166788"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"56361540-75da-11ef-9672-db8da4810e4b","responseTime":1,"status":201,"url":"/rooms"} gateway-1 | {"time_local":"18/Sep/2024:16:23:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/917f20a8-b74c-4db6-9261-33c2c8706393? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b96b3f85669d4ed7ab22803154166788"} device-1 | {"level":"info","message":"GET /devices/917f20a8-b74c-4db6-9261-33c2c8706393? 200 16ms","method":"GET","requestID":"b96b3f85669d4ed7ab22803154166788","responseTime":16,"status":200,"url":"/devices/917f20a8-b74c-4db6-9261-33c2c8706393?"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/31bb6c79-bbfd-43f7-bc14-2fd7035951d7?id=0d99ab10-eab4-4718-8246-29c267457612","ws://localhost/rooms/31bb6c79-bbfd-43f7-bc14-2fd7035951d7?id=d6a9a423-3ab6-4da5-8f0f-6139f78659c5"]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"5636b180-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":920,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":920,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.915938,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5636b180-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676607,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwN30.Gt9jwvYQj1HsgHUF64n0gMrRH7SezTKWRsiw4Buqu1Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5636b180-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"50be186f-1706-430e-b670-29a4475f47a7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.1648498} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"84a5b9d1-0f41-40ce-afa6-ad1375386f6e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.1651137} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"5636b180-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"5636b180-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"5636b180-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6'","requestID":"5636b180-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6'","requestID":"5636b180-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"5636b180-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 24ms","method":"POST","requestID":"5636b180-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"5636b180-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"563be1a0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"0d99ab10-eab4-4718-8246-29c267457612\" in room \"http://localhost/rooms/31bb6c79-bbfd-43f7-bc14-2fd7035951d7\"","requestID":"563be1a0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"563be1a0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"563c08b0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"d6a9a423-3ab6-4da5-8f0f-6139f78659c5\" in room \"http://localhost/rooms/31bb6c79-bbfd-43f7-bc14-2fd7035951d7\"","requestID":"563c08b0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"563c08b0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"d6a9a423-3ab6-4da5-8f0f-6139f78659c5\" in room \"http://localhost/rooms/31bb6c79-bbfd-43f7-bc14-2fd7035951d7\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e1b444dc4da45d6fceb1ca59da7b9382","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"d6a9a423-3ab6-4da5-8f0f-6139f78659c5\" in room \"http://localhost/rooms/31bb6c79-bbfd-43f7-bc14-2fd7035951d7\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"d6a9a423-3ab6-4da5-8f0f-6139f78659c5\" in room \"http://localhost/rooms/31bb6c79-bbfd-43f7-bc14-2fd7035951d7\""} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"e1b444dc4da45d6fceb1ca59da7b9382","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"d6a9a423-3ab6-4da5-8f0f-6139f78659c5\" in room \"http://localhost/rooms/31bb6c79-bbfd-43f7-bc14-2fd7035951d7\""} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6"}}},"level":"info","message":"received a callback","requestID":"e1b444dc4da45d6fceb1ca59da7b9382"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"d6a9a423-3ab6-4da5-8f0f-6139f78659c5\" in room \"http://localhost/rooms/31bb6c79-bbfd-43f7-bc14-2fd7035951d7\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"d6a9a423-3ab6-4da5-8f0f-6139f78659c5\" in room \"http://localhost/rooms/31bb6c79-bbfd-43f7-bc14-2fd7035951d7\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"d6a9a423-3ab6-4da5-8f0f-6139f78659c5\" in room \"http://localhost/rooms/31bb6c79-bbfd-43f7-bc14-2fd7035951d7\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"d6a9a423-3ab6-4da5-8f0f-6139f78659c5\" in room \"http://localhost/rooms/31bb6c79-bbfd-43f7-bc14-2fd7035951d7\""} device-1 | {"data":{"peerconnection":"6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 13ms","method":"POST","requestID":"e1b444dc4da45d6fceb1ca59da7b9382","responseTime":13,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch","requestID":"e1b444dc4da45d6fceb1ca59da7b9382"} device-1 | {"data":{"peerconnection":"6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"dbba2e79f6dd51bc5e2f314825e5f148"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5640eab0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":921,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"45764cfd-e9ec-42b7-8612-653acfdf47b5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.223307} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":921,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.215194,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5640eab0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5640eab0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5640eab0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4843976e-3929-4e68-a765-a0de06be071b/signaling 200 10ms","method":"POST","requestID":"5640eab0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/4843976e-3929-4e68-a765-a0de06be071b/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0c429f00f6227e8b1adc4edfb7601e27","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0c429f00f6227e8b1adc4edfb7601e27","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5642bf70-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6"}}},"level":"info","message":"received a callback","requestID":"0c429f00f6227e8b1adc4edfb7601e27"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":922,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"564382c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e04d4d42-4ab8-45f0-bb95-ef71b0e47624","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.2367897} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":922,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.869664,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":923,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5642bf70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"5642bf70-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e6668aa8-bd72-45a0-88dd-7d75fdf32f41","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.2398903} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":923,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.152753,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"564382c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"564382c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5642bf70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/917f20a8-b74c-4db6-9261-33c2c8706393/signaling 200 10ms","method":"POST","requestID":"5642bf70-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/917f20a8-b74c-4db6-9261-33c2c8706393/signaling"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"564382c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6 200 7ms","method":"GET","requestID":"564382c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 26ms","method":"POST","requestID":"0c429f00f6227e8b1adc4edfb7601e27","responseTime":26,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.030","http_referrer":"","http_user_agent":"node-fetch","requestID":"0c429f00f6227e8b1adc4edfb7601e27"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5646de20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":924,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3d380bc8-f9fb-403b-a236-44cfe8831773","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.2630508} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":924,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.483159,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5646de20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5646de20-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5646de20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4843976e-3929-4e68-a765-a0de06be071b/signaling 200 9ms","method":"POST","requestID":"5646de20-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/4843976e-3929-4e68-a765-a0de06be071b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"56488bd0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":925,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7114a30d-8ccb-4f65-923c-48f6a6287d39","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.2736526} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":925,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.494437,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"56488bd0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"56488bd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"56488bd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/917f20a8-b74c-4db6-9261-33c2c8706393/signaling 200 8ms","method":"POST","requestID":"56488bd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/917f20a8-b74c-4db6-9261-33c2c8706393/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwOH0.4f7W-jB40ZcXv83xSJs0x6tu5pEhJis-09V7L5xAyIc","level":"info","message":"auth send jwt","requestID":"35b2ce88319f82ae7130e6218953dfc3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"35b2ce88319f82ae7130e6218953dfc3","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/50f0f171-2079-43e0-8313-92ee3a4774b2","requestID":"35b2ce88319f82ae7130e6218953dfc3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":926,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":926,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.861592,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"35b2ce88319f82ae7130e6218953dfc3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676608,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwOH0.4f7W-jB40ZcXv83xSJs0x6tu5pEhJis-09V7L5xAyIc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"35b2ce88319f82ae7130e6218953dfc3","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/50f0f171-2079-43e0-8313-92ee3a4774b2","requestID":"35b2ce88319f82ae7130e6218953dfc3"} experiment-1 | {"level":"info","message":"GET /experiments/50f0f171-2079-43e0-8313-92ee3a4774b2 200 9ms","method":"GET","requestID":"35b2ce88319f82ae7130e6218953dfc3","responseTime":9,"status":200,"url":"/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"} gateway-1 | {"time_local":"18/Sep/2024:16:23:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/50f0f171-2079-43e0-8313-92ee3a4774b2 HTTP/1.1","status": "200","body_bytes_sent":"1361","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"35b2ce88319f82ae7130e6218953dfc3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwOH0.4f7W-jB40ZcXv83xSJs0x6tu5pEhJis-09V7L5xAyIc","level":"info","message":"auth send jwt","requestID":"3b98c190de8607418eab7a9c4a4d2da3"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3b98c190de8607418eab7a9c4a4d2da3","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/50f0f171-2079-43e0-8313-92ee3a4774b2","requestID":"3b98c190de8607418eab7a9c4a4d2da3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":927,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":927,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.644445,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3b98c190de8607418eab7a9c4a4d2da3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676608,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwOH0.4f7W-jB40ZcXv83xSJs0x6tu5pEhJis-09V7L5xAyIc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3b98c190de8607418eab7a9c4a4d2da3","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"},"level":"info","message":"Attempting to finish experiment","requestID":"3b98c190de8607418eab7a9c4a4d2da3"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"5650c930-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":928,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":928,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.917839,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5650c930-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676608,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwOH0.4f7W-jB40ZcXv83xSJs0x6tu5pEhJis-09V7L5xAyIc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5650c930-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6","device":"4843976e-3929-4e68-a765-a0de06be071b","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"18/Sep/2024:16:23:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/31bb6c79-bbfd-43f7-bc14-2fd7035951d7?id=0d99ab10-eab4-4718-8246-29c267457612 HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.149","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f6e1e45777ba17d6b2e1d2fa58e50179"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6","device":"917f20a8-b74c-4db6-9261-33c2c8706393","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"18/Sep/2024:16:23:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/31bb6c79-bbfd-43f7-bc14-2fd7035951d7?id=d6a9a423-3ab6-4da5-8f0f-6139f78659c5 HTTP/1.1","status": "101","body_bytes_sent":"874","request_time":"0.149","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4224983c1b17935832c9208ec095de5f"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"0d99ab10-eab4-4718-8246-29c267457612\" in room \"http://localhost/rooms/31bb6c79-bbfd-43f7-bc14-2fd7035951d7\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"0d99ab10-eab4-4718-8246-29c267457612\" from room \"http://localhost/rooms/31bb6c79-bbfd-43f7-bc14-2fd7035951d7\""} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"d6a9a423-3ab6-4da5-8f0f-6139f78659c5\" in room \"http://localhost/rooms/31bb6c79-bbfd-43f7-bc14-2fd7035951d7\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"d6a9a423-3ab6-4da5-8f0f-6139f78659c5\" from room \"http://localhost/rooms/31bb6c79-bbfd-43f7-bc14-2fd7035951d7\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"8b687faa-fdb2-4674-b7ae-a332c7644f2f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.3388164} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a43cc6b77d5a9fe41d7e251193bdf31b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a43cc6b77d5a9fe41d7e251193bdf31b","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fe2e4421-8125-46ea-8f4b-4d50786151fc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.3391695} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fba5a7afab8882e8c36c1c234cbd1f71","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"5650c930-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6"}}},"level":"info","message":"received a callback","requestID":"a43cc6b77d5a9fe41d7e251193bdf31b"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"fba5a7afab8882e8c36c1c234cbd1f71","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6"}}},"level":"info","message":"received a callback","requestID":"fba5a7afab8882e8c36c1c234cbd1f71"} device-1 | {"data":{"peerconnection":"6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"5650c930-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6 204 35ms","method":"DELETE","requestID":"5650c930-75da-11ef-ba7c-09eaa4331ae1","responseTime":35,"status":204,"url":"/peerconnections/6bc07c7c-575b-413d-9c2c-2b1a1e4d6fe6"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b'"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"},"level":"info","message":"Successfully finished experiment","requestID":"3b98c190de8607418eab7a9c4a4d2da3"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"56581c30-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":929,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4843976e-3929-4e68-a765-a0de06be071b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"962a090e-339f-4cfb-a603-e706ce398229","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.3771768} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":929,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.637788,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"56581c30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"56581c30-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"56581c30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4843976e-3929-4e68-a765-a0de06be071b/signaling 200 11ms","method":"POST","requestID":"56581c30-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/4843976e-3929-4e68-a765-a0de06be071b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"565a1800-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F50f0f171-2079-43e0-8313-92ee3a4774b2': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F50f0f171-2079-43e0-8313-92ee3a4774b2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"cf4c8159-5f77-470b-bf93-4e2b59136ad4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.3841422} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7bdc7746-6259-4c70-88d5-f6d22e9759d5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.3844066} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"3b98c190de8607418eab7a9c4a4d2da3","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":930,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F917f20a8-b74c-4db6-9261-33c2c8706393","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"db69c87b-7aa1-4792-b43a-0ca3be186f9b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.3925064} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":930,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.263055,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"565a1800-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"565a1800-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"565a1800-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/917f20a8-b74c-4db6-9261-33c2c8706393/signaling 200 15ms","method":"POST","requestID":"565a1800-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/917f20a8-b74c-4db6-9261-33c2c8706393/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/50f0f171-2079-43e0-8313-92ee3a4774b2","requestID":"3b98c190de8607418eab7a9c4a4d2da3"} gateway-1 | {"time_local":"18/Sep/2024:16:23:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/50f0f171-2079-43e0-8313-92ee3a4774b2 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.141","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3b98c190de8607418eab7a9c4a4d2da3"} experiment-1 | {"level":"info","message":"DELETE /experiments/50f0f171-2079-43e0-8313-92ee3a4774b2 204 138ms","method":"DELETE","requestID":"3b98c190de8607418eab7a9c4a4d2da3","responseTime":138,"status":204,"url":"/experiments/50f0f171-2079-43e0-8313-92ee3a4774b2"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 114ms","method":"POST","requestID":"a43cc6b77d5a9fe41d7e251193bdf31b","responseTime":114,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.117","http_referrer":"","http_user_agent":"node-fetch","requestID":"a43cc6b77d5a9fe41d7e251193bdf31b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 114ms","method":"POST","requestID":"fba5a7afab8882e8c36c1c234cbd1f71","responseTime":114,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.118","http_referrer":"","http_user_agent":"node-fetch","requestID":"fba5a7afab8882e8c36c1c234cbd1f71"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwOH0.4f7W-jB40ZcXv83xSJs0x6tu5pEhJis-09V7L5xAyIc","level":"info","message":"auth send jwt","requestID":"b548f3a5db64451832ffce5b052872fa"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b548f3a5db64451832ffce5b052872fa","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"b548f3a5db64451832ffce5b052872fa"} gateway-1 | {"time_local":"18/Sep/2024:16:23:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1784","request_time":"0.616","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"7849218b97e2efbf2546d6e8fabfc84d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":931,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":931,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.878873,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b548f3a5db64451832ffce5b052872fa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676608,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwOH0.4f7W-jB40ZcXv83xSJs0x6tu5pEhJis-09V7L5xAyIc"} gateway-1 | {"time_local":"18/Sep/2024:16:23:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1781","request_time":"0.628","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ba6745e630b8ca9cb9e97f6b92ce464c"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b548f3a5db64451832ffce5b052872fa","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/4843976e-3929-4e68-a765-a0de06be071b' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"74c3a2ec-e368-4690-91e9-e5c97e0c80f1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.4827554} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b548f3a5db64451832ffce5b052872fa","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/917f20a8-b74c-4db6-9261-33c2c8706393' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bdda4f00-431d-4619-a455-08a500de6461","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.4880238} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"b548f3a5db64451832ffce5b052872fa","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"a177577c-9b14-448b-9f23-dfbb4919cc5e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.4981785} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3103a40d-2656-4d4f-a8b4-2021e94c55b6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.4983742} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"b548f3a5db64451832ffce5b052872fa","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:28.498154063Z"}]},"request_id":"d77d31f1-4f6a-4ddc-96f2-c4d447bdd108","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.50212} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b548f3a5db64451832ffce5b052872fa","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b548f3a5db64451832ffce5b052872fa"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"b548f3a5db64451832ffce5b052872fa","responseTime":45,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b548f3a5db64451832ffce5b052872fa"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwOH0.4f7W-jB40ZcXv83xSJs0x6tu5pEhJis-09V7L5xAyIc","level":"info","message":"auth send jwt","requestID":"c120380add261d9be2513299ea199cca"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c120380add261d9be2513299ea199cca","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"c120380add261d9be2513299ea199cca"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":932,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":932,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.7982,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:28Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c120380add261d9be2513299ea199cca","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676608,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwOH0.4f7W-jB40ZcXv83xSJs0x6tu5pEhJis-09V7L5xAyIc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c120380add261d9be2513299ea199cca","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"113fd6cc-b688-42c4-949b-7eddf544250c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.5288773} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c120380add261d9be2513299ea199cca","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"535c0dd0-c7a2-45fe-b75d-4ccba3eb5977","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.5334563} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"c120380add261d9be2513299ea199cca","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"06952408-0840-431b-b600-22935bc0bc94","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.5438437} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"25be9c01-6b30-4466-a535-882838c0a8e0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.5440235} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"c120380add261d9be2513299ea199cca","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:28.543816234Z"}]},"request_id":"6f4f7856-ce6b-47eb-af44-e456ab5b7331","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676608.547721} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c120380add261d9be2513299ea199cca","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c120380add261d9be2513299ea199cca"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"c120380add261d9be2513299ea199cca","responseTime":41,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c120380add261d9be2513299ea199cca"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwOX0.D6cGAN4SyCU-LEq_YMaLgqA7izGca7G8edYo7MRw1eY","level":"info","message":"auth send jwt","requestID":"e95287e1b6fdc1d2c7ab0893a034fda6"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"e95287e1b6fdc1d2c7ab0893a034fda6","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e95287e1b6fdc1d2c7ab0893a034fda6"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":933,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:29Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":933,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.537457,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:29Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e95287e1b6fdc1d2c7ab0893a034fda6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676609,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwOX0.D6cGAN4SyCU-LEq_YMaLgqA7izGca7G8edYo7MRw1eY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e95287e1b6fdc1d2c7ab0893a034fda6","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:28.543816234Z"}]},"request_id":"632ad469-9a21-48fd-8bfa-a1a919974965","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676609.0447464} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e95287e1b6fdc1d2c7ab0893a034fda6","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d534089c-d15f-4b0d-83c2-39cf61d1276b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676609.0506835} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"e95287e1b6fdc1d2c7ab0893a034fda6","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:28.543816234Z"}]},"request_id":"c0fdd0c4-acf5-4be3-9b50-85a3dc99062d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676609.0625424} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e95287e1b6fdc1d2c7ab0893a034fda6","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e95287e1b6fdc1d2c7ab0893a034fda6"} device-1 | {"level":"info","message":"PATCH /devices/1353a523-33f5-4dc1-9225-184b25054e1d 200 33ms","method":"PATCH","requestID":"e95287e1b6fdc1d2c7ab0893a034fda6","responseTime":33,"status":200,"url":"/devices/1353a523-33f5-4dc1-9225-184b25054e1d"} gateway-1 | {"time_local":"18/Sep/2024:16:23:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/1353a523-33f5-4dc1-9225-184b25054e1d HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.042","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"e95287e1b6fdc1d2c7ab0893a034fda6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwOX0.D6cGAN4SyCU-LEq_YMaLgqA7izGca7G8edYo7MRw1eY","level":"info","message":"auth send jwt","requestID":"02c4045c4300221345e48889dca27550"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"02c4045c4300221345e48889dca27550","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"02c4045c4300221345e48889dca27550"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":934,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:29Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":934,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.066153,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:29Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"02c4045c4300221345e48889dca27550","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676609,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYwOX0.D6cGAN4SyCU-LEq_YMaLgqA7izGca7G8edYo7MRw1eY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"02c4045c4300221345e48889dca27550","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"02c4045c4300221345e48889dca27550"} gateway-1 | {"time_local":"18/Sep/2024:16:23:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/1353a523-33f5-4dc1-9225-184b25054e1d/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"02c4045c4300221345e48889dca27550"} device-1 | {"level":"info","message":"POST /devices/1353a523-33f5-4dc1-9225-184b25054e1d/websocket 200 20ms","method":"POST","requestID":"02c4045c4300221345e48889dca27550","responseTime":20,"status":200,"url":"/devices/1353a523-33f5-4dc1-9225-184b25054e1d/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9f0ecd41ba6920b20d6e58c887231b15","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9f0ecd41ba6920b20d6e58c887231b15","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"9f0ecd41ba6920b20d6e58c887231b15"} device-1 | {"level":"info","message":"OPTIONS /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba/websocket 200 1ms","method":"OPTIONS","requestID":"9f0ecd41ba6920b20d6e58c887231b15","responseTime":1,"status":200,"url":"/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k","level":"info","message":"auth send jwt","requestID":"942569e87b39ce1c31b18a8d7351f766"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"942569e87b39ce1c31b18a8d7351f766","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"942569e87b39ce1c31b18a8d7351f766"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":935,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":935,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.180388,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"942569e87b39ce1c31b18a8d7351f766","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676610,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"942569e87b39ce1c31b18a8d7351f766","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"942569e87b39ce1c31b18a8d7351f766"} device-1 | {"level":"info","message":"POST /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba/websocket 200 21ms","method":"POST","requestID":"942569e87b39ce1c31b18a8d7351f766","responseTime":21,"status":200,"url":"/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:23:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"942569e87b39ce1c31b18a8d7351f766"} device-1 | {"level":"info","message":"device 'http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fa78732c5e253781fea8b8aa7a76afb3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"fa78732c5e253781fea8b8aa7a76afb3","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"fa78732c5e253781fea8b8aa7a76afb3"} device-1 | {"level":"info","message":"OPTIONS /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba? 200 1ms","method":"OPTIONS","requestID":"fa78732c5e253781fea8b8aa7a76afb3","responseTime":1,"status":200,"url":"/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k","level":"info","message":"auth send jwt","requestID":"b59d7a0dfa14e526862cbecf5be70ff3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b59d7a0dfa14e526862cbecf5be70ff3","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"b59d7a0dfa14e526862cbecf5be70ff3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":936,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":936,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.117416,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b59d7a0dfa14e526862cbecf5be70ff3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676610,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b59d7a0dfa14e526862cbecf5be70ff3","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:28.498154063Z"}]},"request_id":"68439949-993b-4960-ade7-0dd2e2113e3c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.662731} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b59d7a0dfa14e526862cbecf5be70ff3","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"babc8ef2-23f4-47b7-85ea-96b8b0689fc1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.6715693} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"b59d7a0dfa14e526862cbecf5be70ff3","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:28.498154063Z"}]},"request_id":"1acc7b4c-2415-4224-8668-085b6035f568","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.6833928} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b59d7a0dfa14e526862cbecf5be70ff3","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"b59d7a0dfa14e526862cbecf5be70ff3"} gateway-1 | {"time_local":"18/Sep/2024:16:23:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.044","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"b59d7a0dfa14e526862cbecf5be70ff3"} device-1 | {"level":"info","message":"PATCH /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba? 200 38ms","method":"PATCH","requestID":"b59d7a0dfa14e526862cbecf5be70ff3","responseTime":38,"status":200,"url":"/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k","level":"info","message":"auth send jwt","requestID":"de8848caa0575544d471906f4869f4fc"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"de8848caa0575544d471906f4869f4fc","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"de8848caa0575544d471906f4869f4fc"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":937,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":937,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.246785,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"de8848caa0575544d471906f4869f4fc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676610,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"de8848caa0575544d471906f4869f4fc","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:28.498154063Z"}]},"request_id":"ebc09f55-3678-41b1-9d65-5fe5e7753497","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.711672} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"de8848caa0575544d471906f4869f4fc","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"de8848caa0575544d471906f4869f4fc"} device-1 | {"level":"info","message":"GET /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba? 200 15ms","method":"GET","requestID":"de8848caa0575544d471906f4869f4fc","responseTime":15,"status":200,"url":"/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"de8848caa0575544d471906f4869f4fc"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k","level":"info","message":"auth send jwt","requestID":"96da817b76e97175bb643494443f2422"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"96da817b76e97175bb643494443f2422","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"96da817b76e97175bb643494443f2422"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":938,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":938,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.123663,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"96da817b76e97175bb643494443f2422","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676610,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"96da817b76e97175bb643494443f2422","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:28.543816234Z"}]},"request_id":"4e239a73-04a8-4a6c-a662-abc06c96c88c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.7326226} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"96da817b76e97175bb643494443f2422","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"96da817b76e97175bb643494443f2422"} device-1 | {"level":"info","message":"GET /devices/1353a523-33f5-4dc1-9225-184b25054e1d? 200 13ms","method":"GET","requestID":"96da817b76e97175bb643494443f2422","responseTime":13,"status":200,"url":"/devices/1353a523-33f5-4dc1-9225-184b25054e1d?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/1353a523-33f5-4dc1-9225-184b25054e1d? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"96da817b76e97175bb643494443f2422"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k","level":"info","message":"auth send jwt","requestID":"90dfce63cdd26db04cbdf545b141dd01"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"90dfce63cdd26db04cbdf545b141dd01","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"90dfce63cdd26db04cbdf545b141dd01"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":939,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":939,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.897648,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"90dfce63cdd26db04cbdf545b141dd01","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676610,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"90dfce63cdd26db04cbdf545b141dd01","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f"},"level":"info","message":"Attempting to run experiment","requestID":"90dfce63cdd26db04cbdf545b141dd01"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f"},"level":"info","message":"Attempting to book experiment","requestID":"90dfce63cdd26db04cbdf545b141dd01"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f"},"level":"info","message":"Successfully booked experiment","requestID":"90dfce63cdd26db04cbdf545b141dd01"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"57c8c330-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"57c91150-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":940,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":940,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.126829,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57c8c330-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676610,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"57c8c330-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":941,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":941,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.625829,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57c91150-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676610,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"57c91150-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:28.498154063Z"}]},"request_id":"8dee5c95-e708-4d00-9084-696bf4c1f220","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.8004808} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"57c8c330-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:28.543816234Z"}]},"request_id":"73c55e5b-b594-4b50-b6f1-6fba9144c962","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.8020303} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"57c91150-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"57c8c330-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba? 200 22ms","method":"GET","requestID":"57c8c330-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"57c91150-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/1353a523-33f5-4dc1-9225-184b25054e1d? 200 22ms","method":"GET","requestID":"57c91150-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/1353a523-33f5-4dc1-9225-184b25054e1d?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f"},"level":"info","message":"Setting up experiment","requestID":"90dfce63cdd26db04cbdf545b141dd01"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"90dfce63cdd26db04cbdf545b141dd01"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f"},"level":"info","message":"Successfully locked booking for experiment","requestID":"90dfce63cdd26db04cbdf545b141dd01"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"90dfce63cdd26db04cbdf545b141dd01"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"90dfce63cdd26db04cbdf545b141dd01"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f"},"level":"info","message":"Attempting to update booking for experiment","requestID":"90dfce63cdd26db04cbdf545b141dd01"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f"},"level":"info","message":"Successfully updated booking for experiment","requestID":"90dfce63cdd26db04cbdf545b141dd01"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f"},"level":"info","message":"Successfully set up experiment","requestID":"90dfce63cdd26db04cbdf545b141dd01"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"57d3bfb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"57d40dd0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f"},"level":"info","message":"Successfully running experiment","requestID":"90dfce63cdd26db04cbdf545b141dd01"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"57d48300-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":942,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":942,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.935498,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":943,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57d3bfb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676610,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"57d3bfb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":943,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.842615,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57d40dd0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676610,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"57d40dd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":944,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":944,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.633042,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f41d020a-7760-4b73-9953-57570baa0fce","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.8732688} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57d48300-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"57d48300-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:28.498154063Z"}]},"request_id":"88956aff-2e7f-4857-9b2f-de7d68f56e1a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.8742602} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:28.543816234Z"}]},"request_id":"22d07373-27b3-4ce7-900f-4e9aeb0f8b1a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.8759696} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"57d3bfb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"57d40dd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"57d48300-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba/signaling 200 21ms","method":"POST","requestID":"57d48300-75da-11ef-ba7c-09eaa4331ae1","responseTime":21,"status":200,"url":"/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"57d3bfb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba? 200 27ms","method":"GET","requestID":"57d3bfb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":200,"url":"/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"57d40dd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/1353a523-33f5-4dc1-9225-184b25054e1d? 200 26ms","method":"GET","requestID":"57d40dd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":200,"url":"/devices/1353a523-33f5-4dc1-9225-184b25054e1d?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff189c570-4a1a-4984-bed2-689daa20425f#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff189c570-4a1a-4984-bed2-689daa20425f","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"d8fdf882-6293-4ff3-bb0f-5997fd34daf2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.8883162} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"57d82c80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2fd676cb-0d9e-409e-a953-5b5a7ea36595","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.888751} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"90dfce63cdd26db04cbdf545b141dd01","responseTime":23,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"57d8a1b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":945,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"750cdb46-886c-42ff-815c-7db4076977ce","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.893545} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":946,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":945,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.802667,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57d82c80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"57d82c80-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"90dfce63cdd26db04cbdf545b141dd01"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e4a9938a-dc32-4815-94a5-ee46f585f407","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.8956404} experiment-1 | {"level":"info","message":"POST /experiments? 201 152ms","method":"POST","requestID":"90dfce63cdd26db04cbdf545b141dd01","responseTime":152,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1292","request_time":"0.158","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"90dfce63cdd26db04cbdf545b141dd01"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":946,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.661864,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57d8a1b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"57d8a1b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"57d82c80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/1353a523-33f5-4dc1-9225-184b25054e1d/signaling 200 11ms","method":"POST","requestID":"57d82c80-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/1353a523-33f5-4dc1-9225-184b25054e1d/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k","level":"info","message":"auth send jwt","requestID":"1f0b95fcb145ad61cc39d4b9cf185a7e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"57d8a1b0-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1f0b95fcb145ad61cc39d4b9cf185a7e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"POST /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba/signaling 200 10ms","method":"POST","requestID":"57d8a1b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1f0b95fcb145ad61cc39d4b9cf185a7e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"57da7670-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":947,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":947,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.643914,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":948,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1f0b95fcb145ad61cc39d4b9cf185a7e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676610,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1f0b95fcb145ad61cc39d4b9cf185a7e","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"348c5615-6ec3-4535-91b6-71497bfedb8d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.9084375} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":948,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.356421,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57da7670-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"57da7670-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:28.498154063Z"}]},"request_id":"1937c649-ce45-43a9-be8c-06d7b92cf117","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.9107127} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1f0b95fcb145ad61cc39d4b9cf185a7e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"57da7670-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/1353a523-33f5-4dc1-9225-184b25054e1d/signaling 200 12ms","method":"POST","requestID":"57da7670-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/1353a523-33f5-4dc1-9225-184b25054e1d/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1f0b95fcb145ad61cc39d4b9cf185a7e"} gateway-1 | {"time_local":"18/Sep/2024:16:23:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1f0b95fcb145ad61cc39d4b9cf185a7e"} device-1 | {"level":"info","message":"GET /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba? 200 14ms","method":"GET","requestID":"1f0b95fcb145ad61cc39d4b9cf185a7e","responseTime":14,"status":200,"url":"/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"90dfce63cdd26db04cbdf545b141dd01"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"57dc9950-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"57dcc060-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k","level":"info","message":"auth send jwt","requestID":"d6329de88669d500118dda9935caf06e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":949,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":949,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.73519,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":950,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:30Z"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d6329de88669d500118dda9935caf06e","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57dc9950-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676610,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d6329de88669d500118dda9935caf06e"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"57dc9950-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":950,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.754019,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57dcc060-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676610,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"57dcc060-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":951,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":951,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.697539,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d6329de88669d500118dda9935caf06e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676610,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d6329de88669d500118dda9935caf06e","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:28.498154063Z"}]},"request_id":"37788bbc-45d9-4506-a3c2-8710a81621b2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.9257965} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"57dc9950-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:28.543816234Z"}]},"request_id":"ce60c25c-c55d-4a67-b5ec-bbfe26d7ffa7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.928538} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"57dcc060-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:28.543816234Z"}]},"request_id":"310e3c9f-b3c1-4b5d-afd7-d1655421f645","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.9304461} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d6329de88669d500118dda9935caf06e","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"57dc9950-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba? 200 15ms","method":"GET","requestID":"57dc9950-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"57dcc060-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/1353a523-33f5-4dc1-9225-184b25054e1d? 200 17ms","method":"GET","requestID":"57dcc060-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/1353a523-33f5-4dc1-9225-184b25054e1d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d6329de88669d500118dda9935caf06e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f"},"level":"info","message":"Building connection plan","requestID":"90dfce63cdd26db04cbdf545b141dd01"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"126f3ac0-288c-4e81-9a36-66b4332f7d37"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"5c96cd61-8034-48a3-a0f1-53374eeb9589"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"8e80fa09-18fa-4835-9529-89b08f6c9e06"}]},"level":"info","message":"Built pairwise service configurations","requestID":"90dfce63cdd26db04cbdf545b141dd01"} gateway-1 | {"time_local":"18/Sep/2024:16:23:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/1353a523-33f5-4dc1-9225-184b25054e1d? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d6329de88669d500118dda9935caf06e"} device-1 | {"level":"info","message":"GET /devices/1353a523-33f5-4dc1-9225-184b25054e1d? 200 14ms","method":"GET","requestID":"d6329de88669d500118dda9935caf06e","responseTime":14,"status":200,"url":"/devices/1353a523-33f5-4dc1-9225-184b25054e1d?"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"57dfa690-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"57dfa690-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"57dfa690-75da-11ef-9672-db8da4810e4b","responseTime":1,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/9da9e1f7-bfd3-4a2e-9af8-75a295ace690?id=0307acf6-96d2-4083-84ba-3fd966399b45","ws://localhost/rooms/9da9e1f7-bfd3-4a2e-9af8-75a295ace690?id=cb9efa81-80b7-4817-b4de-9ac801f7c767"]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"90dfce63cdd26db04cbdf545b141dd01"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"57dff4b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":952,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":952,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.023424,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:30Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57dff4b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676610,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMH0.R4AN7VgwaDLOlsb8rspFBjSug_lnnWvTwPHV55Y4h6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"57dff4b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"ea02f13b-aaa8-4845-a07e-386467929f37","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.951829} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cc70c30b-3648-4748-a94d-75f5058c28cb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676610.9523218} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"57dff4b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"57dff4b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"57dff4b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9'","requestID":"57dff4b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9'","requestID":"57dff4b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"57dff4b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 25ms","method":"POST","requestID":"57dff4b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"57dff4b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"57e524d0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"0307acf6-96d2-4083-84ba-3fd966399b45\" in room \"http://localhost/rooms/9da9e1f7-bfd3-4a2e-9af8-75a295ace690\"","requestID":"57e524d0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"57e524d0-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1b3c66babe44b2cea8ed28120e6d6a24","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"1b3c66babe44b2cea8ed28120e6d6a24","responseTime":2,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"57e5c110-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"cb9efa81-80b7-4817-b4de-9ac801f7c767\" in room \"http://localhost/rooms/9da9e1f7-bfd3-4a2e-9af8-75a295ace690\"","requestID":"57e5c110-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"57e5c110-75da-11ef-9672-db8da4810e4b"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9"}}},"level":"info","message":"received a callback","requestID":"1b3c66babe44b2cea8ed28120e6d6a24"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"0307acf6-96d2-4083-84ba-3fd966399b45\" in room \"http://localhost/rooms/9da9e1f7-bfd3-4a2e-9af8-75a295ace690\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"0307acf6-96d2-4083-84ba-3fd966399b45\" in room \"http://localhost/rooms/9da9e1f7-bfd3-4a2e-9af8-75a295ace690\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"0307acf6-96d2-4083-84ba-3fd966399b45\" in room \"http://localhost/rooms/9da9e1f7-bfd3-4a2e-9af8-75a295ace690\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"0307acf6-96d2-4083-84ba-3fd966399b45\" in room \"http://localhost/rooms/9da9e1f7-bfd3-4a2e-9af8-75a295ace690\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9","statusDeviceA":"connected","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 10ms","method":"POST","requestID":"1b3c66babe44b2cea8ed28120e6d6a24","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"1b3c66babe44b2cea8ed28120e6d6a24"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6887b33ed94938ba12e91afd0a1a2e77","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"6887b33ed94938ba12e91afd0a1a2e77","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba"}],"status":"new","type":"websocket","url":"http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9"}}},"level":"info","message":"received a callback","requestID":"6887b33ed94938ba12e91afd0a1a2e77"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"90dfce63cdd26db04cbdf545b141dd01"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bc2f6ad15588819bc788deb184b6e6f8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"bc2f6ad15588819bc788deb184b6e6f8","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"57ea2de0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9"}}},"level":"info","message":"received a callback","requestID":"bc2f6ad15588819bc788deb184b6e6f8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":953,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:31Z"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 19ms","method":"POST","requestID":"6887b33ed94938ba12e91afd0a1a2e77","responseTime":19,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch","requestID":"6887b33ed94938ba12e91afd0a1a2e77"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6e52f50a-b35c-4ae0-89af-e5ff6a5c3c59","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.009997} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":953,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.392633,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57ea2de0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"57ea2de0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"bc2f6ad15588819bc788deb184b6e6f8","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"bc2f6ad15588819bc788deb184b6e6f8"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"57ea2de0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba/signaling 200 11ms","method":"POST","requestID":"57ea2de0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"92a852bbc9e1604c7d90656f7f6c2723","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"92a852bbc9e1604c7d90656f7f6c2723","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"57ec29b0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9"}}},"level":"info","message":"received a callback","requestID":"92a852bbc9e1604c7d90656f7f6c2723"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":954,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d73efc23-1ce9-4b85-9105-0546484c1463","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.0235188} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":954,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.240233,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:31Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"57eced00-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57ec29b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"57ec29b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":955,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d1b7e617-82b7-4fa3-87b1-618bd885643e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.0278246} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":955,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.163596,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57eced00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"57ec29b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/1353a523-33f5-4dc1-9225-184b25054e1d/signaling 200 10ms","method":"POST","requestID":"57ec29b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/1353a523-33f5-4dc1-9225-184b25054e1d/signaling"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"57eced00-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"57eced00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9 200 7ms","method":"GET","requestID":"57eced00-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 24ms","method":"POST","requestID":"92a852bbc9e1604c7d90656f7f6c2723","responseTime":24,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.027","http_referrer":"","http_user_agent":"node-fetch","requestID":"92a852bbc9e1604c7d90656f7f6c2723"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"57efd330-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":956,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f431b4b1-6e9b-42ba-8392-fdd6bc4038f3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.0478323} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":956,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.422422,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57efd330-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"57efd330-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"57efd330-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/1353a523-33f5-4dc1-9225-184b25054e1d/signaling 200 8ms","method":"POST","requestID":"57efd330-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/1353a523-33f5-4dc1-9225-184b25054e1d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"57f159d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":957,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"71dd26be-a709-4428-b338-14749c7f2a7d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.0576797} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":957,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.727179,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57f159d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"57f159d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"57f159d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba/signaling 200 9ms","method":"POST","requestID":"57f159d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMX0.WTnMAYssF49tZyDqiK2R66vjN7Aa2kICyfx-RL6JxOM","level":"info","message":"auth send jwt","requestID":"16201dff89d28ffbf218fb6f1b047754"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"16201dff89d28ffbf218fb6f1b047754","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/f189c570-4a1a-4984-bed2-689daa20425f","requestID":"16201dff89d28ffbf218fb6f1b047754"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":958,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":958,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.951902,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"16201dff89d28ffbf218fb6f1b047754","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676611,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMX0.WTnMAYssF49tZyDqiK2R66vjN7Aa2kICyfx-RL6JxOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"16201dff89d28ffbf218fb6f1b047754","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/f189c570-4a1a-4984-bed2-689daa20425f","requestID":"16201dff89d28ffbf218fb6f1b047754"} gateway-1 | {"time_local":"18/Sep/2024:16:23:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/f189c570-4a1a-4984-bed2-689daa20425f HTTP/1.1","status": "200","body_bytes_sent":"1365","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"16201dff89d28ffbf218fb6f1b047754"} experiment-1 | {"level":"info","message":"GET /experiments/f189c570-4a1a-4984-bed2-689daa20425f 200 11ms","method":"GET","requestID":"16201dff89d28ffbf218fb6f1b047754","responseTime":11,"status":200,"url":"/experiments/f189c570-4a1a-4984-bed2-689daa20425f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMX0.WTnMAYssF49tZyDqiK2R66vjN7Aa2kICyfx-RL6JxOM","level":"info","message":"auth send jwt","requestID":"9bc8eecbd4b040c25e0176e24d0fa296"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9bc8eecbd4b040c25e0176e24d0fa296","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/f189c570-4a1a-4984-bed2-689daa20425f","requestID":"9bc8eecbd4b040c25e0176e24d0fa296"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":959,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":959,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.2024,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9bc8eecbd4b040c25e0176e24d0fa296","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676611,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMX0.WTnMAYssF49tZyDqiK2R66vjN7Aa2kICyfx-RL6JxOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9bc8eecbd4b040c25e0176e24d0fa296","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f"},"level":"info","message":"Attempting to finish experiment","requestID":"9bc8eecbd4b040c25e0176e24d0fa296"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"57fb1dd0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":960,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":960,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.895253,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57fb1dd0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676611,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMX0.WTnMAYssF49tZyDqiK2R66vjN7Aa2kICyfx-RL6JxOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"57fb1dd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:23:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/9da9e1f7-bfd3-4a2e-9af8-75a295ace690?id=0307acf6-96d2-4083-84ba-3fd966399b45 HTTP/1.1","status": "101","body_bytes_sent":"436","request_time":"0.159","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"19ab46d80d537db08d269a90fccb809d"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"0307acf6-96d2-4083-84ba-3fd966399b45\" in room \"http://localhost/rooms/9da9e1f7-bfd3-4a2e-9af8-75a295ace690\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"0307acf6-96d2-4083-84ba-3fd966399b45\" from room \"http://localhost/rooms/9da9e1f7-bfd3-4a2e-9af8-75a295ace690\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} gateway-1 | {"time_local":"18/Sep/2024:16:23:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/9da9e1f7-bfd3-4a2e-9af8-75a295ace690?id=cb9efa81-80b7-4817-b4de-9ac801f7c767 HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.157","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4c88906df0e9204e6bf9da0fd5533ab6"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"cb9efa81-80b7-4817-b4de-9ac801f7c767\" in room \"http://localhost/rooms/9da9e1f7-bfd3-4a2e-9af8-75a295ace690\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"cb9efa81-80b7-4817-b4de-9ac801f7c767\" from room \"http://localhost/rooms/9da9e1f7-bfd3-4a2e-9af8-75a295ace690\""} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9","device":"a3d3bf54-c560-4082-b97e-d9f158c94bba","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"535835e6d156b6cd6448ec820f560987","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"535835e6d156b6cd6448ec820f560987","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a196c80bddd1e630aae71564cf0db88e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a196c80bddd1e630aae71564cf0db88e","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9"}}},"level":"info","message":"received a callback","requestID":"535835e6d156b6cd6448ec820f560987"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"712cbf71-18ee-4f4c-b180-e0c50276370d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.14077} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9"}}},"level":"info","message":"received a callback","requestID":"a196c80bddd1e630aae71564cf0db88e"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e5c85746-4449-42b0-bb3a-2441f0565e49","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.1411543} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"57fb1dd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"57fb1dd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9 204 42ms","method":"DELETE","requestID":"57fb1dd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":42,"status":204,"url":"/peerconnections/926c9fb8-7e8f-4790-bf6d-e4c412bfd4f9"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f189c570-4a1a-4984-bed2-689daa20425f"},"level":"info","message":"Successfully finished experiment","requestID":"9bc8eecbd4b040c25e0176e24d0fa296"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5803f770-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":961,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1353a523-33f5-4dc1-9225-184b25054e1d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5f0b525a-879d-4549-b2f3-555a7071273f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.18173} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":961,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.408783,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5803f770-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"5803f770-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5803f770-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/1353a523-33f5-4dc1-9225-184b25054e1d/signaling 200 12ms","method":"POST","requestID":"5803f770-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/1353a523-33f5-4dc1-9225-184b25054e1d/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff189c570-4a1a-4984-bed2-689daa20425f': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff189c570-4a1a-4984-bed2-689daa20425f","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"22905052-5932-432c-baf7-4882f1dd53f1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.1885443} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ff3cf98b-2770-45a1-aec9-817db102ce41","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.1888025} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"58064160-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"9bc8eecbd4b040c25e0176e24d0fa296","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":962,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa3d3bf54-c560-4082-b97e-d9f158c94bba","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2214a447-9362-4388-8072-b07ac9f8fd25","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.1962037} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":962,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.79773,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"58064160-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"58064160-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"58064160-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a3d3bf54-c560-4082-b97e-d9f158c94bba/signaling 200 11ms","method":"POST","requestID":"58064160-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/f189c570-4a1a-4984-bed2-689daa20425f","requestID":"9bc8eecbd4b040c25e0176e24d0fa296"} gateway-1 | {"time_local":"18/Sep/2024:16:23:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/f189c570-4a1a-4984-bed2-689daa20425f HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.150","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9bc8eecbd4b040c25e0176e24d0fa296"} experiment-1 | {"level":"info","message":"DELETE /experiments/f189c570-4a1a-4984-bed2-689daa20425f 204 146ms","method":"DELETE","requestID":"9bc8eecbd4b040c25e0176e24d0fa296","responseTime":146,"status":204,"url":"/experiments/f189c570-4a1a-4984-bed2-689daa20425f"} gateway-1 | {"time_local":"18/Sep/2024:16:23:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1782","request_time":"2.157","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"4ab8326103f7af82a2a35d3b455cdd3c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 117ms","method":"POST","requestID":"535835e6d156b6cd6448ec820f560987","responseTime":117,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.121","http_referrer":"","http_user_agent":"node-fetch","requestID":"535835e6d156b6cd6448ec820f560987"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 117ms","method":"POST","requestID":"a196c80bddd1e630aae71564cf0db88e","responseTime":117,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.122","http_referrer":"","http_user_agent":"node-fetch","requestID":"a196c80bddd1e630aae71564cf0db88e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMX0.WTnMAYssF49tZyDqiK2R66vjN7Aa2kICyfx-RL6JxOM","level":"info","message":"auth send jwt","requestID":"69295fc246a59c8cbb84320006331c04"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"69295fc246a59c8cbb84320006331c04","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"69295fc246a59c8cbb84320006331c04"} gateway-1 | {"time_local":"18/Sep/2024:16:23:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2107","request_time":"0.659","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"6fab36fdc45b1696da5f4150e932c14a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":963,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":963,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.045247,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"69295fc246a59c8cbb84320006331c04","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676611,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMX0.WTnMAYssF49tZyDqiK2R66vjN7Aa2kICyfx-RL6JxOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"69295fc246a59c8cbb84320006331c04","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/1353a523-33f5-4dc1-9225-184b25054e1d' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ec51671f-17d9-4e25-afcd-b15ded9b93bb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.2777848} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"69295fc246a59c8cbb84320006331c04","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/a3d3bf54-c560-4082-b97e-d9f158c94bba' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8be72723-348f-47ba-858c-ae36de0ebec8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.2827482} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"69295fc246a59c8cbb84320006331c04","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"a4823012-b8b1-4f93-938d-245c8af11874","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.2916791} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ca3262bb-1ad0-49b3-b21d-7bb83de2b8d7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.2918668} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"69295fc246a59c8cbb84320006331c04","responseTime":11,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:31.291647514Z"}]},"request_id":"48bfba1c-355c-4bbc-a0e2-8bc558d58d6a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.296042} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"69295fc246a59c8cbb84320006331c04","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"69295fc246a59c8cbb84320006331c04"} device-1 | {"level":"info","message":"POST /devices? 201 38ms","method":"POST","requestID":"69295fc246a59c8cbb84320006331c04","responseTime":38,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"69295fc246a59c8cbb84320006331c04"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMX0.WTnMAYssF49tZyDqiK2R66vjN7Aa2kICyfx-RL6JxOM","level":"info","message":"auth send jwt","requestID":"4a9647694a2eb39d8467ecbe32725b57"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4a9647694a2eb39d8467ecbe32725b57","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"4a9647694a2eb39d8467ecbe32725b57"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":964,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":964,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.79988,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4a9647694a2eb39d8467ecbe32725b57","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676611,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMX0.WTnMAYssF49tZyDqiK2R66vjN7Aa2kICyfx-RL6JxOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4a9647694a2eb39d8467ecbe32725b57","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"0caa69e5-d66f-4d43-be6c-3439056d6fd6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.3249328} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4a9647694a2eb39d8467ecbe32725b57","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6614912d-bc9f-495e-a9b2-5694509ec2d8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.3301215} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"4a9647694a2eb39d8467ecbe32725b57","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"04e5b9cd-237a-4fcc-bab1-89eba3f8a091","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.3409867} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"aa168814-9357-473c-bf8a-3c15636b9114","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.3410897} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"4a9647694a2eb39d8467ecbe32725b57","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:31.340948517Z"}]},"request_id":"ce94b13f-e3c6-45e0-86d3-0584da75903c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.345388} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4a9647694a2eb39d8467ecbe32725b57","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"4a9647694a2eb39d8467ecbe32725b57"} gateway-1 | {"time_local":"18/Sep/2024:16:23:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4a9647694a2eb39d8467ecbe32725b57"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"4a9647694a2eb39d8467ecbe32725b57","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMX0.WTnMAYssF49tZyDqiK2R66vjN7Aa2kICyfx-RL6JxOM","level":"info","message":"auth send jwt","requestID":"117e815edbac2af884df6e555d241a30"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"117e815edbac2af884df6e555d241a30","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"117e815edbac2af884df6e555d241a30"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":965,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":965,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.337894,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"117e815edbac2af884df6e555d241a30","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676611,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMX0.WTnMAYssF49tZyDqiK2R66vjN7Aa2kICyfx-RL6JxOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"117e815edbac2af884df6e555d241a30","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:31.340948517Z"}]},"request_id":"1e655c26-de38-4b5d-b727-277c923e0669","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.8355067} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"117e815edbac2af884df6e555d241a30","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8a38b674-cc0f-446e-9a2f-52cf4b835747","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.8425477} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"117e815edbac2af884df6e555d241a30","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:31.340948517Z"}]},"request_id":"2ffa73d9-c0a1-4404-b4e5-f2edd78d0b3b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676611.8567963} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"117e815edbac2af884df6e555d241a30","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"117e815edbac2af884df6e555d241a30"} gateway-1 | {"time_local":"18/Sep/2024:16:23:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.045","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"117e815edbac2af884df6e555d241a30"} device-1 | {"level":"info","message":"PATCH /devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e 200 39ms","method":"PATCH","requestID":"117e815edbac2af884df6e555d241a30","responseTime":39,"status":200,"url":"/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMX0.WTnMAYssF49tZyDqiK2R66vjN7Aa2kICyfx-RL6JxOM","level":"info","message":"auth send jwt","requestID":"820d8d5bead923ea8045972c05e29c2c"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"820d8d5bead923ea8045972c05e29c2c","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"820d8d5bead923ea8045972c05e29c2c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":966,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":966,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.93039,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:31Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"820d8d5bead923ea8045972c05e29c2c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676611,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxMX0.WTnMAYssF49tZyDqiK2R66vjN7Aa2kICyfx-RL6JxOM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"820d8d5bead923ea8045972c05e29c2c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"820d8d5bead923ea8045972c05e29c2c"} gateway-1 | {"time_local":"18/Sep/2024:16:23:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.024","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"820d8d5bead923ea8045972c05e29c2c"} device-1 | {"level":"info","message":"POST /devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e/websocket 200 20ms","method":"POST","requestID":"820d8d5bead923ea8045972c05e29c2c","responseTime":20,"status":200,"url":"/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e0739c26bb829cd289a96859d7e37a60","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"e0739c26bb829cd289a96859d7e37a60","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e0739c26bb829cd289a96859d7e37a60"} device-1 | {"level":"info","message":"OPTIONS /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6/websocket 200 0ms","method":"OPTIONS","requestID":"e0739c26bb829cd289a96859d7e37a60","responseTime":0,"status":200,"url":"/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM","level":"info","message":"auth send jwt","requestID":"5f5fac1f86ee499c8b631f78fce0a5b8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5f5fac1f86ee499c8b631f78fce0a5b8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"5f5fac1f86ee499c8b631f78fce0a5b8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":967,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":967,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.168944,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5f5fac1f86ee499c8b631f78fce0a5b8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676613,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5f5fac1f86ee499c8b631f78fce0a5b8","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"5f5fac1f86ee499c8b631f78fce0a5b8"} gateway-1 | {"time_local":"18/Sep/2024:16:23:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.024","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"5f5fac1f86ee499c8b631f78fce0a5b8"} device-1 | {"level":"info","message":"POST /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6/websocket 200 18ms","method":"POST","requestID":"5f5fac1f86ee499c8b631f78fce0a5b8","responseTime":18,"status":200,"url":"/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"499f044faa887b3457af1c1437e3acc1","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"499f044faa887b3457af1c1437e3acc1","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"499f044faa887b3457af1c1437e3acc1"} device-1 | {"level":"info","message":"OPTIONS /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6? 200 1ms","method":"OPTIONS","requestID":"499f044faa887b3457af1c1437e3acc1","responseTime":1,"status":200,"url":"/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM","level":"info","message":"auth send jwt","requestID":"0712024af6be0de74ee0af5598bdede8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0712024af6be0de74ee0af5598bdede8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"0712024af6be0de74ee0af5598bdede8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":968,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":968,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.295047,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0712024af6be0de74ee0af5598bdede8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676613,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0712024af6be0de74ee0af5598bdede8","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:31.291647514Z"}]},"request_id":"3b7c4b5d-32e2-4db4-a117-aad0d53666e5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.4344409} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"0712024af6be0de74ee0af5598bdede8","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7d9e6ee7-69aa-4956-b2bc-444b8ba49012","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.4428349} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"0712024af6be0de74ee0af5598bdede8","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:31.291647514Z"}]},"request_id":"0b67ef7f-41e8-4928-8874-30729d55824d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.4534047} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0712024af6be0de74ee0af5598bdede8","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"0712024af6be0de74ee0af5598bdede8"} gateway-1 | {"time_local":"18/Sep/2024:16:23:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.042","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"0712024af6be0de74ee0af5598bdede8"} device-1 | {"level":"info","message":"PATCH /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6? 200 37ms","method":"PATCH","requestID":"0712024af6be0de74ee0af5598bdede8","responseTime":37,"status":200,"url":"/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM","level":"info","message":"auth send jwt","requestID":"bf5dd1da41c1167a0c72ce78be78e6cd"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"bf5dd1da41c1167a0c72ce78be78e6cd","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bf5dd1da41c1167a0c72ce78be78e6cd"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":969,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":969,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.782035,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"bf5dd1da41c1167a0c72ce78be78e6cd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676613,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bf5dd1da41c1167a0c72ce78be78e6cd","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:31.291647514Z"}]},"request_id":"be8da2aa-e92f-4485-8da4-3ff51e004ee6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.4842489} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"bf5dd1da41c1167a0c72ce78be78e6cd","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bf5dd1da41c1167a0c72ce78be78e6cd"} gateway-1 | {"time_local":"18/Sep/2024:16:23:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bf5dd1da41c1167a0c72ce78be78e6cd"} device-1 | {"level":"info","message":"GET /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6? 200 17ms","method":"GET","requestID":"bf5dd1da41c1167a0c72ce78be78e6cd","responseTime":17,"status":200,"url":"/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM","level":"info","message":"auth send jwt","requestID":"51537dbe59a2884b7f2ec4bfeff4cfa0"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"51537dbe59a2884b7f2ec4bfeff4cfa0","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"51537dbe59a2884b7f2ec4bfeff4cfa0"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":970,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":970,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.211408,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"51537dbe59a2884b7f2ec4bfeff4cfa0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676613,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"51537dbe59a2884b7f2ec4bfeff4cfa0","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:31.340948517Z"}]},"request_id":"347e13c1-2ed7-4f0d-80bd-abeb837bd551","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.5074496} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"51537dbe59a2884b7f2ec4bfeff4cfa0","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"51537dbe59a2884b7f2ec4bfeff4cfa0"} gateway-1 | {"time_local":"18/Sep/2024:16:23:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"51537dbe59a2884b7f2ec4bfeff4cfa0"} device-1 | {"level":"info","message":"GET /devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e? 200 17ms","method":"GET","requestID":"51537dbe59a2884b7f2ec4bfeff4cfa0","responseTime":17,"status":200,"url":"/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM","level":"info","message":"auth send jwt","requestID":"7c4dc4b5b9102129864a136d80821b96"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7c4dc4b5b9102129864a136d80821b96","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"7c4dc4b5b9102129864a136d80821b96"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":971,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":971,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.021568,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c4dc4b5b9102129864a136d80821b96","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676613,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7c4dc4b5b9102129864a136d80821b96","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27"},"level":"info","message":"Attempting to run experiment","requestID":"7c4dc4b5b9102129864a136d80821b96"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27"},"level":"info","message":"Attempting to book experiment","requestID":"7c4dc4b5b9102129864a136d80821b96"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27"},"level":"info","message":"Successfully booked experiment","requestID":"7c4dc4b5b9102129864a136d80821b96"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"597058b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"59707fc0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":972,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":972,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.584415,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"597058b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676613,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"597058b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":973,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":973,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.619266,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"59707fc0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676613,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"59707fc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:31.291647514Z"}]},"request_id":"6088c533-495d-40d6-8e04-ff733f56ee79","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.5702055} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"597058b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:31.340948517Z"}]},"request_id":"0e04a403-bc16-4d25-ada0-d68831a31ef7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.5707195} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"59707fc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"597058b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6? 200 13ms","method":"GET","requestID":"597058b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"59707fc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e? 200 12ms","method":"GET","requestID":"59707fc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27"},"level":"info","message":"Setting up experiment","requestID":"7c4dc4b5b9102129864a136d80821b96"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"7c4dc4b5b9102129864a136d80821b96"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27"},"level":"info","message":"Successfully locked booking for experiment","requestID":"7c4dc4b5b9102129864a136d80821b96"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"7c4dc4b5b9102129864a136d80821b96"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"7c4dc4b5b9102129864a136d80821b96"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27"},"level":"info","message":"Attempting to update booking for experiment","requestID":"7c4dc4b5b9102129864a136d80821b96"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27"},"level":"info","message":"Successfully updated booking for experiment","requestID":"7c4dc4b5b9102129864a136d80821b96"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27"},"level":"info","message":"Successfully set up experiment","requestID":"7c4dc4b5b9102129864a136d80821b96"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"597a43c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"597a91e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"597ab8f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":974,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":974,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.788024,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":975,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27"},"level":"info","message":"Successfully running experiment","requestID":"7c4dc4b5b9102129864a136d80821b96"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"597a43c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676613,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"597a43c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":975,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.717604,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"597a91e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676613,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"597a91e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":976,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4f84cffd-857d-49e7-9054-2787cfd20890","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.6374528} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":976,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.012194,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"597ab8f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"597ab8f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:31.291647514Z"}]},"request_id":"2bed78c9-ab25-4bf8-aea0-8e120323cea8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.6399777} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:31.340948517Z"}]},"request_id":"2a64db3f-dd9b-49e1-85f4-d4fe1158dd58","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.6415792} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"597a43c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"597a91e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"597ab8f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6/signaling 200 20ms","method":"POST","requestID":"597ab8f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"597a43c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6? 200 24ms","method":"GET","requestID":"597a43c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"597a91e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e? 200 23ms","method":"GET","requestID":"597a91e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":23,"status":200,"url":"/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"597e3b60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"597eb090-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe626cdc8-056a-4038-a912-84929101ce27#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe626cdc8-056a-4038-a912-84929101ce27","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"562d234d-bec8-475f-8147-1315a2e004c5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.6566277} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b84679d6-7552-4ea4-b8fd-dc5fe43be0dd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.6569912} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"7c4dc4b5b9102129864a136d80821b96","responseTime":25,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d14654f7-9729-415e-b3c4-fdfb86dfaf50","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.660984} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":977,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":977,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.488296,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":978,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"597e3b60-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"597e3b60-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a9eadb49-20c0-408c-a8b4-8868379cccb9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.665628} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":978,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.244938,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"597eb090-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"597eb090-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"597e3b60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e/signaling 200 14ms","method":"POST","requestID":"597e3b60-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"7c4dc4b5b9102129864a136d80821b96"} gateway-1 | {"time_local":"18/Sep/2024:16:23:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1292","request_time":"0.155","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7c4dc4b5b9102129864a136d80821b96"} experiment-1 | {"level":"info","message":"POST /experiments? 201 149ms","method":"POST","requestID":"7c4dc4b5b9102129864a136d80821b96","responseTime":149,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"597eb090-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6/signaling 200 15ms","method":"POST","requestID":"597eb090-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM","level":"info","message":"auth send jwt","requestID":"d8202b0220b499f121a91d310de6efa3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d8202b0220b499f121a91d310de6efa3","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"598148a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d8202b0220b499f121a91d310de6efa3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":979,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":980,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":980,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.81242,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d8202b0220b499f121a91d310de6efa3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676613,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d8202b0220b499f121a91d310de6efa3","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0064544a-0f98-4356-a3b9-dc58749dd904","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.679606} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":979,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.557447,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"598148a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"598148a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:31.291647514Z"}]},"request_id":"c4c16edf-9943-4f61-b2d0-776c8779538f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.684199} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"598148a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e/signaling 200 11ms","method":"POST","requestID":"598148a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d8202b0220b499f121a91d310de6efa3","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"7c4dc4b5b9102129864a136d80821b96"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"59834470-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"59836b80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d8202b0220b499f121a91d310de6efa3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":981,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":982,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":981,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.674338,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} device-1 | {"level":"info","message":"GET /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6? 200 15ms","method":"GET","requestID":"d8202b0220b499f121a91d310de6efa3","responseTime":15,"status":200,"url":"/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d8202b0220b499f121a91d310de6efa3"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"59834470-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676613,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"59834470-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":982,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.929961,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"59836b80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676613,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"59836b80-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM","level":"info","message":"auth send jwt","requestID":"5512646ec3ff476bb54ec9dc9dc72773"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5512646ec3ff476bb54ec9dc9dc72773","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5512646ec3ff476bb54ec9dc9dc72773"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:31.291647514Z"}]},"request_id":"4fa78047-8257-4b16-9b4b-b2ee9bd20563","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.6966727} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"59834470-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:31.340948517Z"}]},"request_id":"7c97503a-767c-42a9-9d75-b93124a40cee","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.6977487} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"59836b80-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":983,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":983,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.745004,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5512646ec3ff476bb54ec9dc9dc72773","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676613,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5512646ec3ff476bb54ec9dc9dc72773","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"59834470-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6? 200 15ms","method":"GET","requestID":"59834470-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"59836b80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e? 200 17ms","method":"GET","requestID":"59836b80-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:31.340948517Z"}]},"request_id":"51ddd229-53d4-46e7-8f1d-268ab0db113a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.7055268} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27"},"level":"info","message":"Building connection plan","requestID":"7c4dc4b5b9102129864a136d80821b96"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"32c393c3-986e-46ab-9824-2e1a569c0c6a"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"4f467d61-e4c3-4555-8660-5ab23f8e21ea"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"1e6e29ad-3286-4953-a98b-67cc7d466980"}]},"level":"info","message":"Built pairwise service configurations","requestID":"7c4dc4b5b9102129864a136d80821b96"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5512646ec3ff476bb54ec9dc9dc72773","responseTime":3,"status":200,"url":"/relations/query"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"598678c0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"598678c0-75da-11ef-9672-db8da4810e4b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5512646ec3ff476bb54ec9dc9dc72773"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"598678c0-75da-11ef-9672-db8da4810e4b","responseTime":1,"status":201,"url":"/rooms"} gateway-1 | {"time_local":"18/Sep/2024:16:23:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5512646ec3ff476bb54ec9dc9dc72773"} device-1 | {"level":"info","message":"GET /devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e? 200 14ms","method":"GET","requestID":"5512646ec3ff476bb54ec9dc9dc72773","responseTime":14,"status":200,"url":"/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e?"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/bf729fa8-a5d9-456e-94a6-a6da0a80f24c?id=cb96a0e1-b728-4064-a310-714e5ae63405","ws://localhost/rooms/bf729fa8-a5d9-456e-94a6-a6da0a80f24c?id=682675fe-38d0-4eaf-9427-c55aa303d3a2"]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"7c4dc4b5b9102129864a136d80821b96"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"59871500-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":984,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":984,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.185761,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"59871500-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676613,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"59871500-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"afc2ce74-3fb9-408d-8b54-8fb2ee62b394","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.7257016} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5019caec-db56-45b2-99c0-9b91b1e156a3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.7259185} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"59871500-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"59871500-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"59871500-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1'","requestID":"59871500-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1'","requestID":"59871500-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"59871500-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 26ms","method":"POST","requestID":"59871500-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"59871500-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e9e83a37-5c31-4b5f-b98e-f8befc35e5e1","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"598cba50-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"682675fe-38d0-4eaf-9427-c55aa303d3a2\" in room \"http://localhost/rooms/bf729fa8-a5d9-456e-94a6-a6da0a80f24c\"","requestID":"598cba50-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"598cba50-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c82bf5b565ec3589e215f711eb32735e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"c82bf5b565ec3589e215f711eb32735e","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"598d2f80-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"cb96a0e1-b728-4064-a310-714e5ae63405\" in room \"http://localhost/rooms/bf729fa8-a5d9-456e-94a6-a6da0a80f24c\"","requestID":"598d2f80-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"598d2f80-75da-11ef-9672-db8da4810e4b"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1"}}},"level":"info","message":"received a callback","requestID":"c82bf5b565ec3589e215f711eb32735e"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"682675fe-38d0-4eaf-9427-c55aa303d3a2\" in room \"http://localhost/rooms/bf729fa8-a5d9-456e-94a6-a6da0a80f24c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"682675fe-38d0-4eaf-9427-c55aa303d3a2\" in room \"http://localhost/rooms/bf729fa8-a5d9-456e-94a6-a6da0a80f24c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"682675fe-38d0-4eaf-9427-c55aa303d3a2\" in room \"http://localhost/rooms/bf729fa8-a5d9-456e-94a6-a6da0a80f24c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"682675fe-38d0-4eaf-9427-c55aa303d3a2\" in room \"http://localhost/rooms/bf729fa8-a5d9-456e-94a6-a6da0a80f24c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"682675fe-38d0-4eaf-9427-c55aa303d3a2\" in room \"http://localhost/rooms/bf729fa8-a5d9-456e-94a6-a6da0a80f24c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"682675fe-38d0-4eaf-9427-c55aa303d3a2\" in room \"http://localhost/rooms/bf729fa8-a5d9-456e-94a6-a6da0a80f24c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"682675fe-38d0-4eaf-9427-c55aa303d3a2\" in room \"http://localhost/rooms/bf729fa8-a5d9-456e-94a6-a6da0a80f24c\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"682675fe-38d0-4eaf-9427-c55aa303d3a2\" in room \"http://localhost/rooms/bf729fa8-a5d9-456e-94a6-a6da0a80f24c\""} device-1 | {"data":{"peerconnection":"e9e83a37-5c31-4b5f-b98e-f8befc35e5e1","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 14ms","method":"POST","requestID":"c82bf5b565ec3589e215f711eb32735e","responseTime":14,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch","requestID":"c82bf5b565ec3589e215f711eb32735e"} device-1 | {"data":{"peerconnection":"e9e83a37-5c31-4b5f-b98e-f8befc35e5e1","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"7c4dc4b5b9102129864a136d80821b96"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5991ea70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e9e83a37-5c31-4b5f-b98e-f8befc35e5e1","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":985,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3910c4531680889040362d0e1c23c1fc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f6672de3-6e05-4476-b25d-9f3b3dcf9086","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.7885478} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"3910c4531680889040362d0e1c23c1fc","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":985,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.761479,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5991ea70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1"}}},"level":"info","message":"received a callback","requestID":"3910c4531680889040362d0e1c23c1fc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5991ea70-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"59937110-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":986,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5991ea70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6/signaling 200 15ms","method":"POST","requestID":"5991ea70-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe9e83a37-5c31-4b5f-b98e-f8befc35e5e1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"920b5878-0bd6-423a-9b92-e327b46652fe","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.7978961} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":986,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.83463,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"59937110-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"59937110-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"59948280-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":987,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"59937110-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1 200 10ms","method":"GET","requestID":"59937110-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2f4ef358-683b-4904-a25b-76e19876d34a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.8048062} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":987,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.935338,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"59948280-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"59948280-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"59948280-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e/signaling 200 9ms","method":"POST","requestID":"59948280-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e/signaling"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 29ms","method":"POST","requestID":"3910c4531680889040362d0e1c23c1fc","responseTime":29,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.032","http_referrer":"","http_user_agent":"node-fetch","requestID":"3910c4531680889040362d0e1c23c1fc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"599768b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":988,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"69fd51b0-de4a-4bd8-8c09-92580a65dbbc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.8238938} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":988,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.299546,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"599768b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"599768b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"599768b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6/signaling 200 9ms","method":"POST","requestID":"599768b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"59991660-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":989,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f1c8153e-b4d0-42ac-a831-e33df0fadec7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.8347836} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":989,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.52877,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"59991660-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"59991660-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"59991660-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e/signaling 200 9ms","method":"POST","requestID":"59991660-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM","level":"info","message":"auth send jwt","requestID":"1269bb997a5e7983b004443f0f8b30a5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1269bb997a5e7983b004443f0f8b30a5","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/e626cdc8-056a-4038-a912-84929101ce27","requestID":"1269bb997a5e7983b004443f0f8b30a5"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":990,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":990,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.869814,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1269bb997a5e7983b004443f0f8b30a5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676613,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1269bb997a5e7983b004443f0f8b30a5","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/e626cdc8-056a-4038-a912-84929101ce27","requestID":"1269bb997a5e7983b004443f0f8b30a5"} experiment-1 | {"level":"info","message":"GET /experiments/e626cdc8-056a-4038-a912-84929101ce27 200 8ms","method":"GET","requestID":"1269bb997a5e7983b004443f0f8b30a5","responseTime":8,"status":200,"url":"/experiments/e626cdc8-056a-4038-a912-84929101ce27"} gateway-1 | {"time_local":"18/Sep/2024:16:23:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/e626cdc8-056a-4038-a912-84929101ce27 HTTP/1.1","status": "200","body_bytes_sent":"1365","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1269bb997a5e7983b004443f0f8b30a5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM","level":"info","message":"auth send jwt","requestID":"5ef63222203a6c72b9477ef79419b9f5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5ef63222203a6c72b9477ef79419b9f5","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/e626cdc8-056a-4038-a912-84929101ce27","requestID":"5ef63222203a6c72b9477ef79419b9f5"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":991,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":991,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.811046,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5ef63222203a6c72b9477ef79419b9f5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676613,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5ef63222203a6c72b9477ef79419b9f5","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27"},"level":"info","message":"Attempting to finish experiment","requestID":"5ef63222203a6c72b9477ef79419b9f5"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"59a26530-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":992,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":992,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.351761,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"59a26530-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676613,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxM30.csJAhSp1HgpFb35nIvzU2Dr_qif23WzxmokFGOeEMmM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"59a26530-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:23:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/bf729fa8-a5d9-456e-94a6-a6da0a80f24c?id=682675fe-38d0-4eaf-9427-c55aa303d3a2 HTTP/1.1","status": "101","body_bytes_sent":"872","request_time":"0.158","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"834587db566784669ea5760cf9a8de0f"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"682675fe-38d0-4eaf-9427-c55aa303d3a2\" in room \"http://localhost/rooms/bf729fa8-a5d9-456e-94a6-a6da0a80f24c\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"682675fe-38d0-4eaf-9427-c55aa303d3a2\" from room \"http://localhost/rooms/bf729fa8-a5d9-456e-94a6-a6da0a80f24c\""} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1","device":"8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"18/Sep/2024:16:23:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/bf729fa8-a5d9-456e-94a6-a6da0a80f24c?id=cb96a0e1-b728-4064-a310-714e5ae63405 HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.156","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"82a9ba26252b9355d2f5ca027a2117fd"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e9e83a37-5c31-4b5f-b98e-f8befc35e5e1","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"cb96a0e1-b728-4064-a310-714e5ae63405\" in room \"http://localhost/rooms/bf729fa8-a5d9-456e-94a6-a6da0a80f24c\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"cb96a0e1-b728-4064-a310-714e5ae63405\" from room \"http://localhost/rooms/bf729fa8-a5d9-456e-94a6-a6da0a80f24c\""} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe9e83a37-5c31-4b5f-b98e-f8befc35e5e1': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe9e83a37-5c31-4b5f-b98e-f8befc35e5e1","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"dcd5ba9d-0dbc-458a-bade-015bfbc00319","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.9096684} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"aa7acd1b4fdf1d4806993dd3bcb371f8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"aa7acd1b4fdf1d4806993dd3bcb371f8","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a49720d4-9915-4268-93d4-2bf4b0239300","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.910362} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"abff4a6125685fefbfbddd54eab4aad2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1"}}},"level":"info","message":"received a callback","requestID":"aa7acd1b4fdf1d4806993dd3bcb371f8"} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"59a26530-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"abff4a6125685fefbfbddd54eab4aad2","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1"}}},"level":"info","message":"received a callback","requestID":"abff4a6125685fefbfbddd54eab4aad2"} device-1 | {"data":{"peerconnection":"e9e83a37-5c31-4b5f-b98e-f8befc35e5e1","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"59a26530-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1 204 39ms","method":"DELETE","requestID":"59a26530-75da-11ef-ba7c-09eaa4331ae1","responseTime":39,"status":204,"url":"/peerconnections/e9e83a37-5c31-4b5f-b98e-f8befc35e5e1"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e626cdc8-056a-4038-a912-84929101ce27"},"level":"info","message":"Successfully finished experiment","requestID":"5ef63222203a6c72b9477ef79419b9f5"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"59abb400-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":993,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e1d3f0e9-4a2e-4275-8695-bc0a9080af81","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.9588366} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":993,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.266615,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"59abb400-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"59abb400-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"59abb400-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6/signaling 200 13ms","method":"POST","requestID":"59abb400-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe626cdc8-056a-4038-a912-84929101ce27': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe626cdc8-056a-4038-a912-84929101ce27","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"25be7d51-7f46-43cd-8ec6-b5e9b4b48d93","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.96637} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6df6bade-4496-4f1b-a21e-b6be583dd891","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.9668224} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"59ae4c10-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"5ef63222203a6c72b9477ef79419b9f5","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":994,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98717f4e-3a79-44ae-9c8f-734d6af2a13e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f8520b7d-1829-4417-815e-5042f5aa45d7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676613.9754887} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":994,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.837183,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"59ae4c10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"59ae4c10-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"59ae4c10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e/signaling 200 13ms","method":"POST","requestID":"59ae4c10-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/e626cdc8-056a-4038-a912-84929101ce27","requestID":"5ef63222203a6c72b9477ef79419b9f5"} gateway-1 | {"time_local":"18/Sep/2024:16:23:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/e626cdc8-056a-4038-a912-84929101ce27 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.159","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5ef63222203a6c72b9477ef79419b9f5"} experiment-1 | {"level":"info","message":"DELETE /experiments/e626cdc8-056a-4038-a912-84929101ce27 204 155ms","method":"DELETE","requestID":"5ef63222203a6c72b9477ef79419b9f5","responseTime":155,"status":204,"url":"/experiments/e626cdc8-056a-4038-a912-84929101ce27"} gateway-1 | {"time_local":"18/Sep/2024:16:23:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1781","request_time":"2.148","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"8b26e4a94b78f6704f76d0125fd04997"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 128ms","method":"POST","requestID":"aa7acd1b4fdf1d4806993dd3bcb371f8","responseTime":128,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.131","http_referrer":"","http_user_agent":"node-fetch","requestID":"aa7acd1b4fdf1d4806993dd3bcb371f8"} gateway-1 | {"time_local":"18/Sep/2024:16:23:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.132","http_referrer":"","http_user_agent":"node-fetch","requestID":"abff4a6125685fefbfbddd54eab4aad2"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 127ms","method":"POST","requestID":"abff4a6125685fefbfbddd54eab4aad2","responseTime":127,"status":200,"url":"/callbacks/experiment"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNH0._Yk7iO6iG8g_ZAqywlgDLbB-dHdSX7WZG43rmsJArnQ","level":"info","message":"auth send jwt","requestID":"570fbfa43322347edd887cb3283134f1"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"570fbfa43322347edd887cb3283134f1","responseTime":6,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2108","request_time":"0.672","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"36efa5566769ab92a701a67504e64b12"} device-1 | {"level":"info","message":"postDevices called","requestID":"570fbfa43322347edd887cb3283134f1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":995,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:34Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":995,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.91547,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:34Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"570fbfa43322347edd887cb3283134f1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676614,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNH0._Yk7iO6iG8g_ZAqywlgDLbB-dHdSX7WZG43rmsJArnQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"570fbfa43322347edd887cb3283134f1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/98717f4e-3a79-44ae-9c8f-734d6af2a13e' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/8b105fb9-6dcf-4ae7-9335-7063ac1d94d6' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"cbc021f3-3af4-43c5-bde2-f7260c425360","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676614.0770726} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"570fbfa43322347edd887cb3283134f1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5ee9b18d-26c1-45ed-a481-9556ccab28d2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676614.0825107} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"570fbfa43322347edd887cb3283134f1","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"579fe379-5863-4e91-9c74-eb228ff2b081","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676614.0918465} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9ea3cc20-ef1f-4dd9-b935-90e9ff5c3200","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676614.0919962} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"570fbfa43322347edd887cb3283134f1","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:34.091818215Z"}]},"request_id":"ad626660-eb96-4f55-be1d-28b25c8d2f9e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676614.0960035} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"570fbfa43322347edd887cb3283134f1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"570fbfa43322347edd887cb3283134f1"} device-1 | {"level":"info","message":"POST /devices? 201 50ms","method":"POST","requestID":"570fbfa43322347edd887cb3283134f1","responseTime":50,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.060","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"570fbfa43322347edd887cb3283134f1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNH0._Yk7iO6iG8g_ZAqywlgDLbB-dHdSX7WZG43rmsJArnQ","level":"info","message":"auth send jwt","requestID":"3b1e14f6de59545247f4ae5cb78fdc68"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3b1e14f6de59545247f4ae5cb78fdc68","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"3b1e14f6de59545247f4ae5cb78fdc68"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":996,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:34Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":996,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.735519,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:34Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3b1e14f6de59545247f4ae5cb78fdc68","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676614,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNH0._Yk7iO6iG8g_ZAqywlgDLbB-dHdSX7WZG43rmsJArnQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3b1e14f6de59545247f4ae5cb78fdc68","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"6aa15f7b-3098-4939-9825-5836f0f2fe3a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676614.123171} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3b1e14f6de59545247f4ae5cb78fdc68","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e381ab25-2fb2-451e-b5bb-0b08c84f9e9a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676614.1279283} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"3b1e14f6de59545247f4ae5cb78fdc68","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"70ebc66f-e696-442e-bb21-fdbaa6187e01","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676614.1375642} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b997bd52-75af-4319-9f4a-99cb9b959ece","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676614.1376967} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"3b1e14f6de59545247f4ae5cb78fdc68","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:34.137527784Z"}]},"request_id":"35114f4f-a46f-4453-a0e3-5f6be7f78be7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676614.141297} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3b1e14f6de59545247f4ae5cb78fdc68","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"3b1e14f6de59545247f4ae5cb78fdc68"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"3b1e14f6de59545247f4ae5cb78fdc68","responseTime":40,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.044","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3b1e14f6de59545247f4ae5cb78fdc68"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNH0._Yk7iO6iG8g_ZAqywlgDLbB-dHdSX7WZG43rmsJArnQ","level":"info","message":"auth send jwt","requestID":"9d23b95948125198c7c0756f6ee7277b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9d23b95948125198c7c0756f6ee7277b","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"9d23b95948125198c7c0756f6ee7277b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":997,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:34Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":997,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.172893,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:34Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9d23b95948125198c7c0756f6ee7277b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676614,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNH0._Yk7iO6iG8g_ZAqywlgDLbB-dHdSX7WZG43rmsJArnQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9d23b95948125198c7c0756f6ee7277b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:34.091818215Z"}]},"request_id":"f686f362-188f-4603-9658-6e3f2824a0fa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676614.628854} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9d23b95948125198c7c0756f6ee7277b","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"82a282d5-5dbc-4f5c-9c59-1406f991e50e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676614.6373317} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"9d23b95948125198c7c0756f6ee7277b","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:34.091818215Z"}]},"request_id":"2e6215df-6334-45fa-8e43-82b51929ded6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676614.6497755} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9d23b95948125198c7c0756f6ee7277b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"9d23b95948125198c7c0756f6ee7277b"} device-1 | {"level":"info","message":"PATCH /devices/82b43993-cc05-4927-8478-967a97b39ec7 200 37ms","method":"PATCH","requestID":"9d23b95948125198c7c0756f6ee7277b","responseTime":37,"status":200,"url":"/devices/82b43993-cc05-4927-8478-967a97b39ec7"} gateway-1 | {"time_local":"18/Sep/2024:16:23:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/82b43993-cc05-4927-8478-967a97b39ec7 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.044","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"9d23b95948125198c7c0756f6ee7277b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNH0._Yk7iO6iG8g_ZAqywlgDLbB-dHdSX7WZG43rmsJArnQ","level":"info","message":"auth send jwt","requestID":"4a556212bc2186277b37fdd11e64d99d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"4a556212bc2186277b37fdd11e64d99d","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"4a556212bc2186277b37fdd11e64d99d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":998,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:34Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":998,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.829984,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:34Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4a556212bc2186277b37fdd11e64d99d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676614,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNH0._Yk7iO6iG8g_ZAqywlgDLbB-dHdSX7WZG43rmsJArnQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4a556212bc2186277b37fdd11e64d99d","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"4a556212bc2186277b37fdd11e64d99d"} gateway-1 | {"time_local":"18/Sep/2024:16:23:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/82b43993-cc05-4927-8478-967a97b39ec7/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.024","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"4a556212bc2186277b37fdd11e64d99d"} device-1 | {"level":"info","message":"POST /devices/82b43993-cc05-4927-8478-967a97b39ec7/websocket 200 18ms","method":"POST","requestID":"4a556212bc2186277b37fdd11e64d99d","responseTime":18,"status":200,"url":"/devices/82b43993-cc05-4927-8478-967a97b39ec7/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"07f0d0d9cb7e5312d83e3188447c1710","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"07f0d0d9cb7e5312d83e3188447c1710","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"OPTIONS /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c/websocket 200 1ms","method":"OPTIONS","requestID":"07f0d0d9cb7e5312d83e3188447c1710","responseTime":1,"status":200,"url":"/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"07f0d0d9cb7e5312d83e3188447c1710"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI","level":"info","message":"auth send jwt","requestID":"0ae098a5c1036fffcfb500aa21833111"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0ae098a5c1036fffcfb500aa21833111","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"0ae098a5c1036fffcfb500aa21833111"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":999,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":999,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.130946,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0ae098a5c1036fffcfb500aa21833111","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0ae098a5c1036fffcfb500aa21833111","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"0ae098a5c1036fffcfb500aa21833111"} device-1 | {"level":"info","message":"POST /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c/websocket 200 21ms","method":"POST","requestID":"0ae098a5c1036fffcfb500aa21833111","responseTime":21,"status":200,"url":"/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.028","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"0ae098a5c1036fffcfb500aa21833111"} device-1 | {"level":"info","message":"device 'http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5ae76e7e38656e01f46939ea29228f92","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"5ae76e7e38656e01f46939ea29228f92","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"OPTIONS /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c? 200 0ms","method":"OPTIONS","requestID":"5ae76e7e38656e01f46939ea29228f92","responseTime":0,"status":200,"url":"/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"5ae76e7e38656e01f46939ea29228f92"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI","level":"info","message":"auth send jwt","requestID":"2537a34931c6d5ecfba417aebd536dd2"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"2537a34931c6d5ecfba417aebd536dd2","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"2537a34931c6d5ecfba417aebd536dd2"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1000,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1000,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.188908,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2537a34931c6d5ecfba417aebd536dd2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"2537a34931c6d5ecfba417aebd536dd2","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:34.137527784Z"}]},"request_id":"e4310796-dfb9-493a-843b-581ada9fea24","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.235469} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2537a34931c6d5ecfba417aebd536dd2","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"73d66d75-c143-4fb2-afc5-f174f03f71be","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.2428904} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"2537a34931c6d5ecfba417aebd536dd2","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:34.137527784Z"}]},"request_id":"ca7eb852-9507-4ae3-b484-59741b02e1ee","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.2545168} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"2537a34931c6d5ecfba417aebd536dd2","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"2537a34931c6d5ecfba417aebd536dd2"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.045","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"2537a34931c6d5ecfba417aebd536dd2"} device-1 | {"level":"info","message":"PATCH /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c? 200 39ms","method":"PATCH","requestID":"2537a34931c6d5ecfba417aebd536dd2","responseTime":39,"status":200,"url":"/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI","level":"info","message":"auth send jwt","requestID":"d2d7c7e7bc0f0291ea2496ac08f708b4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d2d7c7e7bc0f0291ea2496ac08f708b4","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d2d7c7e7bc0f0291ea2496ac08f708b4"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1001,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1001,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.243631,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d2d7c7e7bc0f0291ea2496ac08f708b4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d2d7c7e7bc0f0291ea2496ac08f708b4","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:34.091818215Z"}]},"request_id":"b201c34e-cc9a-4c05-ba7e-8c7d6f0fabf7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.2852244} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d2d7c7e7bc0f0291ea2496ac08f708b4","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d2d7c7e7bc0f0291ea2496ac08f708b4"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/82b43993-cc05-4927-8478-967a97b39ec7? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d2d7c7e7bc0f0291ea2496ac08f708b4"} device-1 | {"level":"info","message":"GET /devices/82b43993-cc05-4927-8478-967a97b39ec7? 200 17ms","method":"GET","requestID":"d2d7c7e7bc0f0291ea2496ac08f708b4","responseTime":17,"status":200,"url":"/devices/82b43993-cc05-4927-8478-967a97b39ec7?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI","level":"info","message":"auth send jwt","requestID":"c230ed68ccadc91b755ab159a25a1d0e"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"c230ed68ccadc91b755ab159a25a1d0e","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c230ed68ccadc91b755ab159a25a1d0e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1002,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1002,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.185685,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c230ed68ccadc91b755ab159a25a1d0e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c230ed68ccadc91b755ab159a25a1d0e","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:34.137527784Z"}]},"request_id":"5611f444-d532-424c-927f-d946d1fa997d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.3104022} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c230ed68ccadc91b755ab159a25a1d0e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c230ed68ccadc91b755ab159a25a1d0e"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c230ed68ccadc91b755ab159a25a1d0e"} device-1 | {"level":"info","message":"GET /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c? 200 17ms","method":"GET","requestID":"c230ed68ccadc91b755ab159a25a1d0e","responseTime":17,"status":200,"url":"/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI","level":"info","message":"auth send jwt","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b40838cf80cccc5a752e60de36c0e3d0","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1003,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1003,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.315141,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b40838cf80cccc5a752e60de36c0e3d0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b40838cf80cccc5a752e60de36c0e3d0","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"},"level":"info","message":"Attempting to run experiment","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"},"level":"info","message":"Attempting to book experiment","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"},"level":"info","message":"Successfully booked experiment","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5b1b97b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5b1bbec0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1004,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1004,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.652772,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1005,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b1b97b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5b1b97b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1005,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.671135,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b1bbec0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"5b1bbec0-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:34.091818215Z"}]},"request_id":"95c186d3-40ab-4b31-b549-fa1e523e9830","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.3708265} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5b1b97b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:34.137527784Z"}]},"request_id":"fe3643da-7da3-4c8b-9ed6-7bd9583b37bb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.3716133} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5b1bbec0-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5b1b97b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/82b43993-cc05-4927-8478-967a97b39ec7? 200 13ms","method":"GET","requestID":"5b1b97b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/82b43993-cc05-4927-8478-967a97b39ec7?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5b1bbec0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c? 200 14ms","method":"GET","requestID":"5b1bbec0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"},"level":"info","message":"Setting up experiment","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"},"level":"info","message":"Successfully locked booking for experiment","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"},"level":"info","message":"Attempting to update booking for experiment","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"},"level":"info","message":"Successfully updated booking for experiment","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"},"level":"info","message":"Successfully set up experiment","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5b25a9d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5b25f7f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5b264610-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"},"level":"info","message":"Successfully running experiment","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1006,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1006,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.182702,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1007,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b25a9d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"5b25a9d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1007,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.118234,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b25f7f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"5b25f7f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:54060","level":"info","msg":"Received request.","req_id":1008,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:34.091818215Z"}]},"request_id":"21679bbf-0c5c-48c9-81f0-3533ecb537ff","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.4460115} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"5b25a9d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:34.137527784Z"}]},"request_id":"c36efac4-2e14-4143-962c-098f554a07bb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.4484234} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5b25f7f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ed829a51-088f-4827-ae76-71b63f35ce2c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.4500508} authorization-1 | {"client_addr":"127.0.0.1:54060","level":"info","msg":"Sent response.","req_id":1008,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.184705,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b264610-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 16ms","method":"POST","requestID":"5b264610-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5b25a9d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/82b43993-cc05-4927-8478-967a97b39ec7? 200 27ms","method":"GET","requestID":"5b25a9d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":200,"url":"/devices/82b43993-cc05-4927-8478-967a97b39ec7?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5b25f7f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c? 200 27ms","method":"GET","requestID":"5b25f7f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":200,"url":"/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5b264610-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1bebf458-a353-4a46-aacc-181ae1423c1f#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1bebf458-a353-4a46-aacc-181ae1423c1f","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"549f6208-4196-42b0-8c88-1a121aeeec38","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.4599288} device-1 | {"level":"info","message":"POST /devices/82b43993-cc05-4927-8478-967a97b39ec7/signaling 200 27ms","method":"POST","requestID":"5b264610-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":200,"url":"/devices/82b43993-cc05-4927-8478-967a97b39ec7/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f84ab1e1-abd7-4b1e-8df2-1bbb11c0cb3c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.4603684} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5b2a8bd0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"b40838cf80cccc5a752e60de36c0e3d0","responseTime":22,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5b2ad9f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1009,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1010,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c1aacbbc-de05-45b5-bb23-294c7e688bf0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.4667952} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1009,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.512306,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b2a8bd0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"5b2a8bd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0e8ef9c7-b1a5-4dbe-a641-6186696e9214","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.4690506} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1010,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.789901,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b2ad9f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"5b2ad9f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5b2a8bd0-75da-11ef-ba7c-09eaa4331ae1"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1292","request_time":"0.155","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} experiment-1 | {"level":"info","message":"POST /experiments? 201 150ms","method":"POST","requestID":"b40838cf80cccc5a752e60de36c0e3d0","responseTime":150,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"POST /devices/82b43993-cc05-4927-8478-967a97b39ec7/signaling 200 12ms","method":"POST","requestID":"5b2a8bd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/82b43993-cc05-4927-8478-967a97b39ec7/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5b2ad9f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c/signaling 200 11ms","method":"POST","requestID":"5b2ad9f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5b2caeb0-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI","level":"info","message":"auth send jwt","requestID":"989d53318486eaffe947d6ec6bad9370"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"989d53318486eaffe947d6ec6bad9370","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1011,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"989d53318486eaffe947d6ec6bad9370"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"461f8b15-0a1f-4b40-8242-bed78f38bdeb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.480463} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1011,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.079364,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1012,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b2caeb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"5b2caeb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1012,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.029339,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"989d53318486eaffe947d6ec6bad9370","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"989d53318486eaffe947d6ec6bad9370","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5b2caeb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c/signaling 200 12ms","method":"POST","requestID":"5b2caeb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5b2ef8a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:34.091818215Z"}]},"request_id":"8feadd65-3e25-40dd-ab62-b5b6f019b90e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.488393} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5b2f46c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"989d53318486eaffe947d6ec6bad9370","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1013,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1014,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"989d53318486eaffe947d6ec6bad9370"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1013,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.073945,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/82b43993-cc05-4927-8478-967a97b39ec7? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"989d53318486eaffe947d6ec6bad9370"} device-1 | {"level":"info","message":"GET /devices/82b43993-cc05-4927-8478-967a97b39ec7? 200 16ms","method":"GET","requestID":"989d53318486eaffe947d6ec6bad9370","responseTime":17,"status":200,"url":"/devices/82b43993-cc05-4927-8478-967a97b39ec7?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b2ef8a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5b2ef8a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1014,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.95683,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b2f46c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5b2f46c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI","level":"info","message":"auth send jwt","requestID":"acbd97c534890bc33635017ea575865c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:34.091818215Z"}]},"request_id":"74f60858-0cb5-45ea-b17d-aad8051ea4ed","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.4995844} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"acbd97c534890bc33635017ea575865c","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"5b2ef8a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:34.137527784Z"}]},"request_id":"6a22e63d-88ae-4374-8504-4d8253165730","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.501547} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"acbd97c534890bc33635017ea575865c"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5b2f46c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1015,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1015,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.721206,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"acbd97c534890bc33635017ea575865c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"acbd97c534890bc33635017ea575865c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5b2ef8a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/82b43993-cc05-4927-8478-967a97b39ec7? 200 18ms","method":"GET","requestID":"5b2ef8a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/82b43993-cc05-4927-8478-967a97b39ec7?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5b2f46c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c? 200 17ms","method":"GET","requestID":"5b2f46c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:34.137527784Z"}]},"request_id":"3dfc4db4-4189-45df-81b1-b900269bef4d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.5094395} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"},"level":"info","message":"Building connection plan","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"ac8ea3e3-efb1-427d-a81f-6f32734c428a"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"a9aae1ba-3e33-4942-8452-e542e323ba32"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"1365f920-4203-40a7-b2be-40d3e3f550c3"}]},"level":"info","message":"Built pairwise service configurations","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"acbd97c534890bc33635017ea575865c","responseTime":3,"status":200,"url":"/relations/query"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"5b325400-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"5b325400-75da-11ef-9672-db8da4810e4b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"acbd97c534890bc33635017ea575865c"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"acbd97c534890bc33635017ea575865c"} device-1 | {"level":"info","message":"GET /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c? 200 11ms","method":"GET","requestID":"acbd97c534890bc33635017ea575865c","responseTime":11,"status":200,"url":"/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c?"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"5b325400-75da-11ef-9672-db8da4810e4b","responseTime":1,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/acc056e1-cf18-4876-bf59-157708449833?id=4bec1a1b-a956-4dc1-ad40-8f3640ea0458","ws://localhost/rooms/acc056e1-cf18-4876-bf59-157708449833?id=6d179c5f-6a71-4f4d-a9f5-e9215cfdc30d"]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"5b32c930-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1016,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1016,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.710378,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b32c930-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5b32c930-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"59a9b328-e2db-481a-9cb2-b74f4aa13fad","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.5261943} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"76d4e81e-d4d7-47ff-a347-61bc7c83c0d1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.526367} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"5b32c930-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"5b32c930-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"5b32c930-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce'","requestID":"5b32c930-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce'","requestID":"5b32c930-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"5b32c930-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 24ms","method":"POST","requestID":"5b32c930-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"5b32c930-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"22890d13-08a2-4ad9-9408-f0f0650fccce","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"5b37d240-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"4bec1a1b-a956-4dc1-ad40-8f3640ea0458\" in room \"http://localhost/rooms/acc056e1-cf18-4876-bf59-157708449833\"","requestID":"5b37d240-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"5b37d240-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"927d1ecc50aaee55d641ddc8bab9fa2d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"5b382060-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"6d179c5f-6a71-4f4d-a9f5-e9215cfdc30d\" in room \"http://localhost/rooms/acc056e1-cf18-4876-bf59-157708449833\"","requestID":"5b382060-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"927d1ecc50aaee55d641ddc8bab9fa2d","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"5b382060-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"6d179c5f-6a71-4f4d-a9f5-e9215cfdc30d\" in room \"http://localhost/rooms/acc056e1-cf18-4876-bf59-157708449833\"","requestID":"5b382060-75da-11ef-9672-db8da4810e4b"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce"}}},"level":"info","message":"received a callback","requestID":"927d1ecc50aaee55d641ddc8bab9fa2d"} device-1 | {"data":{"peerconnection":"22890d13-08a2-4ad9-9408-f0f0650fccce","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"927d1ecc50aaee55d641ddc8bab9fa2d","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"927d1ecc50aaee55d641ddc8bab9fa2d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"b40838cf80cccc5a752e60de36c0e3d0"} device-1 | {"data":{"peerconnection":"22890d13-08a2-4ad9-9408-f0f0650fccce","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5b3b0690-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1017,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"722b744c-053b-4193-8acd-b34f6f5ec748","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.5738254} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1017,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.449118,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b3b0690-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5b3b0690-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"22890d13-08a2-4ad9-9408-f0f0650fccce","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5b3b0690-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/82b43993-cc05-4927-8478-967a97b39ec7/signaling 200 18ms","method":"POST","requestID":"5b3b0690-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/82b43993-cc05-4927-8478-967a97b39ec7/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b1e6c083de680818aea071e5ca476016","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b1e6c083de680818aea071e5ca476016","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5b3e13d0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce"}}},"level":"info","message":"received a callback","requestID":"b1e6c083de680818aea071e5ca476016"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1018,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d68ab958-a4a9-40b9-99d2-2a51f1f74567","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.5940616} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"5b3ed720-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1018,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.601887,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b3e13d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5b3e13d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1019,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F22890d13-08a2-4ad9-9408-f0f0650fccce","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d4754415-1fd5-482d-b9b1-b9b9ab71d618","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.5988958} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5b3e13d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1019,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.267333,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} device-1 | {"level":"info","message":"POST /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c/signaling 200 11ms","method":"POST","requestID":"5b3e13d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c/signaling"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b3ed720-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5b3ed720-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"5b3ed720-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce 200 8ms","method":"GET","requestID":"5b3ed720-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 27ms","method":"POST","requestID":"b1e6c083de680818aea071e5ca476016","responseTime":27,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.031","http_referrer":"","http_user_agent":"node-fetch","requestID":"b1e6c083de680818aea071e5ca476016"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5b425990-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1020,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7ab5d238-57fe-43f5-b025-09b06dbf2d87","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.6217346} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1020,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.29978,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b425990-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5b425990-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5b425990-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/82b43993-cc05-4927-8478-967a97b39ec7/signaling 200 8ms","method":"POST","requestID":"5b425990-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/82b43993-cc05-4927-8478-967a97b39ec7/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5b440740-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1021,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5558257e-aa17-4fb1-84ba-a07e1eba6d93","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.6320605} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1021,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.51855,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b440740-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5b440740-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5b440740-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c/signaling 200 7ms","method":"POST","requestID":"5b440740-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI","level":"info","message":"auth send jwt","requestID":"f9726b876d6cac48ce05d8332cf0a2d2"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f9726b876d6cac48ce05d8332cf0a2d2","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/1bebf458-a353-4a46-aacc-181ae1423c1f","requestID":"f9726b876d6cac48ce05d8332cf0a2d2"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1022,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1022,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.843203,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f9726b876d6cac48ce05d8332cf0a2d2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f9726b876d6cac48ce05d8332cf0a2d2","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/1bebf458-a353-4a46-aacc-181ae1423c1f","requestID":"f9726b876d6cac48ce05d8332cf0a2d2"} experiment-1 | {"level":"info","message":"GET /experiments/1bebf458-a353-4a46-aacc-181ae1423c1f 200 10ms","method":"GET","requestID":"f9726b876d6cac48ce05d8332cf0a2d2","responseTime":10,"status":200,"url":"/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/1bebf458-a353-4a46-aacc-181ae1423c1f HTTP/1.1","status": "200","body_bytes_sent":"1365","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f9726b876d6cac48ce05d8332cf0a2d2"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI","level":"info","message":"auth send jwt","requestID":"ef441d19de6d94c9852291ad86f66e93"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"ef441d19de6d94c9852291ad86f66e93","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/1bebf458-a353-4a46-aacc-181ae1423c1f","requestID":"ef441d19de6d94c9852291ad86f66e93"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1023,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1023,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.966199,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ef441d19de6d94c9852291ad86f66e93","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ef441d19de6d94c9852291ad86f66e93","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"},"level":"info","message":"Attempting to finish experiment","requestID":"ef441d19de6d94c9852291ad86f66e93"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"5b4d2f00-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1024,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1024,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.270161,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b4d2f00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5b4d2f00-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/acc056e1-cf18-4876-bf59-157708449833?id=4bec1a1b-a956-4dc1-ad40-8f3640ea0458 HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.157","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"1c40cff098213360fd28867da412de15"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"4bec1a1b-a956-4dc1-ad40-8f3640ea0458\" in room \"http://localhost/rooms/acc056e1-cf18-4876-bf59-157708449833\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"4bec1a1b-a956-4dc1-ad40-8f3640ea0458\" from room \"http://localhost/rooms/acc056e1-cf18-4876-bf59-157708449833\""} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce","device":"75662a3e-6bae-42dd-84b2-58037fc2fb0c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/acc056e1-cf18-4876-bf59-157708449833?id=6d179c5f-6a71-4f4d-a9f5-e9215cfdc30d HTTP/1.1","status": "101","body_bytes_sent":"460","request_time":"0.157","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d55e6432f765d0dbec2ec090aed1330d"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"22890d13-08a2-4ad9-9408-f0f0650fccce","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"6d179c5f-6a71-4f4d-a9f5-e9215cfdc30d\" in room \"http://localhost/rooms/acc056e1-cf18-4876-bf59-157708449833\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"6d179c5f-6a71-4f4d-a9f5-e9215cfdc30d\" from room \"http://localhost/rooms/acc056e1-cf18-4876-bf59-157708449833\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1fe63e17c43e1fde8c4c4b013e69247b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"1fe63e17c43e1fde8c4c4b013e69247b","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F22890d13-08a2-4ad9-9408-f0f0650fccce': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F22890d13-08a2-4ad9-9408-f0f0650fccce","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"0a563238-8904-418a-a3c8-c71f10528230","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.7111008} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8b4eecc3-19ca-41f9-bb29-6124f5f6f341","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.7114542} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b9b19b97478bfcd76eb220986b5f4f02","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce"}}},"level":"info","message":"received a callback","requestID":"1fe63e17c43e1fde8c4c4b013e69247b"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b9b19b97478bfcd76eb220986b5f4f02","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"5b4d2f00-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce"}}},"level":"info","message":"received a callback","requestID":"b9b19b97478bfcd76eb220986b5f4f02"} device-1 | {"data":{"peerconnection":"22890d13-08a2-4ad9-9408-f0f0650fccce","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"5b4d2f00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce 204 46ms","method":"DELETE","requestID":"5b4d2f00-75da-11ef-ba7c-09eaa4331ae1","responseTime":46,"status":204,"url":"/peerconnections/22890d13-08a2-4ad9-9408-f0f0650fccce"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"},"level":"info","message":"Successfully finished experiment","requestID":"ef441d19de6d94c9852291ad86f66e93"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5b57b650-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1025,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F82b43993-cc05-4927-8478-967a97b39ec7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"91a79120-3c5b-4e0e-99f1-f7e355023c28","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.7642167} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1025,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.208624,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b57b650-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"5b57b650-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5b57b650-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/82b43993-cc05-4927-8478-967a97b39ec7/signaling 200 14ms","method":"POST","requestID":"5b57b650-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/82b43993-cc05-4927-8478-967a97b39ec7/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1bebf458-a353-4a46-aacc-181ae1423c1f': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1bebf458-a353-4a46-aacc-181ae1423c1f","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"631c1a6c-6e88-4476-809c-7e392ae042b9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.7718697} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"caa9f894-8a03-4e95-8c33-4e8ab8387842","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.7721064} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5b5a2750-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"ef441d19de6d94c9852291ad86f66e93","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1026,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75662a3e-6bae-42dd-84b2-58037fc2fb0c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d3cbd9eb-a2cc-46f0-8d30-547a194454cd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.7789779} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1026,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.973028,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b5a2750-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"5b5a2750-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5b5a2750-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c/signaling 200 14ms","method":"POST","requestID":"5b5a2750-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/1bebf458-a353-4a46-aacc-181ae1423c1f","requestID":"ef441d19de6d94c9852291ad86f66e93"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/1bebf458-a353-4a46-aacc-181ae1423c1f HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.163","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ef441d19de6d94c9852291ad86f66e93"} experiment-1 | {"level":"info","message":"DELETE /experiments/1bebf458-a353-4a46-aacc-181ae1423c1f 204 160ms","method":"DELETE","requestID":"ef441d19de6d94c9852291ad86f66e93","responseTime":160,"status":204,"url":"/experiments/1bebf458-a353-4a46-aacc-181ae1423c1f"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1784","request_time":"2.154","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"cc03fbc8aeff4dd39a0b5184e913be67"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 125ms","method":"POST","requestID":"1fe63e17c43e1fde8c4c4b013e69247b","responseTime":125,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.128","http_referrer":"","http_user_agent":"node-fetch","requestID":"1fe63e17c43e1fde8c4c4b013e69247b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 124ms","method":"POST","requestID":"b9b19b97478bfcd76eb220986b5f4f02","responseTime":124,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.129","http_referrer":"","http_user_agent":"node-fetch","requestID":"b9b19b97478bfcd76eb220986b5f4f02"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI","level":"info","message":"auth send jwt","requestID":"4e1931bc58f37a9dda323b98bd14838e"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"4e1931bc58f37a9dda323b98bd14838e","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"4e1931bc58f37a9dda323b98bd14838e"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2105","request_time":"0.674","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ef3a8966b7470117b1a5a6c79b9eed87"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/82b43993-cc05-4927-8478-967a97b39ec7' closed"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1027,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1027,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.758916,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4e1931bc58f37a9dda323b98bd14838e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4e1931bc58f37a9dda323b98bd14838e","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/75662a3e-6bae-42dd-84b2-58037fc2fb0c' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ba489c4b-1aee-4fee-9727-ecbfed44b238","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.8749068} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"4e1931bc58f37a9dda323b98bd14838e","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"177da9d4-4131-4a63-9c2f-3a77d96b6f9e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.8795404} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"4e1931bc58f37a9dda323b98bd14838e","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"f2d0da96-5f53-450b-ad9e-4638649ef2b8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.8926826} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9035f75a-a169-4bb1-827f-7f74b164fcca","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.8929784} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"4e1931bc58f37a9dda323b98bd14838e","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:36.892654009Z"}]},"request_id":"6467417a-66a7-4928-9532-aaa043d29026","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.897207} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4e1931bc58f37a9dda323b98bd14838e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"4e1931bc58f37a9dda323b98bd14838e"} device-1 | {"level":"info","message":"POST /devices? 201 56ms","method":"POST","requestID":"4e1931bc58f37a9dda323b98bd14838e","responseTime":56,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.064","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4e1931bc58f37a9dda323b98bd14838e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI","level":"info","message":"auth send jwt","requestID":"2850ad0e391067687e9da2a1b23af62a"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"2850ad0e391067687e9da2a1b23af62a","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"2850ad0e391067687e9da2a1b23af62a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1028,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1028,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.715571,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2850ad0e391067687e9da2a1b23af62a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676616,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxNn0.3Sg8YWqBdfBU_sxtAjLtw-3UTNJ3bQ2Iv8y98cjSIaI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2850ad0e391067687e9da2a1b23af62a","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f75dcb91-8c3a-4e99-bc70-03737b53aba0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.920122} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2850ad0e391067687e9da2a1b23af62a","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8ba0c616-0a89-4d4e-a01c-7904e15eac07","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.9248228} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"2850ad0e391067687e9da2a1b23af62a","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"708f3900-7243-49bb-b2d7-2af3c0c29938","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.9349835} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7e0d9072-1aac-4007-b5a2-525a3e713eaf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.9350815} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"2850ad0e391067687e9da2a1b23af62a","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:36.934950531Z"}]},"request_id":"0fdef65f-98c3-453b-8521-b29fc15a89d5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676616.9386728} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"2850ad0e391067687e9da2a1b23af62a","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"2850ad0e391067687e9da2a1b23af62a"} gateway-1 | {"time_local":"18/Sep/2024:16:23:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.040","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2850ad0e391067687e9da2a1b23af62a"} device-1 | {"level":"info","message":"POST /devices? 201 36ms","method":"POST","requestID":"2850ad0e391067687e9da2a1b23af62a","responseTime":36,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxN30.mXngDZCDTx0hVDq3M6ZkC3o5NBKvPky3yVn4QebCmFI","level":"info","message":"auth send jwt","requestID":"e506c30d3ea54d053e6bcc705b19e503"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e506c30d3ea54d053e6bcc705b19e503","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e506c30d3ea54d053e6bcc705b19e503"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1029,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:37Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1029,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.887173,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:37Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e506c30d3ea54d053e6bcc705b19e503","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676617,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxN30.mXngDZCDTx0hVDq3M6ZkC3o5NBKvPky3yVn4QebCmFI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e506c30d3ea54d053e6bcc705b19e503","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:36.892654009Z"}]},"request_id":"533759b0-7a50-4a59-b2b6-9ba6f2f8bd27","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676617.4259737} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e506c30d3ea54d053e6bcc705b19e503","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5e9d47ca-9ac0-4e22-a2de-ec7b6990eba4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676617.4333112} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"e506c30d3ea54d053e6bcc705b19e503","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:36.892654009Z"}]},"request_id":"3fe82ef4-3ae0-4e65-9c47-a5ec4d2233ee","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676617.4464004} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e506c30d3ea54d053e6bcc705b19e503","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e506c30d3ea54d053e6bcc705b19e503"} gateway-1 | {"time_local":"18/Sep/2024:16:23:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.042","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"e506c30d3ea54d053e6bcc705b19e503"} device-1 | {"level":"info","message":"PATCH /devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb 200 37ms","method":"PATCH","requestID":"e506c30d3ea54d053e6bcc705b19e503","responseTime":37,"status":200,"url":"/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxN30.mXngDZCDTx0hVDq3M6ZkC3o5NBKvPky3yVn4QebCmFI","level":"info","message":"auth send jwt","requestID":"ab268efb578a8151b536623e9809ecf2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ab268efb578a8151b536623e9809ecf2","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"ab268efb578a8151b536623e9809ecf2"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1030,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:37Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1030,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.245361,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:37Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ab268efb578a8151b536623e9809ecf2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676617,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxN30.mXngDZCDTx0hVDq3M6ZkC3o5NBKvPky3yVn4QebCmFI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ab268efb578a8151b536623e9809ecf2","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"ab268efb578a8151b536623e9809ecf2"} gateway-1 | {"time_local":"18/Sep/2024:16:23:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"ab268efb578a8151b536623e9809ecf2"} device-1 | {"level":"info","message":"POST /devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb/websocket 200 21ms","method":"POST","requestID":"ab268efb578a8151b536623e9809ecf2","responseTime":21,"status":200,"url":"/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b7413d3bb4df9d257ae1a31c626df2bc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"b7413d3bb4df9d257ae1a31c626df2bc","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/fa56a50d-47a5-406c-be53-ebb9866951ab/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"b7413d3bb4df9d257ae1a31c626df2bc"} device-1 | {"level":"info","message":"OPTIONS /devices/fa56a50d-47a5-406c-be53-ebb9866951ab/websocket 200 1ms","method":"OPTIONS","requestID":"b7413d3bb4df9d257ae1a31c626df2bc","responseTime":1,"status":200,"url":"/devices/fa56a50d-47a5-406c-be53-ebb9866951ab/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOH0.QBm7sbuwlkz1zQfs6_UIbCpiT45_C5-OxWkrGcS1Oa8","level":"info","message":"auth send jwt","requestID":"ffc2498d7547a618417a1fc8829a8abe"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ffc2498d7547a618417a1fc8829a8abe","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"ffc2498d7547a618417a1fc8829a8abe"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1031,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:38Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1031,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.294493,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:38Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ffc2498d7547a618417a1fc8829a8abe","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676618,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOH0.QBm7sbuwlkz1zQfs6_UIbCpiT45_C5-OxWkrGcS1Oa8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ffc2498d7547a618417a1fc8829a8abe","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"ffc2498d7547a618417a1fc8829a8abe"} device-1 | {"level":"info","message":"POST /devices/fa56a50d-47a5-406c-be53-ebb9866951ab/websocket 200 21ms","method":"POST","requestID":"ffc2498d7547a618417a1fc8829a8abe","responseTime":21,"status":200,"url":"/devices/fa56a50d-47a5-406c-be53-ebb9866951ab/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:23:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/fa56a50d-47a5-406c-be53-ebb9866951ab/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ffc2498d7547a618417a1fc8829a8abe"} device-1 | {"level":"info","message":"device 'http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"dc901074e4d655551c6bf78481824042","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"dc901074e4d655551c6bf78481824042","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/fa56a50d-47a5-406c-be53-ebb9866951ab? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"dc901074e4d655551c6bf78481824042"} device-1 | {"level":"info","message":"OPTIONS /devices/fa56a50d-47a5-406c-be53-ebb9866951ab? 200 1ms","method":"OPTIONS","requestID":"dc901074e4d655551c6bf78481824042","responseTime":1,"status":200,"url":"/devices/fa56a50d-47a5-406c-be53-ebb9866951ab?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA","level":"info","message":"auth send jwt","requestID":"05bbd0aa195f90d6b35ba9f467700eb9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"05bbd0aa195f90d6b35ba9f467700eb9","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"05bbd0aa195f90d6b35ba9f467700eb9"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1032,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1032,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.358795,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"05bbd0aa195f90d6b35ba9f467700eb9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676619,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"05bbd0aa195f90d6b35ba9f467700eb9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:36.934950531Z"}]},"request_id":"336126de-70eb-45f1-b5f5-88e1d52d56cb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.0515065} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"05bbd0aa195f90d6b35ba9f467700eb9","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"997fb0b8-1f65-42bd-8a3e-827f4f82b0bb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.059021} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"05bbd0aa195f90d6b35ba9f467700eb9","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:36.934950531Z"}]},"request_id":"014f5b5e-81a5-4647-98ef-9a8579c9bd15","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.0712545} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"05bbd0aa195f90d6b35ba9f467700eb9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"05bbd0aa195f90d6b35ba9f467700eb9"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/fa56a50d-47a5-406c-be53-ebb9866951ab? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.043","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"05bbd0aa195f90d6b35ba9f467700eb9"} device-1 | {"level":"info","message":"PATCH /devices/fa56a50d-47a5-406c-be53-ebb9866951ab? 200 37ms","method":"PATCH","requestID":"05bbd0aa195f90d6b35ba9f467700eb9","responseTime":37,"status":200,"url":"/devices/fa56a50d-47a5-406c-be53-ebb9866951ab?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA","level":"info","message":"auth send jwt","requestID":"0e7525d98c3c0330c09ab43e2dc91fe8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0e7525d98c3c0330c09ab43e2dc91fe8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0e7525d98c3c0330c09ab43e2dc91fe8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1033,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1033,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.753304,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0e7525d98c3c0330c09ab43e2dc91fe8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676619,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0e7525d98c3c0330c09ab43e2dc91fe8","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:36.892654009Z"}]},"request_id":"d85ef1a3-b225-4903-be81-41f9a7886cdb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.1000512} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0e7525d98c3c0330c09ab43e2dc91fe8","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0e7525d98c3c0330c09ab43e2dc91fe8"} device-1 | {"level":"info","message":"GET /devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb? 200 17ms","method":"GET","requestID":"0e7525d98c3c0330c09ab43e2dc91fe8","responseTime":17,"status":200,"url":"/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0e7525d98c3c0330c09ab43e2dc91fe8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA","level":"info","message":"auth send jwt","requestID":"60259ae25c5ba2c95d406a6831d27cda"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"60259ae25c5ba2c95d406a6831d27cda","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"60259ae25c5ba2c95d406a6831d27cda"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1034,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1034,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.290805,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"60259ae25c5ba2c95d406a6831d27cda","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676619,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"60259ae25c5ba2c95d406a6831d27cda","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:36.934950531Z"}]},"request_id":"5f15b37e-645e-429f-8e31-117da21a474a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.1258066} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"60259ae25c5ba2c95d406a6831d27cda","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"60259ae25c5ba2c95d406a6831d27cda"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/fa56a50d-47a5-406c-be53-ebb9866951ab? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"60259ae25c5ba2c95d406a6831d27cda"} device-1 | {"level":"info","message":"GET /devices/fa56a50d-47a5-406c-be53-ebb9866951ab? 200 18ms","method":"GET","requestID":"60259ae25c5ba2c95d406a6831d27cda","responseTime":18,"status":200,"url":"/devices/fa56a50d-47a5-406c-be53-ebb9866951ab?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA","level":"info","message":"auth send jwt","requestID":"d7bd821eed97d001f0339968c921c2f6"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d7bd821eed97d001f0339968c921c2f6","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"d7bd821eed97d001f0339968c921c2f6"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1035,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1035,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.292313,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d7bd821eed97d001f0339968c921c2f6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676619,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d7bd821eed97d001f0339968c921c2f6","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"},"level":"info","message":"Attempting to run experiment","requestID":"d7bd821eed97d001f0339968c921c2f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"},"level":"info","message":"Attempting to book experiment","requestID":"d7bd821eed97d001f0339968c921c2f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"},"level":"info","message":"Successfully booked experiment","requestID":"d7bd821eed97d001f0339968c921c2f6"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5cca8030-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5ccace50-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1036,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1037,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1036,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.755436,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5cca8030-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676619,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5cca8030-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1037,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.836652,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5ccace50-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676619,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5ccace50-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:36.892654009Z"}]},"request_id":"03f20092-5944-49c7-9391-271cb1a12b26","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.1989303} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"5cca8030-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:36.934950531Z"}]},"request_id":"6be8b6b2-6174-4a12-9482-b4c9a145096c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.2005224} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5ccace50-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5cca8030-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb? 200 18ms","method":"GET","requestID":"5cca8030-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5ccace50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/fa56a50d-47a5-406c-be53-ebb9866951ab? 200 17ms","method":"GET","requestID":"5ccace50-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/fa56a50d-47a5-406c-be53-ebb9866951ab?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"},"level":"info","message":"Setting up experiment","requestID":"d7bd821eed97d001f0339968c921c2f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"d7bd821eed97d001f0339968c921c2f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"},"level":"info","message":"Successfully locked booking for experiment","requestID":"d7bd821eed97d001f0339968c921c2f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"d7bd821eed97d001f0339968c921c2f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"d7bd821eed97d001f0339968c921c2f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"},"level":"info","message":"Attempting to update booking for experiment","requestID":"d7bd821eed97d001f0339968c921c2f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"},"level":"info","message":"Successfully updated booking for experiment","requestID":"d7bd821eed97d001f0339968c921c2f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"},"level":"info","message":"Successfully set up experiment","requestID":"d7bd821eed97d001f0339968c921c2f6"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5cd46b40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5cd4b960-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5cd50780-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"},"level":"info","message":"Successfully running experiment","requestID":"d7bd821eed97d001f0339968c921c2f6"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1038,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1038,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.233514,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5cd46b40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676619,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5cd46b40-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1039,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1039,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.600301,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1040,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5cd4b960-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676619,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"5cd4b960-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7e70d182-fe90-4e10-860a-952ba2073471","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.263701} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1040,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.243442,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5cd50780-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"5cd50780-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:36.892654009Z"}]},"request_id":"7e94ad7a-eafd-4d88-b06b-67801f5b49b6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.266768} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"5cd46b40-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:36.934950531Z"}]},"request_id":"0dfbdac0-0fc8-4db0-af81-747995fc389a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.26885} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5cd4b960-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5cd50780-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb/signaling 200 15ms","method":"POST","requestID":"5cd50780-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5cd7edb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5cd46b40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb? 200 26ms","method":"GET","requestID":"5cd46b40-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":200,"url":"/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5cd4b960-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/fa56a50d-47a5-406c-be53-ebb9866951ab? 200 25ms","method":"GET","requestID":"5cd4b960-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/devices/fa56a50d-47a5-406c-be53-ebb9866951ab?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1041,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F4dea65ea-3f5c-4bc3-8a62-a4be51ad0938#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F4dea65ea-3f5c-4bc3-8a62-a4be51ad0938","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"c371a290-9c2b-40f9-b699-b4000ef0f8f8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.282285} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9c654ba3-14a8-4cc3-979d-ca9bfa129487","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.282386} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5cd8ff20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"24dbcbb0-33df-4832-9041-f681e7b13d16","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.2827663} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1041,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.732862,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5cd7edb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"5cd7edb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"d7bd821eed97d001f0339968c921c2f6","responseTime":23,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1042,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5cd7edb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/fa56a50d-47a5-406c-be53-ebb9866951ab/signaling 200 13ms","method":"POST","requestID":"5cd7edb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/fa56a50d-47a5-406c-be53-ebb9866951ab/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"d7bd821eed97d001f0339968c921c2f6"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"63f8911e-2adc-4ae9-930e-d6db704ce913","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.2927423} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1042,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":6.452978,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1292","request_time":"0.160","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d7bd821eed97d001f0339968c921c2f6"} experiment-1 | {"level":"info","message":"POST /experiments? 201 153ms","method":"POST","requestID":"d7bd821eed97d001f0339968c921c2f6","responseTime":153,"status":201,"url":"/experiments?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5cd8ff20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"5cd8ff20-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5cd8ff20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb/signaling 200 16ms","method":"POST","requestID":"5cd8ff20-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA","level":"info","message":"auth send jwt","requestID":"5c2a2556d1b77bf64ae5c144f5c968a1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5c2a2556d1b77bf64ae5c144f5c968a1","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5c2a2556d1b77bf64ae5c144f5c968a1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5cdbbe40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1043,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1043,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.775157,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1044,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5c2a2556d1b77bf64ae5c144f5c968a1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676619,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5c2a2556d1b77bf64ae5c144f5c968a1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c32db6e3-61ef-4b7d-bce6-e4ae9d781e96","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.3047795} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1044,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.725439,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5cdbbe40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5cdbbe40-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:36.892654009Z"}]},"request_id":"c1bbdf54-e946-46c5-acd1-9ab7452ff360","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.3085926} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5cdbbe40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/fa56a50d-47a5-406c-be53-ebb9866951ab/signaling 200 9ms","method":"POST","requestID":"5cdbbe40-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/fa56a50d-47a5-406c-be53-ebb9866951ab/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5c2a2556d1b77bf64ae5c144f5c968a1","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"d7bd821eed97d001f0339968c921c2f6"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5cdd6bf0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5cdd9300-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5c2a2556d1b77bf64ae5c144f5c968a1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1045,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1046,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} device-1 | {"level":"info","message":"GET /devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb? 200 15ms","method":"GET","requestID":"5c2a2556d1b77bf64ae5c144f5c968a1","responseTime":15,"status":200,"url":"/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5c2a2556d1b77bf64ae5c144f5c968a1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1045,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.720804,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5cdd6bf0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676619,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5cdd6bf0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1046,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.780885,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5cdd9300-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676619,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5cdd9300-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA","level":"info","message":"auth send jwt","requestID":"0fde1ea4db0170722eefe92c3410a17b"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"0fde1ea4db0170722eefe92c3410a17b","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:36.892654009Z"}]},"request_id":"df619bf9-9c1b-41f7-b858-281c807775d5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.3181465} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5cdd6bf0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0fde1ea4db0170722eefe92c3410a17b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:36.934950531Z"}]},"request_id":"2d41f477-159d-42d9-9e1c-8cbf470b912c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.3192403} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5cdd9300-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1047,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1047,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.648666,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0fde1ea4db0170722eefe92c3410a17b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676619,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"0fde1ea4db0170722eefe92c3410a17b","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5cdd6bf0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb? 200 13ms","method":"GET","requestID":"5cdd6bf0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5cdd9300-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/fa56a50d-47a5-406c-be53-ebb9866951ab? 200 13ms","method":"GET","requestID":"5cdd9300-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/fa56a50d-47a5-406c-be53-ebb9866951ab?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:36.934950531Z"}]},"request_id":"dd8f145e-dcfb-42f8-989b-13ab52342c21","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.325761} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"},"level":"info","message":"Building connection plan","requestID":"d7bd821eed97d001f0339968c921c2f6"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"1778cf50-813f-4445-853f-677c32c3097f"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"71de02fc-0b50-428d-aa4d-0c3449a8de6b"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"7a3a39ed-3773-4e59-8668-7cf8d7715c7a"}]},"level":"info","message":"Built pairwise service configurations","requestID":"d7bd821eed97d001f0339968c921c2f6"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0fde1ea4db0170722eefe92c3410a17b","responseTime":2,"status":200,"url":"/relations/query"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"5ce00400-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"5ce00400-75da-11ef-9672-db8da4810e4b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0fde1ea4db0170722eefe92c3410a17b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"5ce00400-75da-11ef-9672-db8da4810e4b","responseTime":1,"status":201,"url":"/rooms"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/fa56a50d-47a5-406c-be53-ebb9866951ab? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0fde1ea4db0170722eefe92c3410a17b"} device-1 | {"level":"info","message":"GET /devices/fa56a50d-47a5-406c-be53-ebb9866951ab? 200 10ms","method":"GET","requestID":"0fde1ea4db0170722eefe92c3410a17b","responseTime":10,"status":200,"url":"/devices/fa56a50d-47a5-406c-be53-ebb9866951ab?"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/d8c55bad-2e0a-4b63-8264-34ebd650f303?id=a8460928-907f-4bfa-88bf-7f23f39a0ac0","ws://localhost/rooms/d8c55bad-2e0a-4b63-8264-34ebd650f303?id=0c41538e-a781-47ec-8803-d1a608216595"]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"d7bd821eed97d001f0339968c921c2f6"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"5ce0a040-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1048,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1048,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.011708,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5ce0a040-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676619,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5ce0a040-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"87e993a7-7810-41de-a5d4-2856769474be","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.3455565} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f2964b8d-7fb7-41a8-bac1-8e3b40d0f00b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.3458352} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"5ce0a040-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"5ce0a040-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"5ce0a040-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14'","requestID":"5ce0a040-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14'","requestID":"5ce0a040-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"5ce0a040-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 27ms","method":"POST","requestID":"5ce0a040-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"5ce0a040-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f194fdc7-3cdb-4d9b-bb43-12c1db27ee14","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"5ce64590-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"0c41538e-a781-47ec-8803-d1a608216595\" in room \"http://localhost/rooms/d8c55bad-2e0a-4b63-8264-34ebd650f303\"","requestID":"5ce64590-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"5ce64590-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bd39b3db11ca934873b74a77f69234ff","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"5ce693b0-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"bd39b3db11ca934873b74a77f69234ff","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a8460928-907f-4bfa-88bf-7f23f39a0ac0\" in room \"http://localhost/rooms/d8c55bad-2e0a-4b63-8264-34ebd650f303\"","requestID":"5ce693b0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"5ce693b0-75da-11ef-9672-db8da4810e4b"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14"}}},"level":"info","message":"received a callback","requestID":"bd39b3db11ca934873b74a77f69234ff"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a8460928-907f-4bfa-88bf-7f23f39a0ac0\" in room \"http://localhost/rooms/d8c55bad-2e0a-4b63-8264-34ebd650f303\"","requestID":"5ce693b0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a8460928-907f-4bfa-88bf-7f23f39a0ac0\" in room \"http://localhost/rooms/d8c55bad-2e0a-4b63-8264-34ebd650f303\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a8460928-907f-4bfa-88bf-7f23f39a0ac0\" in room \"http://localhost/rooms/d8c55bad-2e0a-4b63-8264-34ebd650f303\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a8460928-907f-4bfa-88bf-7f23f39a0ac0\" in room \"http://localhost/rooms/d8c55bad-2e0a-4b63-8264-34ebd650f303\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"a8460928-907f-4bfa-88bf-7f23f39a0ac0\" in room \"http://localhost/rooms/d8c55bad-2e0a-4b63-8264-34ebd650f303\""} device-1 | {"data":{"peerconnection":"f194fdc7-3cdb-4d9b-bb43-12c1db27ee14","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 12ms","method":"POST","requestID":"bd39b3db11ca934873b74a77f69234ff","responseTime":12,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch","requestID":"bd39b3db11ca934873b74a77f69234ff"} device-1 | {"data":{"peerconnection":"f194fdc7-3cdb-4d9b-bb43-12c1db27ee14","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"d7bd821eed97d001f0339968c921c2f6"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5ceb0080-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1049,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"83bcd4d7-14c3-4bf5-a1e2-dff95f6c3d94","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.405702} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f194fdc7-3cdb-4d9b-bb43-12c1db27ee14","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1049,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.044212,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5ceb0080-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"5ceb0080-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4945a286f95be9740e31a972c61da37a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"4945a286f95be9740e31a972c61da37a","responseTime":0,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14"}}},"level":"info","message":"received a callback","requestID":"4945a286f95be9740e31a972c61da37a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5ceb0080-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb/signaling 200 21ms","method":"POST","requestID":"5ceb0080-75da-11ef-ba7c-09eaa4331ae1","responseTime":21,"status":200,"url":"/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb/signaling"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"5cee34d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5cee5be0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1050,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1051,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff194fdc7-3cdb-4d9b-bb43-12c1db27ee14","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"500c79c6-8024-4271-8a00-31583d58e1ad","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.4253354} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1050,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.464123,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5cee34d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5cee34d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b94fb344-64d4-48d4-9f38-078ede655613","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.4262116} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1051,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.00328,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5cee5be0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5cee5be0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"5cee34d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14 200 13ms","method":"GET","requestID":"5cee34d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5cee5be0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/fa56a50d-47a5-406c-be53-ebb9866951ab/signaling 200 13ms","method":"POST","requestID":"5cee5be0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/fa56a50d-47a5-406c-be53-ebb9866951ab/signaling"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 40ms","method":"POST","requestID":"4945a286f95be9740e31a972c61da37a","responseTime":40,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.042","http_referrer":"","http_user_agent":"node-fetch","requestID":"4945a286f95be9740e31a972c61da37a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5cf2efc0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1052,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d74c4eb3-1333-47b5-a006-e4115ca3a3ca","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.4567158} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1052,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.73306,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5cf2efc0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5cf2efc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5cf2efc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/fa56a50d-47a5-406c-be53-ebb9866951ab/signaling 200 8ms","method":"POST","requestID":"5cf2efc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/fa56a50d-47a5-406c-be53-ebb9866951ab/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5cf47660-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1053,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"86b7b2f2-a605-4720-bf1e-2a744313d7f7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.4676547} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1053,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.13319,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5cf47660-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5cf47660-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5cf47660-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb/signaling 200 10ms","method":"POST","requestID":"5cf47660-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA","level":"info","message":"auth send jwt","requestID":"fd2779341dcd16909ea83875a0d0e339"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"fd2779341dcd16909ea83875a0d0e339","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938","requestID":"fd2779341dcd16909ea83875a0d0e339"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1054,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1054,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.914077,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"fd2779341dcd16909ea83875a0d0e339","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676619,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fd2779341dcd16909ea83875a0d0e339","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938","requestID":"fd2779341dcd16909ea83875a0d0e339"} experiment-1 | {"level":"info","message":"GET /experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938 200 13ms","method":"GET","requestID":"fd2779341dcd16909ea83875a0d0e339","responseTime":13,"status":200,"url":"/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938 HTTP/1.1","status": "200","body_bytes_sent":"1365","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"fd2779341dcd16909ea83875a0d0e339"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA","level":"info","message":"auth send jwt","requestID":"b6a556ba9c5afd7c76d1eb5b6cd53a4b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b6a556ba9c5afd7c76d1eb5b6cd53a4b","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938","requestID":"b6a556ba9c5afd7c76d1eb5b6cd53a4b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1055,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1055,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.054683,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b6a556ba9c5afd7c76d1eb5b6cd53a4b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676619,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b6a556ba9c5afd7c76d1eb5b6cd53a4b","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"},"level":"info","message":"Attempting to finish experiment","requestID":"b6a556ba9c5afd7c76d1eb5b6cd53a4b"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"5cfc8cb0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1056,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1056,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.995006,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5cfc8cb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676619,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5cfc8cb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/d8c55bad-2e0a-4b63-8264-34ebd650f303?id=0c41538e-a781-47ec-8803-d1a608216595 HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.157","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"f66acdf0a41a6de869e5238314278b70"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"0c41538e-a781-47ec-8803-d1a608216595\" in room \"http://localhost/rooms/d8c55bad-2e0a-4b63-8264-34ebd650f303\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"0c41538e-a781-47ec-8803-d1a608216595\" from room \"http://localhost/rooms/d8c55bad-2e0a-4b63-8264-34ebd650f303\""} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14","device":"fa56a50d-47a5-406c-be53-ebb9866951ab","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/d8c55bad-2e0a-4b63-8264-34ebd650f303?id=a8460928-907f-4bfa-88bf-7f23f39a0ac0 HTTP/1.1","status": "101","body_bytes_sent":"918","request_time":"0.156","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"484abd8240aab43d5f4c02375c6b16cc"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"a8460928-907f-4bfa-88bf-7f23f39a0ac0\" in room \"http://localhost/rooms/d8c55bad-2e0a-4b63-8264-34ebd650f303\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"a8460928-907f-4bfa-88bf-7f23f39a0ac0\" from room \"http://localhost/rooms/d8c55bad-2e0a-4b63-8264-34ebd650f303\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f194fdc7-3cdb-4d9b-bb43-12c1db27ee14","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4ae23ce5c336bfaa7f37b7234a627dec","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff194fdc7-3cdb-4d9b-bb43-12c1db27ee14': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff194fdc7-3cdb-4d9b-bb43-12c1db27ee14","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"dbb500bd-a7dc-4257-a739-b79fad17e51e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.5305147} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"4ae23ce5c336bfaa7f37b7234a627dec","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"33b7081d-4801-4d8c-bbfd-0446e7a18ee6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.530862} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14"}}},"level":"info","message":"received a callback","requestID":"4ae23ce5c336bfaa7f37b7234a627dec"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1b1d80d0a7d56db8bb652daf8f9b32f0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"5cfc8cb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"1b1d80d0a7d56db8bb652daf8f9b32f0","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14"}}},"level":"info","message":"received a callback","requestID":"1b1d80d0a7d56db8bb652daf8f9b32f0"} device-1 | {"data":{"peerconnection":"f194fdc7-3cdb-4d9b-bb43-12c1db27ee14","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"5cfc8cb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14 204 38ms","method":"DELETE","requestID":"5cfc8cb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":38,"status":204,"url":"/peerconnections/f194fdc7-3cdb-4d9b-bb43-12c1db27ee14"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"},"level":"info","message":"Successfully finished experiment","requestID":"b6a556ba9c5afd7c76d1eb5b6cd53a4b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5d05db80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1057,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffa56a50d-47a5-406c-be53-ebb9866951ab","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"16dc375b-751b-4e34-aebb-5332a04e31d7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.5828314} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1057,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.514799,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5d05db80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"5d05db80-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5d05db80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/fa56a50d-47a5-406c-be53-ebb9866951ab/signaling 200 12ms","method":"POST","requestID":"5d05db80-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/fa56a50d-47a5-406c-be53-ebb9866951ab/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F4dea65ea-3f5c-4bc3-8a62-a4be51ad0938': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F4dea65ea-3f5c-4bc3-8a62-a4be51ad0938","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"43289c01-7f16-4594-b9b7-4497c580c7bb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.5907855} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f7723c42-1f51-4885-8fe7-b854fd9af72d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.5915084} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5d084c80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"b6a556ba9c5afd7c76d1eb5b6cd53a4b","responseTime":22,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1058,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"311f5235-92c5-4dc8-bee4-ae73e18a4553","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.5999835} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1058,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.689443,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5d084c80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"5d084c80-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5d084c80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb/signaling 200 13ms","method":"POST","requestID":"5d084c80-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938","requestID":"b6a556ba9c5afd7c76d1eb5b6cd53a4b"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.166","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b6a556ba9c5afd7c76d1eb5b6cd53a4b"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1783","request_time":"2.186","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"39746c53ba139d66036ef97830aec546"} experiment-1 | {"level":"info","message":"DELETE /experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938 204 164ms","method":"DELETE","requestID":"b6a556ba9c5afd7c76d1eb5b6cd53a4b","responseTime":164,"status":204,"url":"/experiments/4dea65ea-3f5c-4bc3-8a62-a4be51ad0938"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 136ms","method":"POST","requestID":"4ae23ce5c336bfaa7f37b7234a627dec","responseTime":136,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.139","http_referrer":"","http_user_agent":"node-fetch","requestID":"4ae23ce5c336bfaa7f37b7234a627dec"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.140","http_referrer":"","http_user_agent":"node-fetch","requestID":"1b1d80d0a7d56db8bb652daf8f9b32f0"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 135ms","method":"POST","requestID":"1b1d80d0a7d56db8bb652daf8f9b32f0","responseTime":135,"status":200,"url":"/callbacks/experiment"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA","level":"info","message":"auth send jwt","requestID":"709ba13b476498154670f04d4be82693"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"709ba13b476498154670f04d4be82693","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"709ba13b476498154670f04d4be82693"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1059,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1059,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.963289,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"709ba13b476498154670f04d4be82693","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676619,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"709ba13b476498154670f04d4be82693","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2106","request_time":"0.691","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"db401cbcedeac3cfb1ece45fd1258c56"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/9cd83d0c-0cdc-4ae8-a9f8-9c9fbb91badb' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ba06fc15-5951-45e4-ae3c-03f8d3ccb0c4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.695463} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"709ba13b476498154670f04d4be82693","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8f6a65a9-1386-4da2-8eb3-0cbffd9a3b56","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.7007113} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"709ba13b476498154670f04d4be82693","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/fa56a50d-47a5-406c-be53-ebb9866951ab' closed"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"636371ae-8530-4aca-9f09-f3ec1f86a748","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.7120664} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bee62736-cf91-4e0b-894f-988b33926e63","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.712238} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"709ba13b476498154670f04d4be82693","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:39.712030585Z"}]},"request_id":"b680fffa-6dfd-409e-bde8-ababe01251a2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.7160766} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"709ba13b476498154670f04d4be82693","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"709ba13b476498154670f04d4be82693"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"709ba13b476498154670f04d4be82693"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"709ba13b476498154670f04d4be82693","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA","level":"info","message":"auth send jwt","requestID":"fba6d91a80aa61706e2ad9cef8c2a94e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"fba6d91a80aa61706e2ad9cef8c2a94e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"fba6d91a80aa61706e2ad9cef8c2a94e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1060,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1060,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.738635,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:39Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"fba6d91a80aa61706e2ad9cef8c2a94e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676619,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYxOX0.hMijB1O8iJOz7_LaVBJh9xm_2pcXXH8PwizBmv2u2KA"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"fba6d91a80aa61706e2ad9cef8c2a94e","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"7126d187-f864-4373-8dd5-3eec8230bcbf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.7438402} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"fba6d91a80aa61706e2ad9cef8c2a94e","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f7158a1c-ed03-4cf6-aba0-491eccaa9c39","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.7483068} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"fba6d91a80aa61706e2ad9cef8c2a94e","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"fb072714-2aaf-4ae2-9de6-87b9f77b4aed","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.7594786} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d222d3ee-4870-4c92-90fa-361b2d3b5600","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.7596812} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"fba6d91a80aa61706e2ad9cef8c2a94e","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:39.759449914Z"}]},"request_id":"264770a6-3785-473d-bb31-b3cbcd00b1a7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676619.7636306} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"fba6d91a80aa61706e2ad9cef8c2a94e","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"fba6d91a80aa61706e2ad9cef8c2a94e"} gateway-1 | {"time_local":"18/Sep/2024:16:23:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.046","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"fba6d91a80aa61706e2ad9cef8c2a94e"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"fba6d91a80aa61706e2ad9cef8c2a94e","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI","level":"info","message":"auth send jwt","requestID":"0b24f699cb5c9ecb85052946226de00a"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"0b24f699cb5c9ecb85052946226de00a","responseTime":6,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI","level":"info","message":"auth send jwt","requestID":"4c77d297060a4dc10542fb1b2d6b6d17"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"4c77d297060a4dc10542fb1b2d6b6d17","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"0b24f699cb5c9ecb85052946226de00a"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"4c77d297060a4dc10542fb1b2d6b6d17"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1061,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1061,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.121913,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0b24f699cb5c9ecb85052946226de00a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0b24f699cb5c9ecb85052946226de00a","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1062,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1062,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.739505,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4c77d297060a4dc10542fb1b2d6b6d17","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4c77d297060a4dc10542fb1b2d6b6d17","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:39.759449914Z"}]},"request_id":"cf899611-102d-48e6-a7c8-b4a0f6cabe58","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.2402873} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0b24f699cb5c9ecb85052946226de00a","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:39.712030585Z"}]},"request_id":"f0855941-29fe-47b3-a776-2bebee185472","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.2413} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4c77d297060a4dc10542fb1b2d6b6d17","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e5312d9d-d5ef-49e8-834e-068877e80a24","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.2449403} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"0b24f699cb5c9ecb85052946226de00a","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"45b2a620-befa-4c0c-b65c-581a8e4e5e54","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.246242} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"4c77d297060a4dc10542fb1b2d6b6d17","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:39.712030585Z"}]},"request_id":"3c641714-89ad-4402-93bb-510ef913e107","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.249105} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4c77d297060a4dc10542fb1b2d6b6d17","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"4c77d297060a4dc10542fb1b2d6b6d17"} device-1 | {"level":"info","message":"PATCH /devices/141ad310-b7ef-40f3-bc32-6b86d30c672c 200 21ms","method":"PATCH","requestID":"4c77d297060a4dc10542fb1b2d6b6d17","responseTime":21,"status":200,"url":"/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/141ad310-b7ef-40f3-bc32-6b86d30c672c HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.029","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"4c77d297060a4dc10542fb1b2d6b6d17"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI","level":"info","message":"auth send jwt","requestID":"b99aee54feeae1f88e8a915e1ea004c7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b99aee54feeae1f88e8a915e1ea004c7","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"b99aee54feeae1f88e8a915e1ea004c7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1063,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1063,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.012823,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b99aee54feeae1f88e8a915e1ea004c7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b99aee54feeae1f88e8a915e1ea004c7","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:39.759449914Z"}]},"request_id":"e3d62966-25d5-4efa-838a-e61a4de1ff7f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.2606351} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0b24f699cb5c9ecb85052946226de00a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"0b24f699cb5c9ecb85052946226de00a"} device-1 | {"level":"info","message":"PATCH /devices/f77d440b-6121-4a9b-8566-e974467b41c8 200 34ms","method":"PATCH","requestID":"0b24f699cb5c9ecb85052946226de00a","responseTime":34,"status":200,"url":"/devices/f77d440b-6121-4a9b-8566-e974467b41c8"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/f77d440b-6121-4a9b-8566-e974467b41c8 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.042","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"0b24f699cb5c9ecb85052946226de00a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI","level":"info","message":"auth send jwt","requestID":"d2cb414aad1152a94b6ec4699329b1e6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d2cb414aad1152a94b6ec4699329b1e6","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"d2cb414aad1152a94b6ec4699329b1e6"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1064,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"b99aee54feeae1f88e8a915e1ea004c7"} device-1 | {"level":"info","message":"POST /devices/141ad310-b7ef-40f3-bc32-6b86d30c672c/websocket 200 16ms","method":"POST","requestID":"b99aee54feeae1f88e8a915e1ea004c7","responseTime":16,"status":200,"url":"/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/141ad310-b7ef-40f3-bc32-6b86d30c672c/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.020","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"b99aee54feeae1f88e8a915e1ea004c7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1064,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.003398,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d2cb414aad1152a94b6ec4699329b1e6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d2cb414aad1152a94b6ec4699329b1e6","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"device 'http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c' connected"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"d2cb414aad1152a94b6ec4699329b1e6"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f77d440b-6121-4a9b-8566-e974467b41c8/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.022","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"d2cb414aad1152a94b6ec4699329b1e6"} device-1 | {"level":"info","message":"POST /devices/f77d440b-6121-4a9b-8566-e974467b41c8/websocket 200 17ms","method":"POST","requestID":"d2cb414aad1152a94b6ec4699329b1e6","responseTime":17,"status":200,"url":"/devices/f77d440b-6121-4a9b-8566-e974467b41c8/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI","level":"info","message":"auth send jwt","requestID":"a0542ef52dbb5b6f8f1512f9c28f4823"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a0542ef52dbb5b6f8f1512f9c28f4823","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a0542ef52dbb5b6f8f1512f9c28f4823"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1065,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1065,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.715593,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a0542ef52dbb5b6f8f1512f9c28f4823","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a0542ef52dbb5b6f8f1512f9c28f4823","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:39.712030585Z"}]},"request_id":"43aef24a-2973-451e-82fd-25b8ae7978db","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.309943} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a0542ef52dbb5b6f8f1512f9c28f4823","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a0542ef52dbb5b6f8f1512f9c28f4823"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/141ad310-b7ef-40f3-bc32-6b86d30c672c? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a0542ef52dbb5b6f8f1512f9c28f4823"} device-1 | {"level":"info","message":"GET /devices/141ad310-b7ef-40f3-bc32-6b86d30c672c? 200 13ms","method":"GET","requestID":"a0542ef52dbb5b6f8f1512f9c28f4823","responseTime":13,"status":200,"url":"/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI","level":"info","message":"auth send jwt","requestID":"a72044b5e834cd820bf7d66eb6a8ea06"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a72044b5e834cd820bf7d66eb6a8ea06","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a72044b5e834cd820bf7d66eb6a8ea06"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1066,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1066,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.467891,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a72044b5e834cd820bf7d66eb6a8ea06","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a72044b5e834cd820bf7d66eb6a8ea06","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:39.759449914Z"}]},"request_id":"d3aad162-09ac-44ab-a3c2-faa59d53c9df","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.3272593} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a72044b5e834cd820bf7d66eb6a8ea06","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a72044b5e834cd820bf7d66eb6a8ea06"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f77d440b-6121-4a9b-8566-e974467b41c8? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a72044b5e834cd820bf7d66eb6a8ea06"} device-1 | {"level":"info","message":"GET /devices/f77d440b-6121-4a9b-8566-e974467b41c8? 200 12ms","method":"GET","requestID":"a72044b5e834cd820bf7d66eb6a8ea06","responseTime":12,"status":200,"url":"/devices/f77d440b-6121-4a9b-8566-e974467b41c8?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI","level":"info","message":"auth send jwt","requestID":"c48a839f66649efa84d8d903e3500a3d"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"c48a839f66649efa84d8d903e3500a3d","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"c48a839f66649efa84d8d903e3500a3d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1067,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1067,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.640354,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c48a839f66649efa84d8d903e3500a3d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"c48a839f66649efa84d8d903e3500a3d","responseTime":2,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"},"level":"info","message":"Attempting to run experiment","requestID":"c48a839f66649efa84d8d903e3500a3d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"},"level":"info","message":"Attempting to book experiment","requestID":"c48a839f66649efa84d8d903e3500a3d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"},"level":"info","message":"Successfully booked experiment","requestID":"c48a839f66649efa84d8d903e3500a3d"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5d7fc670-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5d801490-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1068,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1068,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.738616,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1069,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5d7fc670-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5d7fc670-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1069,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.610357,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5d801490-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5d801490-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:39.712030585Z"}]},"request_id":"23e8e77f-dc5e-4af5-b86f-205bf0f2ce77","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.386421} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"5d7fc670-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:39.759449914Z"}]},"request_id":"4b62cd59-7423-4b8a-9e12-fec63be51641","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.3874865} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5d801490-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5d7fc670-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/141ad310-b7ef-40f3-bc32-6b86d30c672c? 200 17ms","method":"GET","requestID":"5d7fc670-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5d801490-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/f77d440b-6121-4a9b-8566-e974467b41c8? 200 17ms","method":"GET","requestID":"5d801490-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/f77d440b-6121-4a9b-8566-e974467b41c8?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"},"level":"info","message":"Setting up experiment","requestID":"c48a839f66649efa84d8d903e3500a3d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"c48a839f66649efa84d8d903e3500a3d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"},"level":"info","message":"Successfully locked booking for experiment","requestID":"c48a839f66649efa84d8d903e3500a3d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"c48a839f66649efa84d8d903e3500a3d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"c48a839f66649efa84d8d903e3500a3d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"},"level":"info","message":"Attempting to update booking for experiment","requestID":"c48a839f66649efa84d8d903e3500a3d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"},"level":"info","message":"Successfully updated booking for experiment","requestID":"c48a839f66649efa84d8d903e3500a3d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"},"level":"info","message":"Successfully set up experiment","requestID":"c48a839f66649efa84d8d903e3500a3d"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5d893c50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5d896360-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5d89d890-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"},"level":"info","message":"Successfully running experiment","requestID":"c48a839f66649efa84d8d903e3500a3d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1070,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1070,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.072726,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1071,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5d893c50-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"5d893c50-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1071,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.796529,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:54060","level":"info","msg":"Received request.","req_id":1072,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5d896360-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"5d896360-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:54060","level":"info","msg":"Sent response.","req_id":1072,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.976956,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"54db65f3-8dbc-48f2-ae59-0429d9761bcb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.4479094} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5d89d890-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"5d89d890-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:39.712030585Z"}]},"request_id":"912dc786-a5be-4e1b-adf5-966a699bf223","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.453035} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5d89d890-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"5d893c50-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"POST /devices/141ad310-b7ef-40f3-bc32-6b86d30c672c/signaling 200 15ms","method":"POST","requestID":"5d89d890-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:39.759449914Z"}]},"request_id":"c262bbfb-3fcf-4dd1-8fcb-1e74329809ab","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.455561} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5d896360-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5d8cbec0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5d893c50-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1073,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} device-1 | {"level":"info","message":"GET /devices/141ad310-b7ef-40f3-bc32-6b86d30c672c? 200 27ms","method":"GET","requestID":"5d893c50-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":200,"url":"/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5d896360-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/f77d440b-6121-4a9b-8566-e974467b41c8? 200 27ms","method":"GET","requestID":"5d896360-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":200,"url":"/devices/f77d440b-6121-4a9b-8566-e974467b41c8?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9fb8699b-9920-4293-8a44-981e49789f32","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.4660246} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F654235e2-e76a-4a4a-827d-7d01e4e43dd4#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F654235e2-e76a-4a4a-827d-7d01e4e43dd4","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"70c88ca3-be50-49d9-983d-0ca30f4d5d4a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.4663363} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f36d59f6-c108-427b-8c5e-24857ab221d2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.4666843} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1073,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.74012,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5d8dd030-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5d8cbec0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"5d8cbec0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"c48a839f66649efa84d8d903e3500a3d","responseTime":22,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1074,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5d8cbec0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f77d440b-6121-4a9b-8566-e974467b41c8/signaling 200 10ms","method":"POST","requestID":"5d8cbec0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/f77d440b-6121-4a9b-8566-e974467b41c8/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1b124462-82ad-417c-b976-e4fa4a868978","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.4720154} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1074,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.437049,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5d8dd030-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5d8dd030-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"c48a839f66649efa84d8d903e3500a3d"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1296","request_time":"0.144","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c48a839f66649efa84d8d903e3500a3d"} experiment-1 | {"level":"info","message":"POST /experiments? 201 140ms","method":"POST","requestID":"c48a839f66649efa84d8d903e3500a3d","responseTime":140,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5d8dd030-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/141ad310-b7ef-40f3-bc32-6b86d30c672c/signaling 200 9ms","method":"POST","requestID":"5d8dd030-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5d8f7de0-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI","level":"info","message":"auth send jwt","requestID":"cd5ad9558c9be3c7680906a7e62a46d9"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"cd5ad9558c9be3c7680906a7e62a46d9","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cd5ad9558c9be3c7680906a7e62a46d9"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1075,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1076,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a7825c25-fcd8-4d27-81b4-f3cbfbc8a8ed","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.4833767} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1076,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.550706,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"cd5ad9558c9be3c7680906a7e62a46d9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"cd5ad9558c9be3c7680906a7e62a46d9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1075,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.58084,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5d8f7de0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"5d8f7de0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:39.712030585Z"}]},"request_id":"bebc6f6b-53d0-49c1-ab67-31d4a8d5b758","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.4892912} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5d8f7de0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f77d440b-6121-4a9b-8566-e974467b41c8/signaling 200 12ms","method":"POST","requestID":"5d8f7de0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/f77d440b-6121-4a9b-8566-e974467b41c8/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cd5ad9558c9be3c7680906a7e62a46d9","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"c48a839f66649efa84d8d903e3500a3d"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5d91a0c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5d91c7d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cd5ad9558c9be3c7680906a7e62a46d9"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/141ad310-b7ef-40f3-bc32-6b86d30c672c? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cd5ad9558c9be3c7680906a7e62a46d9"} device-1 | {"level":"info","message":"GET /devices/141ad310-b7ef-40f3-bc32-6b86d30c672c? 200 15ms","method":"GET","requestID":"cd5ad9558c9be3c7680906a7e62a46d9","responseTime":15,"status":200,"url":"/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1077,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1077,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.914062,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1078,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5d91a0c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5d91a0c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1078,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.79266,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5d91c7d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5d91c7d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI","level":"info","message":"auth send jwt","requestID":"b4a08687fef0d75a6433e3561c3067d7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b4a08687fef0d75a6433e3561c3067d7","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b4a08687fef0d75a6433e3561c3067d7"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:39.712030585Z"}]},"request_id":"22fa8963-d647-46b7-9fba-4a68a0b4e524","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.501422} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5d91a0c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:39.759449914Z"}]},"request_id":"4df475f6-992f-44bf-a6fc-357da674b5a8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.5027966} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5d91c7d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5d91a0c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1079,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1079,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.739614,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} device-1 | {"level":"info","message":"GET /devices/141ad310-b7ef-40f3-bc32-6b86d30c672c? 200 14ms","method":"GET","requestID":"5d91a0c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b4a08687fef0d75a6433e3561c3067d7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b4a08687fef0d75a6433e3561c3067d7","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5d91c7d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/f77d440b-6121-4a9b-8566-e974467b41c8? 200 17ms","method":"GET","requestID":"5d91c7d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/f77d440b-6121-4a9b-8566-e974467b41c8?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:39.759449914Z"}]},"request_id":"0eaac501-e34b-4137-b9fe-4ddee8b182f6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.5107853} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"},"level":"info","message":"Building connection plan","requestID":"c48a839f66649efa84d8d903e3500a3d"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"bddd76f8-54cc-4a28-8937-24753a968a94"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"2da3e8d6-e7ba-405f-95d6-fae3abfba508"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"bfad5727-12ba-489b-b554-bf989a0045b9"}]},"level":"info","message":"Built pairwise service configurations","requestID":"c48a839f66649efa84d8d903e3500a3d"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b4a08687fef0d75a6433e3561c3067d7","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b4a08687fef0d75a6433e3561c3067d7"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"5d94d510-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"5d94d510-75da-11ef-9672-db8da4810e4b"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f77d440b-6121-4a9b-8566-e974467b41c8? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b4a08687fef0d75a6433e3561c3067d7"} device-1 | {"level":"info","message":"GET /devices/f77d440b-6121-4a9b-8566-e974467b41c8? 200 13ms","method":"GET","requestID":"b4a08687fef0d75a6433e3561c3067d7","responseTime":13,"status":200,"url":"/devices/f77d440b-6121-4a9b-8566-e974467b41c8?"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"5d94d510-75da-11ef-9672-db8da4810e4b","responseTime":1,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/0a49c931-e662-4e17-a787-4f85e2a93e78?id=9289c6d3-631f-4f1d-8225-de39aa422772","ws://localhost/rooms/0a49c931-e662-4e17-a787-4f85e2a93e78?id=76e63a7a-0e2c-481d-8b32-ed113338451d"]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"c48a839f66649efa84d8d903e3500a3d"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"5d954a40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1080,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1080,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.755986,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5d954a40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5d954a40-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"a7908b78-fae2-49e5-a0bb-fb5e92ba6512","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.5273762} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"02c48748-e39e-400a-b0df-ed78d32675aa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.527739} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"5d954a40-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"5d954a40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"5d954a40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/d4e6801d-752a-47b5-a270-0348ce130af3'","requestID":"5d954a40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/d4e6801d-752a-47b5-a270-0348ce130af3'","requestID":"5d954a40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"5d954a40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 24ms","method":"POST","requestID":"5d954a40-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"5d954a40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/d4e6801d-752a-47b5-a270-0348ce130af3' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d4e6801d-752a-47b5-a270-0348ce130af3","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"5d9a5350-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"76e63a7a-0e2c-481d-8b32-ed113338451d\" in room \"http://localhost/rooms/0a49c931-e662-4e17-a787-4f85e2a93e78\"","requestID":"5d9a5350-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"5d9a5350-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"5d9a7a60-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9289c6d3-631f-4f1d-8225-de39aa422772\" in room \"http://localhost/rooms/0a49c931-e662-4e17-a787-4f85e2a93e78\"","requestID":"5d9a7a60-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7eb66e1e63fc08486cc000f3fe46a410","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"5d9a7a60-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"7eb66e1e63fc08486cc000f3fe46a410","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9289c6d3-631f-4f1d-8225-de39aa422772\" in room \"http://localhost/rooms/0a49c931-e662-4e17-a787-4f85e2a93e78\"","requestID":"5d9a7a60-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"9289c6d3-631f-4f1d-8225-de39aa422772\" in room \"http://localhost/rooms/0a49c931-e662-4e17-a787-4f85e2a93e78\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"9289c6d3-631f-4f1d-8225-de39aa422772\" in room \"http://localhost/rooms/0a49c931-e662-4e17-a787-4f85e2a93e78\""} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/d4e6801d-752a-47b5-a270-0348ce130af3"}}},"level":"info","message":"received a callback","requestID":"7eb66e1e63fc08486cc000f3fe46a410"} device-1 | {"data":{"peerconnection":"d4e6801d-752a-47b5-a270-0348ce130af3","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 10ms","method":"POST","requestID":"7eb66e1e63fc08486cc000f3fe46a410","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch","requestID":"7eb66e1e63fc08486cc000f3fe46a410"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"c48a839f66649efa84d8d903e3500a3d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5d9ec020-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"data":{"peerconnection":"d4e6801d-752a-47b5-a270-0348ce130af3","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1081,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"162c3b14-3652-44b8-b723-9e38f18d2d6b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.5828059} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1081,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.277232,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5d9ec020-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5d9ec020-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/d4e6801d-752a-47b5-a270-0348ce130af3' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d4e6801d-752a-47b5-a270-0348ce130af3","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5d9ec020-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/141ad310-b7ef-40f3-bc32-6b86d30c672c/signaling 200 15ms","method":"POST","requestID":"5d9ec020-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f85356005ecabab4ab0726830c89104a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f85356005ecabab4ab0726830c89104a","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5da15830-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/d4e6801d-752a-47b5-a270-0348ce130af3"}}},"level":"info","message":"received a callback","requestID":"f85356005ecabab4ab0726830c89104a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1082,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d488c619-26ac-4834-8941-ed224147f7dc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.5999851} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1082,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.46127,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"5da21b80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5da15830-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5da15830-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1083,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5da15830-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f77d440b-6121-4a9b-8566-e974467b41c8/signaling 200 10ms","method":"POST","requestID":"5da15830-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/f77d440b-6121-4a9b-8566-e974467b41c8/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd4e6801d-752a-47b5-a270-0348ce130af3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"62577441-efd7-4132-830a-fcb3c0c3e5f1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.6053843} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1083,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.573941,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d4e6801d-752a-47b5-a270-0348ce130af3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5da21b80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/d4e6801d-752a-47b5-a270-0348ce130af3","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5da21b80-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"5da21b80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/d4e6801d-752a-47b5-a270-0348ce130af3 200 7ms","method":"GET","requestID":"5da21b80-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/peerconnections/d4e6801d-752a-47b5-a270-0348ce130af3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 26ms","method":"POST","requestID":"f85356005ecabab4ab0726830c89104a","responseTime":26,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.030","http_referrer":"","http_user_agent":"node-fetch","requestID":"f85356005ecabab4ab0726830c89104a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5da576e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1084,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eb3eea27-393b-4044-afe2-d5f73bfabd73","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.6279936} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1084,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.479545,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5da576e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5da576e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5da576e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f77d440b-6121-4a9b-8566-e974467b41c8/signaling 200 10ms","method":"POST","requestID":"5da576e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/f77d440b-6121-4a9b-8566-e974467b41c8/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5da74ba0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1085,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ed814571-c05d-48a3-8d90-5c6a01515a92","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.6390557} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1085,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.920668,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5da74ba0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5da74ba0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5da74ba0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/141ad310-b7ef-40f3-bc32-6b86d30c672c/signaling 200 9ms","method":"POST","requestID":"5da74ba0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI","level":"info","message":"auth send jwt","requestID":"f92c3498bfdbf4e676f998274181f260"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f92c3498bfdbf4e676f998274181f260","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4","requestID":"f92c3498bfdbf4e676f998274181f260"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1086,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1086,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.700956,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f92c3498bfdbf4e676f998274181f260","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f92c3498bfdbf4e676f998274181f260","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4","requestID":"f92c3498bfdbf4e676f998274181f260"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4 HTTP/1.1","status": "200","body_bytes_sent":"1369","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f92c3498bfdbf4e676f998274181f260"} experiment-1 | {"level":"info","message":"GET /experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4 200 11ms","method":"GET","requestID":"f92c3498bfdbf4e676f998274181f260","responseTime":11,"status":200,"url":"/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI","level":"info","message":"auth send jwt","requestID":"a7adda41dd1b1aa440b0ed149224e9a0"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a7adda41dd1b1aa440b0ed149224e9a0","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4","requestID":"a7adda41dd1b1aa440b0ed149224e9a0"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1087,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1087,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.756995,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a7adda41dd1b1aa440b0ed149224e9a0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a7adda41dd1b1aa440b0ed149224e9a0","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"},"level":"info","message":"Attempting to finish experiment","requestID":"a7adda41dd1b1aa440b0ed149224e9a0"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"5dae9ea0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1088,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1088,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.092959,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d4e6801d-752a-47b5-a270-0348ce130af3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5dae9ea0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/d4e6801d-752a-47b5-a270-0348ce130af3","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5dae9ea0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/0a49c931-e662-4e17-a787-4f85e2a93e78?id=9289c6d3-631f-4f1d-8225-de39aa422772 HTTP/1.1","status": "101","body_bytes_sent":"458","request_time":"0.146","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"bc16633ddd70c56df09dab83238e7fd4"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/0a49c931-e662-4e17-a787-4f85e2a93e78?id=76e63a7a-0e2c-481d-8b32-ed113338451d HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.147","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"ca2e08f4f2f09f042c792e696d2f604a"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"9289c6d3-631f-4f1d-8225-de39aa422772\" in room \"http://localhost/rooms/0a49c931-e662-4e17-a787-4f85e2a93e78\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"9289c6d3-631f-4f1d-8225-de39aa422772\" from room \"http://localhost/rooms/0a49c931-e662-4e17-a787-4f85e2a93e78\""} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"76e63a7a-0e2c-481d-8b32-ed113338451d\" in room \"http://localhost/rooms/0a49c931-e662-4e17-a787-4f85e2a93e78\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"76e63a7a-0e2c-481d-8b32-ed113338451d\" from room \"http://localhost/rooms/0a49c931-e662-4e17-a787-4f85e2a93e78\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/d4e6801d-752a-47b5-a270-0348ce130af3' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/d4e6801d-752a-47b5-a270-0348ce130af3' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d4e6801d-752a-47b5-a270-0348ce130af3","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd4e6801d-752a-47b5-a270-0348ce130af3': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd4e6801d-752a-47b5-a270-0348ce130af3","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"812b6916-05aa-48bb-a915-3cca57ef0c94","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.6983337} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3e06bf5e01e885597e85939226845da5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"3e06bf5e01e885597e85939226845da5","responseTime":0,"status":200,"url":"/auth"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d4185079-21a9-453e-86e7-514559304246","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.6986232} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"03d6b8a769bc191c6ba243ef2a4f2518","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"03d6b8a769bc191c6ba243ef2a4f2518","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/d4e6801d-752a-47b5-a270-0348ce130af3"}}},"level":"info","message":"received a callback","requestID":"3e06bf5e01e885597e85939226845da5"} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"5dae9ea0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/d4e6801d-752a-47b5-a270-0348ce130af3"}}},"level":"info","message":"received a callback","requestID":"03d6b8a769bc191c6ba243ef2a4f2518"} device-1 | {"data":{"peerconnection":"d4e6801d-752a-47b5-a270-0348ce130af3","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"5dae9ea0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/d4e6801d-752a-47b5-a270-0348ce130af3 204 36ms","method":"DELETE","requestID":"5dae9ea0-75da-11ef-ba7c-09eaa4331ae1","responseTime":36,"status":204,"url":"/peerconnections/d4e6801d-752a-47b5-a270-0348ce130af3"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"},"level":"info","message":"Successfully finished experiment","requestID":"a7adda41dd1b1aa440b0ed149224e9a0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5db68de0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1089,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff77d440b-6121-4a9b-8566-e974467b41c8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"acae9372-c51b-4e15-b96c-0fd409d8dcac","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.739025} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1089,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.001481,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5db68de0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5db68de0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5db68de0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f77d440b-6121-4a9b-8566-e974467b41c8/signaling 200 8ms","method":"POST","requestID":"5db68de0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/f77d440b-6121-4a9b-8566-e974467b41c8/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F654235e2-e76a-4a4a-827d-7d01e4e43dd4': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F654235e2-e76a-4a4a-827d-7d01e4e43dd4","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"fcce6c13-b27b-4db8-af97-152a207a4f24","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.7448082} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5db81480-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2f38c1c0-0910-412c-995f-e48990baa5f7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.7450469} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"a7adda41dd1b1aa440b0ed149224e9a0","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1090,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F141ad310-b7ef-40f3-bc32-6b86d30c672c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8a0a8ad0-7176-42ae-9218-c0c3f8e2f7d4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.7527034} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1090,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.750283,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5db81480-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5db81480-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5db81480-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/141ad310-b7ef-40f3-bc32-6b86d30c672c/signaling 200 13ms","method":"POST","requestID":"5db81480-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4","requestID":"a7adda41dd1b1aa440b0ed149224e9a0"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.141","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a7adda41dd1b1aa440b0ed149224e9a0"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2106","request_time":"0.525","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"1c9a798c2ca2b58a22f902672fc39e39"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2107","request_time":"0.537","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"1bc6496f0422d06b4b2061e80664a8db"} experiment-1 | {"level":"info","message":"DELETE /experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4 204 139ms","method":"DELETE","requestID":"a7adda41dd1b1aa440b0ed149224e9a0","responseTime":139,"status":204,"url":"/experiments/654235e2-e76a-4a4a-827d-7d01e4e43dd4"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 116ms","method":"POST","requestID":"3e06bf5e01e885597e85939226845da5","responseTime":116,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.118","http_referrer":"","http_user_agent":"node-fetch","requestID":"3e06bf5e01e885597e85939226845da5"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 114ms","method":"POST","requestID":"03d6b8a769bc191c6ba243ef2a4f2518","responseTime":114,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.119","http_referrer":"","http_user_agent":"node-fetch","requestID":"03d6b8a769bc191c6ba243ef2a4f2518"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI","level":"info","message":"auth send jwt","requestID":"7e1096a359085535ffffbef5b9fe1cdc"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7e1096a359085535ffffbef5b9fe1cdc","responseTime":3,"status":200,"url":"/auth"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/141ad310-b7ef-40f3-bc32-6b86d30c672c' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"7e1096a359085535ffffbef5b9fe1cdc"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1091,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1091,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.846161,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7e1096a359085535ffffbef5b9fe1cdc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7e1096a359085535ffffbef5b9fe1cdc","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/f77d440b-6121-4a9b-8566-e974467b41c8' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"e4ce7121-79c7-4b4a-8085-931ab85411be","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.8411689} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7e1096a359085535ffffbef5b9fe1cdc","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dc6f9ba5-24f8-4c79-9032-4be4a57f125b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.8479455} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"7e1096a359085535ffffbef5b9fe1cdc","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"1b65d992-4853-4f98-828a-2aac610fdd0c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.8595374} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c7b8ac6d-b4e0-4387-97e7-35302e139c6e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.859627} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"7e1096a359085535ffffbef5b9fe1cdc","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:40.859498001Z"}]},"request_id":"cf8a7b8d-64a1-47cf-a8fe-d54eea180c9e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.8640645} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7e1096a359085535ffffbef5b9fe1cdc","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"7e1096a359085535ffffbef5b9fe1cdc"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"7e1096a359085535ffffbef5b9fe1cdc","responseTime":47,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7e1096a359085535ffffbef5b9fe1cdc"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI","level":"info","message":"auth send jwt","requestID":"7f166ec056974eb5eee7246279840c23"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7f166ec056974eb5eee7246279840c23","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"7f166ec056974eb5eee7246279840c23"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1092,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1092,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.771991,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:40Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7f166ec056974eb5eee7246279840c23","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676620,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMH0.ScoQwSzUN3at6COvbe2a8oJzD1EWhIvzvOAV86U7TzI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7f166ec056974eb5eee7246279840c23","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"5973ed8a-c727-403e-9d83-0b49c0230441","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.8875098} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7f166ec056974eb5eee7246279840c23","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"26e43420-a34d-478b-8b6e-051551d5243d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.8920407} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"7f166ec056974eb5eee7246279840c23","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"58247e50-f4f8-45bd-9a23-ee6d7b03079d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.9087212} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"efd7dfa0-7628-4efa-9c9c-805d5b0f9d98","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.9089684} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"7f166ec056974eb5eee7246279840c23","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:40.908670785Z"}]},"request_id":"3055d3cf-510e-4213-8c2e-24f317351c1e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676620.9134316} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7f166ec056974eb5eee7246279840c23","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"7f166ec056974eb5eee7246279840c23"} gateway-1 | {"time_local":"18/Sep/2024:16:23:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7f166ec056974eb5eee7246279840c23"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"7f166ec056974eb5eee7246279840c23","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4","level":"info","message":"auth send jwt","requestID":"0bc2f104dfa8953db6f12a3fadd6068c"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0bc2f104dfa8953db6f12a3fadd6068c","responseTime":5,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4","level":"info","message":"auth send jwt","requestID":"94db2cdbd937bb9a1b389204be4b5369"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"94db2cdbd937bb9a1b389204be4b5369","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"0bc2f104dfa8953db6f12a3fadd6068c"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"94db2cdbd937bb9a1b389204be4b5369"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1093,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1093,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.743952,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1094,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0bc2f104dfa8953db6f12a3fadd6068c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0bc2f104dfa8953db6f12a3fadd6068c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1094,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.672881,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"94db2cdbd937bb9a1b389204be4b5369","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"94db2cdbd937bb9a1b389204be4b5369","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:40.908670785Z"}]},"request_id":"3e92fc20-9573-4ffd-b0a1-bded78bae0d9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.385343} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0bc2f104dfa8953db6f12a3fadd6068c","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:40.859498001Z"}]},"request_id":"af6d1717-f53d-41e0-a9fd-32ac16f0aee5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.3861618} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"94db2cdbd937bb9a1b389204be4b5369","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9c01b77f-d326-41f0-889e-05fcd420273d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.3901987} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"0bc2f104dfa8953db6f12a3fadd6068c","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2375e638-7380-4228-aab1-9fb3fc3094e4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.391526} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"94db2cdbd937bb9a1b389204be4b5369","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:40.859498001Z"}]},"request_id":"c8e7345f-0d32-49a6-8747-1d3211c9fc01","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.3938532} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"94db2cdbd937bb9a1b389204be4b5369","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"94db2cdbd937bb9a1b389204be4b5369"} device-1 | {"level":"info","message":"PATCH /devices/6cfa9488-a448-4b71-9504-4a552a9c6b66 200 18ms","method":"PATCH","requestID":"94db2cdbd937bb9a1b389204be4b5369","responseTime":18,"status":200,"url":"/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/6cfa9488-a448-4b71-9504-4a552a9c6b66 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.025","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"94db2cdbd937bb9a1b389204be4b5369"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4","level":"info","message":"auth send jwt","requestID":"da376b28b383232fc5718e9bbc50957f"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"da376b28b383232fc5718e9bbc50957f","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"da376b28b383232fc5718e9bbc50957f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1095,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1095,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.650705,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"da376b28b383232fc5718e9bbc50957f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"da376b28b383232fc5718e9bbc50957f","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:40.908670785Z"}]},"request_id":"fc1ce97b-8598-4b53-a740-44a9848e1319","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.4049838} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0bc2f104dfa8953db6f12a3fadd6068c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"0bc2f104dfa8953db6f12a3fadd6068c"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/a037d79c-accf-4ab3-9c60-e798fb252fce HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.036","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"0bc2f104dfa8953db6f12a3fadd6068c"} device-1 | {"level":"info","message":"PATCH /devices/a037d79c-accf-4ab3-9c60-e798fb252fce 200 31ms","method":"PATCH","requestID":"0bc2f104dfa8953db6f12a3fadd6068c","responseTime":31,"status":200,"url":"/devices/a037d79c-accf-4ab3-9c60-e798fb252fce"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4","level":"info","message":"auth send jwt","requestID":"7e1c1af55fb1a0d198db2dda6a611930"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7e1c1af55fb1a0d198db2dda6a611930","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"7e1c1af55fb1a0d198db2dda6a611930"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"da376b28b383232fc5718e9bbc50957f"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/6cfa9488-a448-4b71-9504-4a552a9c6b66/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.018","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"da376b28b383232fc5718e9bbc50957f"} device-1 | {"level":"info","message":"POST /devices/6cfa9488-a448-4b71-9504-4a552a9c6b66/websocket 200 15ms","method":"POST","requestID":"da376b28b383232fc5718e9bbc50957f","responseTime":15,"status":200,"url":"/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66/websocket"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1096,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1096,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.694108,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7e1c1af55fb1a0d198db2dda6a611930","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7e1c1af55fb1a0d198db2dda6a611930","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"device 'http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66' connected"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"7e1c1af55fb1a0d198db2dda6a611930"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/a037d79c-accf-4ab3-9c60-e798fb252fce/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.022","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"7e1c1af55fb1a0d198db2dda6a611930"} device-1 | {"level":"info","message":"POST /devices/a037d79c-accf-4ab3-9c60-e798fb252fce/websocket 200 18ms","method":"POST","requestID":"7e1c1af55fb1a0d198db2dda6a611930","responseTime":18,"status":200,"url":"/devices/a037d79c-accf-4ab3-9c60-e798fb252fce/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4","level":"info","message":"auth send jwt","requestID":"e752b2510e3db04361dcc6af7ec19ec3"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"e752b2510e3db04361dcc6af7ec19ec3","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e752b2510e3db04361dcc6af7ec19ec3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1097,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1097,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.62875,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e752b2510e3db04361dcc6af7ec19ec3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e752b2510e3db04361dcc6af7ec19ec3","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:40.859498001Z"}]},"request_id":"bb4d61c9-bba4-4a7c-8ccb-2c0105826a0b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.4536114} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e752b2510e3db04361dcc6af7ec19ec3","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e752b2510e3db04361dcc6af7ec19ec3"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6cfa9488-a448-4b71-9504-4a552a9c6b66? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e752b2510e3db04361dcc6af7ec19ec3"} device-1 | {"level":"info","message":"GET /devices/6cfa9488-a448-4b71-9504-4a552a9c6b66? 200 11ms","method":"GET","requestID":"e752b2510e3db04361dcc6af7ec19ec3","responseTime":11,"status":200,"url":"/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4","level":"info","message":"auth send jwt","requestID":"106555f2bb37914afa0daf2e496d74b0"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"106555f2bb37914afa0daf2e496d74b0","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"106555f2bb37914afa0daf2e496d74b0"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1098,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1098,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.390835,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"106555f2bb37914afa0daf2e496d74b0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"106555f2bb37914afa0daf2e496d74b0","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:40.908670785Z"}]},"request_id":"da3c7342-beac-4286-8723-9f154f222dce","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.4718087} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"106555f2bb37914afa0daf2e496d74b0","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"106555f2bb37914afa0daf2e496d74b0"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a037d79c-accf-4ab3-9c60-e798fb252fce? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"106555f2bb37914afa0daf2e496d74b0"} device-1 | {"level":"info","message":"GET /devices/a037d79c-accf-4ab3-9c60-e798fb252fce? 200 13ms","method":"GET","requestID":"106555f2bb37914afa0daf2e496d74b0","responseTime":13,"status":200,"url":"/devices/a037d79c-accf-4ab3-9c60-e798fb252fce?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4","level":"info","message":"auth send jwt","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c9bf9225d8a9d4e7c6541580679eef63","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1099,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1099,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.633003,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c9bf9225d8a9d4e7c6541580679eef63","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"c9bf9225d8a9d4e7c6541580679eef63","responseTime":2,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474"},"level":"info","message":"Attempting to run experiment","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474"},"level":"info","message":"Attempting to book experiment","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474"},"level":"info","message":"Successfully booked experiment","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5e2e7d00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5e2ea410-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1100,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1101,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1100,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.749349,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e2e7d00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5e2e7d00-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1101,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.734698,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e2ea410-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5e2ea410-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:40.859498001Z"}]},"request_id":"7b85573e-5760-490e-90de-86388b7324b0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.52722} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5e2e7d00-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:40.908670785Z"}]},"request_id":"d8c2e812-700e-469a-ae71-128a102e188e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.5279655} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5e2ea410-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5e2e7d00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/6cfa9488-a448-4b71-9504-4a552a9c6b66? 200 14ms","method":"GET","requestID":"5e2e7d00-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5e2ea410-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/a037d79c-accf-4ab3-9c60-e798fb252fce? 200 14ms","method":"GET","requestID":"5e2ea410-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/a037d79c-accf-4ab3-9c60-e798fb252fce?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474"},"level":"info","message":"Setting up experiment","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474"},"level":"info","message":"Successfully locked booking for experiment","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474"},"level":"info","message":"Attempting to update booking for experiment","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474"},"level":"info","message":"Successfully updated booking for experiment","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474"},"level":"info","message":"Successfully set up experiment","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5e3819f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5e384100-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5e388f20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1102,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1102,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.443079,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e3819f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"5e3819f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474"},"level":"info","message":"Successfully running experiment","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1103,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1103,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.567353,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e384100-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"5e384100-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1104,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1104,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.080478,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5405c482-62ef-438d-a3ad-941ea2a5490d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.5965073} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:40.859498001Z"}]},"request_id":"bf58f663-3c02-4093-aeb6-4e3b74722b73","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.5991535} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e388f20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"5e388f20-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:40.908670785Z"}]},"request_id":"cc9818cd-117a-49b0-bec3-12abb07b60ed","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.600999} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"5e3819f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"5e384100-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5e388f20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6cfa9488-a448-4b71-9504-4a552a9c6b66/signaling 200 25ms","method":"POST","requestID":"5e388f20-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5e3819f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/6cfa9488-a448-4b71-9504-4a552a9c6b66? 200 29ms","method":"GET","requestID":"5e3819f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":29,"status":200,"url":"/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5e384100-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/a037d79c-accf-4ab3-9c60-e798fb252fce? 200 28ms","method":"GET","requestID":"5e384100-75da-11ef-ba7c-09eaa4331ae1","responseTime":28,"status":200,"url":"/devices/a037d79c-accf-4ab3-9c60-e798fb252fce?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5e3cadd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5e3cfbf0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9498c912-02b0-41b2-862a-14d1d7397474#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9498c912-02b0-41b2-862a-14d1d7397474","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"13a9f13d-20fb-4ac5-9b93-950a24035721","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.6169631} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e1bd7657-2fd3-492c-89d3-832b5a46b126","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.6174316} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9746dfb2-37a5-490e-b2c5-1ee172c58a2d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.6198592} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1105,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1106,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1105,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.871081,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 28ms","method":"POST","requestID":"c9bf9225d8a9d4e7c6541580679eef63","responseTime":28,"status":200,"url":"/relations/update"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e3cadd0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"5e3cadd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1d7d0f3c-15e2-4c90-9ee3-28e74995fa87","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.6224873} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1106,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.164144,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e3cfbf0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"5e3cfbf0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5e3cadd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a037d79c-accf-4ab3-9c60-e798fb252fce/signaling 200 15ms","method":"POST","requestID":"5e3cadd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/a037d79c-accf-4ab3-9c60-e798fb252fce/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5e3cfbf0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} device-1 | {"level":"info","message":"POST /devices/6cfa9488-a448-4b71-9504-4a552a9c6b66/signaling 200 13ms","method":"POST","requestID":"5e3cfbf0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66/signaling"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1296","request_time":"0.153","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} experiment-1 | {"level":"info","message":"POST /experiments? 201 148ms","method":"POST","requestID":"c9bf9225d8a9d4e7c6541580679eef63","responseTime":148,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5e3f6cf0-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4","level":"info","message":"auth send jwt","requestID":"4a891b1678218c4ad391ce6e089995b4"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4a891b1678218c4ad391ce6e089995b4","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4a891b1678218c4ad391ce6e089995b4"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1107,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1108,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c17ad760-32eb-41d3-884a-e9d00ed8a77c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.6369355} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1108,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.98706,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1107,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.352674,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4a891b1678218c4ad391ce6e089995b4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4a891b1678218c4ad391ce6e089995b4","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e3f6cf0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"5e3f6cf0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:40.859498001Z"}]},"request_id":"9b198b8f-84df-41f5-9705-04d29c0198e5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.6424532} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5e3f6cf0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a037d79c-accf-4ab3-9c60-e798fb252fce/signaling 200 12ms","method":"POST","requestID":"5e3f6cf0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/a037d79c-accf-4ab3-9c60-e798fb252fce/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4a891b1678218c4ad391ce6e089995b4","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5e4168c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5e41b6e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1109,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4a891b1678218c4ad391ce6e089995b4"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6cfa9488-a448-4b71-9504-4a552a9c6b66? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4a891b1678218c4ad391ce6e089995b4"} device-1 | {"level":"info","message":"GET /devices/6cfa9488-a448-4b71-9504-4a552a9c6b66? 200 15ms","method":"GET","requestID":"4a891b1678218c4ad391ce6e089995b4","responseTime":15,"status":200,"url":"/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1109,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.158778,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e4168c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5e4168c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1110,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1110,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.154271,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e41b6e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5e41b6e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4","level":"info","message":"auth send jwt","requestID":"5b0a16c1c544158ae21616f5a84b5750"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"5b0a16c1c544158ae21616f5a84b5750","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:40.859498001Z"}]},"request_id":"af6dc92d-09cd-4b09-9c76-717621f3c99b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.6531227} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5b0a16c1c544158ae21616f5a84b5750"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5e4168c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:40.908670785Z"}]},"request_id":"2354c6e3-f423-4d22-bff9-5f7c2d092a8a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.6546528} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5e41b6e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1111,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5e4168c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1111,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.943704,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5b0a16c1c544158ae21616f5a84b5750","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} device-1 | {"level":"info","message":"GET /devices/6cfa9488-a448-4b71-9504-4a552a9c6b66? 200 15ms","method":"GET","requestID":"5e4168c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5e41b6e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5b0a16c1c544158ae21616f5a84b5750","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/a037d79c-accf-4ab3-9c60-e798fb252fce? 200 13ms","method":"GET","requestID":"5e41b6e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/a037d79c-accf-4ab3-9c60-e798fb252fce?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474"},"level":"info","message":"Building connection plan","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"42aafba0-b077-439a-b97b-40c7bc8c989f"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"79c60eb7-82c2-4de7-9016-fe0c0726859e"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"b08fec11-ab6f-447c-a5b6-3dc62a02cfd2"}]},"level":"info","message":"Built pairwise service configurations","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"5e4427e0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"5e4427e0-75da-11ef-9672-db8da4810e4b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:40.908670785Z"}]},"request_id":"dcd3a994-2713-49ae-bee9-01323093f5f1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.6629426} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"5e4427e0-75da-11ef-9672-db8da4810e4b","responseTime":1,"status":201,"url":"/rooms"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5b0a16c1c544158ae21616f5a84b5750","responseTime":2,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/e077ac0b-f850-4cd8-9220-023d627ea149?id=eb48bd62-98e7-41e7-9d1f-76cdca43fbd7","ws://localhost/rooms/e077ac0b-f850-4cd8-9220-023d627ea149?id=3e6fef70-ad95-47da-90a0-58736b2a1091"]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"5e44eb30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5b0a16c1c544158ae21616f5a84b5750"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1112,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a037d79c-accf-4ab3-9c60-e798fb252fce? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5b0a16c1c544158ae21616f5a84b5750"} device-1 | {"level":"info","message":"GET /devices/a037d79c-accf-4ab3-9c60-e798fb252fce? 200 16ms","method":"GET","requestID":"5b0a16c1c544158ae21616f5a84b5750","responseTime":16,"status":200,"url":"/devices/a037d79c-accf-4ab3-9c60-e798fb252fce?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1112,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.763931,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e44eb30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5e44eb30-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"45b1d827-29a6-4836-ba76-208e6c648058","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.6780798} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"52774707-2e20-4549-884a-fd43feb528f4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.6781864} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"5e44eb30-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"5e44eb30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"5e44eb30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/5318e3fc-f7cb-4f13-93e9-382058cad330'","requestID":"5e44eb30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/5318e3fc-f7cb-4f13-93e9-382058cad330'","requestID":"5e44eb30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"5e44eb30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 25ms","method":"POST","requestID":"5e44eb30-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"5e44eb30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/5318e3fc-f7cb-4f13-93e9-382058cad330' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"5318e3fc-f7cb-4f13-93e9-382058cad330","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"5e49f440-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"eb48bd62-98e7-41e7-9d1f-76cdca43fbd7\" in room \"http://localhost/rooms/e077ac0b-f850-4cd8-9220-023d627ea149\"","requestID":"5e49f440-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"5e49f440-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2ddde8e9f06fda23442cca6248cfd9e3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"2ddde8e9f06fda23442cca6248cfd9e3","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"5e4a1b50-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"3e6fef70-ad95-47da-90a0-58736b2a1091\" in room \"http://localhost/rooms/e077ac0b-f850-4cd8-9220-023d627ea149\"","requestID":"5e4a1b50-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"5e4a1b50-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"eb48bd62-98e7-41e7-9d1f-76cdca43fbd7\" in room \"http://localhost/rooms/e077ac0b-f850-4cd8-9220-023d627ea149\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"eb48bd62-98e7-41e7-9d1f-76cdca43fbd7\" in room \"http://localhost/rooms/e077ac0b-f850-4cd8-9220-023d627ea149\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"eb48bd62-98e7-41e7-9d1f-76cdca43fbd7\" in room \"http://localhost/rooms/e077ac0b-f850-4cd8-9220-023d627ea149\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"eb48bd62-98e7-41e7-9d1f-76cdca43fbd7\" in room \"http://localhost/rooms/e077ac0b-f850-4cd8-9220-023d627ea149\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"eb48bd62-98e7-41e7-9d1f-76cdca43fbd7\" in room \"http://localhost/rooms/e077ac0b-f850-4cd8-9220-023d627ea149\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"eb48bd62-98e7-41e7-9d1f-76cdca43fbd7\" in room \"http://localhost/rooms/e077ac0b-f850-4cd8-9220-023d627ea149\""} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/5318e3fc-f7cb-4f13-93e9-382058cad330"}}},"level":"info","message":"received a callback","requestID":"2ddde8e9f06fda23442cca6248cfd9e3"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"eb48bd62-98e7-41e7-9d1f-76cdca43fbd7\" in room \"http://localhost/rooms/e077ac0b-f850-4cd8-9220-023d627ea149\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"eb48bd62-98e7-41e7-9d1f-76cdca43fbd7\" in room \"http://localhost/rooms/e077ac0b-f850-4cd8-9220-023d627ea149\""} device-1 | {"data":{"peerconnection":"5318e3fc-f7cb-4f13-93e9-382058cad330","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 10ms","method":"POST","requestID":"2ddde8e9f06fda23442cca6248cfd9e3","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"2ddde8e9f06fda23442cca6248cfd9e3"} device-1 | {"data":{"peerconnection":"5318e3fc-f7cb-4f13-93e9-382058cad330","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"c9bf9225d8a9d4e7c6541580679eef63"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5e4d2890-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1113,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7c470e83-b635-40b0-a214-7d9bb6c1e68a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.725745} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1113,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.290687,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e4d2890-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5e4d2890-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/5318e3fc-f7cb-4f13-93e9-382058cad330' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"5318e3fc-f7cb-4f13-93e9-382058cad330","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5e4d2890-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6cfa9488-a448-4b71-9504-4a552a9c6b66/signaling 200 18ms","method":"POST","requestID":"5e4d2890-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b3e46d55f3f1c2500a41a5f257a66d12","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b3e46d55f3f1c2500a41a5f257a66d12","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5e5035d0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/5318e3fc-f7cb-4f13-93e9-382058cad330"}}},"level":"info","message":"received a callback","requestID":"b3e46d55f3f1c2500a41a5f257a66d12"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1114,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"45404e41-462a-48a0-ad9c-f78cd1f79884","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.745447} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1114,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.475538,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"5e50f920-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e5035d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5e5035d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1115,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5e5035d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a037d79c-accf-4ab3-9c60-e798fb252fce/signaling 200 9ms","method":"POST","requestID":"5e5035d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/a037d79c-accf-4ab3-9c60-e798fb252fce/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F5318e3fc-f7cb-4f13-93e9-382058cad330","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"22747eb5-f81a-42ac-b8bb-98447ad46fa5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.7506766} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1115,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.318321,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/5318e3fc-f7cb-4f13-93e9-382058cad330","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e50f920-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/5318e3fc-f7cb-4f13-93e9-382058cad330","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5e50f920-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"5e50f920-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/5318e3fc-f7cb-4f13-93e9-382058cad330 200 8ms","method":"GET","requestID":"5e50f920-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/peerconnections/5318e3fc-f7cb-4f13-93e9-382058cad330"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 27ms","method":"POST","requestID":"b3e46d55f3f1c2500a41a5f257a66d12","responseTime":27,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.030","http_referrer":"","http_user_agent":"node-fetch","requestID":"b3e46d55f3f1c2500a41a5f257a66d12"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5e547b90-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1116,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"10ebb3ae-1376-4334-bd4f-ce16fda272b7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.7739217} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1116,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.922626,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e547b90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5e547b90-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5e547b90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a037d79c-accf-4ab3-9c60-e798fb252fce/signaling 200 8ms","method":"POST","requestID":"5e547b90-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/a037d79c-accf-4ab3-9c60-e798fb252fce/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5e560230-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1117,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d2fa242f-88e3-42e2-814c-86f2b7c6c34c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.7842546} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1117,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.70359,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e560230-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5e560230-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5e560230-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6cfa9488-a448-4b71-9504-4a552a9c6b66/signaling 200 9ms","method":"POST","requestID":"5e560230-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4","level":"info","message":"auth send jwt","requestID":"76c27fb4b142722b52bbc4cf0bf7cf96"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"76c27fb4b142722b52bbc4cf0bf7cf96","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/9498c912-02b0-41b2-862a-14d1d7397474","requestID":"76c27fb4b142722b52bbc4cf0bf7cf96"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1118,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1118,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.472425,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"76c27fb4b142722b52bbc4cf0bf7cf96","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"76c27fb4b142722b52bbc4cf0bf7cf96","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/9498c912-02b0-41b2-862a-14d1d7397474","requestID":"76c27fb4b142722b52bbc4cf0bf7cf96"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/9498c912-02b0-41b2-862a-14d1d7397474 HTTP/1.1","status": "200","body_bytes_sent":"1369","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"76c27fb4b142722b52bbc4cf0bf7cf96"} experiment-1 | {"level":"info","message":"GET /experiments/9498c912-02b0-41b2-862a-14d1d7397474 200 12ms","method":"GET","requestID":"76c27fb4b142722b52bbc4cf0bf7cf96","responseTime":12,"status":200,"url":"/experiments/9498c912-02b0-41b2-862a-14d1d7397474"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4","level":"info","message":"auth send jwt","requestID":"99639ae6e1a801532e46316347411b5c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"99639ae6e1a801532e46316347411b5c","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/9498c912-02b0-41b2-862a-14d1d7397474","requestID":"99639ae6e1a801532e46316347411b5c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1119,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1119,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.345372,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"99639ae6e1a801532e46316347411b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"99639ae6e1a801532e46316347411b5c","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474"},"level":"info","message":"Attempting to finish experiment","requestID":"99639ae6e1a801532e46316347411b5c"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"5e5f7810-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1120,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1120,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.803802,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/5318e3fc-f7cb-4f13-93e9-382058cad330","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e5f7810-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/5318e3fc-f7cb-4f13-93e9-382058cad330","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5e5f7810-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/e077ac0b-f850-4cd8-9220-023d627ea149?id=3e6fef70-ad95-47da-90a0-58736b2a1091 HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.154","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"e1d04d851db5e167acdbe43f557768e6"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/e077ac0b-f850-4cd8-9220-023d627ea149?id=eb48bd62-98e7-41e7-9d1f-76cdca43fbd7 HTTP/1.1","status": "101","body_bytes_sent":"916","request_time":"0.155","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"5391cb0bfde86c3bc4d956ccb50fb3bc"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"3e6fef70-ad95-47da-90a0-58736b2a1091\" in room \"http://localhost/rooms/e077ac0b-f850-4cd8-9220-023d627ea149\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"3e6fef70-ad95-47da-90a0-58736b2a1091\" from room \"http://localhost/rooms/e077ac0b-f850-4cd8-9220-023d627ea149\""} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"eb48bd62-98e7-41e7-9d1f-76cdca43fbd7\" in room \"http://localhost/rooms/e077ac0b-f850-4cd8-9220-023d627ea149\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"eb48bd62-98e7-41e7-9d1f-76cdca43fbd7\" from room \"http://localhost/rooms/e077ac0b-f850-4cd8-9220-023d627ea149\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/5318e3fc-f7cb-4f13-93e9-382058cad330' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/5318e3fc-f7cb-4f13-93e9-382058cad330' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"5318e3fc-f7cb-4f13-93e9-382058cad330","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"24ae164227b95e8d237cba9cc4c773e3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"24ae164227b95e8d237cba9cc4c773e3","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1bf2b3d1da121702d483562e5cb8cd20","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/5318e3fc-f7cb-4f13-93e9-382058cad330"}}},"level":"info","message":"received a callback","requestID":"24ae164227b95e8d237cba9cc4c773e3"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"1bf2b3d1da121702d483562e5cb8cd20","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/5318e3fc-f7cb-4f13-93e9-382058cad330"}}},"level":"info","message":"received a callback","requestID":"1bf2b3d1da121702d483562e5cb8cd20"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F5318e3fc-f7cb-4f13-93e9-382058cad330': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F5318e3fc-f7cb-4f13-93e9-382058cad330","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"310cf5c7-b48c-48c0-a3c5-8d1291d0a693","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.864939} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cc5589a4-7e89-4359-9cca-1af45d7f0d98","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.866342} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"5e5f7810-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"5318e3fc-f7cb-4f13-93e9-382058cad330","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"5e5f7810-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/5318e3fc-f7cb-4f13-93e9-382058cad330 204 41ms","method":"DELETE","requestID":"5e5f7810-75da-11ef-ba7c-09eaa4331ae1","responseTime":41,"status":204,"url":"/peerconnections/5318e3fc-f7cb-4f13-93e9-382058cad330"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9498c912-02b0-41b2-862a-14d1d7397474"},"level":"info","message":"Successfully finished experiment","requestID":"99639ae6e1a801532e46316347411b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5e6878c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1121,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa037d79c-accf-4ab3-9c60-e798fb252fce","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ba965fc7-1da3-4a9b-a76f-fa4b68f6b795","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.9066448} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1121,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.807655,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e6878c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5e6878c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5e6878c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a037d79c-accf-4ab3-9c60-e798fb252fce/signaling 200 12ms","method":"POST","requestID":"5e6878c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/a037d79c-accf-4ab3-9c60-e798fb252fce/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9498c912-02b0-41b2-862a-14d1d7397474': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9498c912-02b0-41b2-862a-14d1d7397474","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"f0ce5d79-84b7-4597-aa72-3d2c8d7e03d6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.9137816} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5e6a9ba0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"95142600-d578-406f-bafb-12c4072c737c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.9139972} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"99639ae6e1a801532e46316347411b5c","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1122,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6cfa9488-a448-4b71-9504-4a552a9c6b66","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2eb3ac06-c95a-4ce8-99f2-c2ead267a460","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676621.9183521} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1122,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.696714,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e6a9ba0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5e6a9ba0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5e6a9ba0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6cfa9488-a448-4b71-9504-4a552a9c6b66/signaling 200 8ms","method":"POST","requestID":"5e6a9ba0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/9498c912-02b0-41b2-862a-14d1d7397474","requestID":"99639ae6e1a801532e46316347411b5c"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/9498c912-02b0-41b2-862a-14d1d7397474 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.155","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"99639ae6e1a801532e46316347411b5c"} experiment-1 | {"level":"info","message":"DELETE /experiments/9498c912-02b0-41b2-862a-14d1d7397474 204 152ms","method":"DELETE","requestID":"99639ae6e1a801532e46316347411b5c","responseTime":152,"status":204,"url":"/experiments/9498c912-02b0-41b2-862a-14d1d7397474"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2107","request_time":"0.564","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"1c90f3c5cbf137a7907987e6f0f93bf3"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2106","request_time":"0.548","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"f4de80e3127baf3cdfa565a6b7746c4b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 121ms","method":"POST","requestID":"24ae164227b95e8d237cba9cc4c773e3","responseTime":121,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.124","http_referrer":"","http_user_agent":"node-fetch","requestID":"24ae164227b95e8d237cba9cc4c773e3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 120ms","method":"POST","requestID":"1bf2b3d1da121702d483562e5cb8cd20","responseTime":120,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.125","http_referrer":"","http_user_agent":"node-fetch","requestID":"1bf2b3d1da121702d483562e5cb8cd20"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4","level":"info","message":"auth send jwt","requestID":"9b1060564ad5851678cf546766135f8b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9b1060564ad5851678cf546766135f8b","responseTime":4,"status":200,"url":"/auth"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/a037d79c-accf-4ab3-9c60-e798fb252fce' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"9b1060564ad5851678cf546766135f8b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1123,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1123,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.979252,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:41Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9b1060564ad5851678cf546766135f8b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676621,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMX0.ozTlgGieuzk8m4Qu6RxUFogU_6-U3fBvLnMLpoqHeo4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9b1060564ad5851678cf546766135f8b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/6cfa9488-a448-4b71-9504-4a552a9c6b66' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"0fab6711-3e44-44cb-b8fd-fdaab8013a42","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676622.010396} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9b1060564ad5851678cf546766135f8b","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c13cc0d7-a8b6-4360-9c2d-a5ed82248e1e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676622.015993} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"9b1060564ad5851678cf546766135f8b","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"8b82c9e3-116b-424e-ab28-7feffc0d7bea","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676622.0257034} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8951c7df-9121-442c-bbbb-496de8959e49","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676622.0259778} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"9b1060564ad5851678cf546766135f8b","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:42.025666616Z"}]},"request_id":"01721cea-dc30-4728-a0df-1426c09cfe8a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676622.0308092} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9b1060564ad5851678cf546766135f8b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9b1060564ad5851678cf546766135f8b"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"9b1060564ad5851678cf546766135f8b","responseTime":45,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.052","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9b1060564ad5851678cf546766135f8b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMn0.fKKc0IUBYd3DrOMDJ7DFHMnVEU4BPn-QcZvVL1AY5nU","level":"info","message":"auth send jwt","requestID":"ca698fb86798950a4a52ebaeefc7270f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ca698fb86798950a4a52ebaeefc7270f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"ca698fb86798950a4a52ebaeefc7270f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1124,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:42Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1124,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.773786,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:42Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ca698fb86798950a4a52ebaeefc7270f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676622,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyMn0.fKKc0IUBYd3DrOMDJ7DFHMnVEU4BPn-QcZvVL1AY5nU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ca698fb86798950a4a52ebaeefc7270f","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"e8781362-b66b-4186-b949-f82d7528c349","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676622.0548413} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ca698fb86798950a4a52ebaeefc7270f","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bc3a5657-4365-4d85-bb43-a17de8ec75a9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676622.0598304} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"ca698fb86798950a4a52ebaeefc7270f","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"d0c35314-e2f4-4a77-b10e-82b0678df6d9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676622.0761964} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a191979b-8e85-4cd8-b38b-e0c89b6610c7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676622.076304} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"ca698fb86798950a4a52ebaeefc7270f","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:42.076152896Z"}]},"request_id":"2cd3cdca-4c6c-4523-af40-395655426a4c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676622.0812836} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ca698fb86798950a4a52ebaeefc7270f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ca698fb86798950a4a52ebaeefc7270f"} gateway-1 | {"time_local":"18/Sep/2024:16:23:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ca698fb86798950a4a52ebaeefc7270f"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"ca698fb86798950a4a52ebaeefc7270f","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8faa7f2c23a52726517f82153bbeaec8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"8faa7f2c23a52726517f82153bbeaec8","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"8faa7f2c23a52726517f82153bbeaec8"} device-1 | {"level":"info","message":"OPTIONS /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1/websocket 200 1ms","method":"OPTIONS","requestID":"8faa7f2c23a52726517f82153bbeaec8","responseTime":1,"status":200,"url":"/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1/websocket"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c3f40e6252c55f5709808d26ab49ee28","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"c3f40e6252c55f5709808d26ab49ee28","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"OPTIONS /devices/dcac417e-7c6a-4494-bdde-f06d35905276/websocket 200 1ms","method":"OPTIONS","requestID":"c3f40e6252c55f5709808d26ab49ee28","responseTime":1,"status":200,"url":"/devices/dcac417e-7c6a-4494-bdde-f06d35905276/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/dcac417e-7c6a-4494-bdde-f06d35905276/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"c3f40e6252c55f5709808d26ab49ee28"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc","level":"info","message":"auth send jwt","requestID":"4af0364a6385518f28af1523f9833cf7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4af0364a6385518f28af1523f9833cf7","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"4af0364a6385518f28af1523f9833cf7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc","level":"info","message":"auth send jwt","requestID":"12f443ea18dc432d0e9a77bfb5b4248f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"12f443ea18dc432d0e9a77bfb5b4248f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"12f443ea18dc432d0e9a77bfb5b4248f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1125,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1125,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.122755,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1126,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4af0364a6385518f28af1523f9833cf7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4af0364a6385518f28af1523f9833cf7","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1126,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.651525,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"12f443ea18dc432d0e9a77bfb5b4248f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"12f443ea18dc432d0e9a77bfb5b4248f","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"12f443ea18dc432d0e9a77bfb5b4248f"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/dcac417e-7c6a-4494-bdde-f06d35905276/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.018","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"12f443ea18dc432d0e9a77bfb5b4248f"} device-1 | {"level":"info","message":"POST /devices/dcac417e-7c6a-4494-bdde-f06d35905276/websocket 200 15ms","method":"POST","requestID":"12f443ea18dc432d0e9a77bfb5b4248f","responseTime":15,"status":200,"url":"/devices/dcac417e-7c6a-4494-bdde-f06d35905276/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"4af0364a6385518f28af1523f9833cf7"} device-1 | {"level":"info","message":"POST /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1/websocket 200 28ms","method":"POST","requestID":"4af0364a6385518f28af1523f9833cf7","responseTime":28,"status":200,"url":"/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.032","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4af0364a6385518f28af1523f9833cf7"} device-1 | {"level":"info","message":"device 'http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e983619a8637ec290d64793d71160624","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"e983619a8637ec290d64793d71160624","responseTime":0,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/dcac417e-7c6a-4494-bdde-f06d35905276? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e983619a8637ec290d64793d71160624"} device-1 | {"level":"info","message":"OPTIONS /devices/dcac417e-7c6a-4494-bdde-f06d35905276? 200 1ms","method":"OPTIONS","requestID":"e983619a8637ec290d64793d71160624","responseTime":1,"status":200,"url":"/devices/dcac417e-7c6a-4494-bdde-f06d35905276?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"28f4de25347d2b30177c7f20c76877da","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"28f4de25347d2b30177c7f20c76877da","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"28f4de25347d2b30177c7f20c76877da"} device-1 | {"level":"info","message":"OPTIONS /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1? 200 1ms","method":"OPTIONS","requestID":"28f4de25347d2b30177c7f20c76877da","responseTime":1,"status":200,"url":"/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc","level":"info","message":"auth send jwt","requestID":"5c61e1a9cc909def397077cbe3d79387"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5c61e1a9cc909def397077cbe3d79387","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"5c61e1a9cc909def397077cbe3d79387"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc","level":"info","message":"auth send jwt","requestID":"703dd433806ca842a6321d760fcc9268"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"703dd433806ca842a6321d760fcc9268","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1127,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"703dd433806ca842a6321d760fcc9268"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1127,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.82224,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5c61e1a9cc909def397077cbe3d79387","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5c61e1a9cc909def397077cbe3d79387","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1128,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1128,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.049562,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"703dd433806ca842a6321d760fcc9268","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"703dd433806ca842a6321d760fcc9268","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:42.076152896Z"}]},"request_id":"e28ff839-d323-447e-820f-8953e5f83a61","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.1688952} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"5c61e1a9cc909def397077cbe3d79387","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:42.025666616Z"}]},"request_id":"4ecb95a1-8d15-4ee1-a95f-d2761df40454","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.1736352} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"703dd433806ca842a6321d760fcc9268","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a495faef-e0aa-4571-ae1f-b407999b544f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.1765215} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"5c61e1a9cc909def397077cbe3d79387","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"abe8ce4e-2e23-45c1-aca5-d55656a59f4c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.1825309} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"703dd433806ca842a6321d760fcc9268","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:42.076152896Z"}]},"request_id":"aed4a1b7-915c-4b03-8b5f-c942daa05e78","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.1944232} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5c61e1a9cc909def397077cbe3d79387","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"5c61e1a9cc909def397077cbe3d79387"} device-1 | {"level":"info","message":"PATCH /devices/dcac417e-7c6a-4494-bdde-f06d35905276? 200 40ms","method":"PATCH","requestID":"5c61e1a9cc909def397077cbe3d79387","responseTime":40,"status":200,"url":"/devices/dcac417e-7c6a-4494-bdde-f06d35905276?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/dcac417e-7c6a-4494-bdde-f06d35905276? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.045","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"5c61e1a9cc909def397077cbe3d79387"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:42.025666616Z"}]},"request_id":"c3a3d2e9-0c4e-4c00-869e-f26022c9a620","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.207274} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"703dd433806ca842a6321d760fcc9268","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"703dd433806ca842a6321d760fcc9268"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.055","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"703dd433806ca842a6321d760fcc9268"} device-1 | {"level":"info","message":"PATCH /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1? 200 51ms","method":"PATCH","requestID":"703dd433806ca842a6321d760fcc9268","responseTime":51,"status":200,"url":"/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc","level":"info","message":"auth send jwt","requestID":"9e64dd40906a9bbb0061ffe2fa2a21d6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9e64dd40906a9bbb0061ffe2fa2a21d6","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9e64dd40906a9bbb0061ffe2fa2a21d6"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1129,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1129,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.163802,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9e64dd40906a9bbb0061ffe2fa2a21d6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9e64dd40906a9bbb0061ffe2fa2a21d6","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:42.025666616Z"}]},"request_id":"923ffa5c-fcb0-44cb-9ee4-18a7709f9ba1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.2289293} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9e64dd40906a9bbb0061ffe2fa2a21d6","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9e64dd40906a9bbb0061ffe2fa2a21d6"} device-1 | {"level":"info","message":"GET /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1? 200 15ms","method":"GET","requestID":"9e64dd40906a9bbb0061ffe2fa2a21d6","responseTime":15,"status":200,"url":"/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9e64dd40906a9bbb0061ffe2fa2a21d6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc","level":"info","message":"auth send jwt","requestID":"02c8b0ac0717108eec9bcb87f69d3816"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"02c8b0ac0717108eec9bcb87f69d3816","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"02c8b0ac0717108eec9bcb87f69d3816"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1130,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1130,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.668285,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"02c8b0ac0717108eec9bcb87f69d3816","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"02c8b0ac0717108eec9bcb87f69d3816","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:42.076152896Z"}]},"request_id":"c4bb96b7-3bc6-4374-80b7-de617412a079","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.2486136} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"02c8b0ac0717108eec9bcb87f69d3816","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"02c8b0ac0717108eec9bcb87f69d3816"} device-1 | {"level":"info","message":"GET /devices/dcac417e-7c6a-4494-bdde-f06d35905276? 200 14ms","method":"GET","requestID":"02c8b0ac0717108eec9bcb87f69d3816","responseTime":14,"status":200,"url":"/devices/dcac417e-7c6a-4494-bdde-f06d35905276?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dcac417e-7c6a-4494-bdde-f06d35905276? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"02c8b0ac0717108eec9bcb87f69d3816"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc","level":"info","message":"auth send jwt","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1131,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1131,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.185311,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"},"level":"info","message":"Attempting to run experiment","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"},"level":"info","message":"Attempting to book experiment","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"},"level":"info","message":"Successfully booked experiment","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5fd687b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5fd6aec0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1132,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1133,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1132,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.591476,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5fd687b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5fd687b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1133,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.461059,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5fd6aec0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5fd6aec0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:42.025666616Z"}]},"request_id":"eabae65f-44c6-416d-a4e7-437cffa5f634","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.306529} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5fd687b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:42.076152896Z"}]},"request_id":"d0bb0fd6-d388-4ed2-9dbd-f869637d8330","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.3070967} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5fd6aec0-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5fd687b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1? 200 14ms","method":"GET","requestID":"5fd687b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5fd6aec0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/dcac417e-7c6a-4494-bdde-f06d35905276? 200 15ms","method":"GET","requestID":"5fd6aec0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/dcac417e-7c6a-4494-bdde-f06d35905276?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"},"level":"info","message":"Setting up experiment","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"},"level":"info","message":"Successfully locked booking for experiment","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"},"level":"info","message":"Attempting to update booking for experiment","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"},"level":"info","message":"Successfully updated booking for experiment","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"},"level":"info","message":"Successfully set up experiment","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5fe13610-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5fe1ab40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1134,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5fe22070-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"},"level":"info","message":"Successfully running experiment","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1134,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.988649,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5fe13610-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"5fe13610-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1135,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1135,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.512017,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5fe1ab40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"5fe1ab40-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1136,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1136,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.575086,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b2d85d83-a087-4020-a154-f1eb9cb6df1f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.3850563} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:42.025666616Z"}]},"request_id":"0eaabba0-2d6f-494e-865f-7c3724be4aaa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.3879237} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5fe22070-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"5fe22070-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:42.076152896Z"}]},"request_id":"3134d5b0-4ae3-47c1-802c-f0e6298f4ee5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.3897352} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"5fe13610-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"5fe1ab40-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5fe22070-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1/signaling 200 24ms","method":"POST","requestID":"5fe22070-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5fe13610-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1? 200 32ms","method":"GET","requestID":"5fe13610-75da-11ef-ba7c-09eaa4331ae1","responseTime":32,"status":200,"url":"/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5fe1ab40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/dcac417e-7c6a-4494-bdde-f06d35905276? 200 31ms","method":"GET","requestID":"5fe1ab40-75da-11ef-ba7c-09eaa4331ae1","responseTime":31,"status":200,"url":"/devices/dcac417e-7c6a-4494-bdde-f06d35905276?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F35cc3b19-2b1c-4718-9cac-b55ee2e0c406#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F35cc3b19-2b1c-4718-9cac-b55ee2e0c406","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"6bf2338c-d600-4474-8972-28f75dfb7d7d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.4051495} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d1c8f2c9-e683-4de4-9a71-6fc92180210f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.4058185} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a","responseTime":25,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5fe777a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5fe79eb0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1137,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1138,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5d0067c3-701e-4080-8a3f-b29639337836","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.4166677} experiment-1 | {"data":{"experiment":"http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1137,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.819624,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} experiment-1 | {"level":"info","message":"POST /experiments? 201 160ms","method":"POST","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a","responseTime":160,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1212","request_time":"0.164","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5fe777a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"5fe777a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"13bfd68e-71c5-40f3-8f6c-01fbe342fd88","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.4193726} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1138,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.023736,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5fe79eb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"5fe79eb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc","level":"info","message":"auth send jwt","requestID":"8fd65905f0e5e8e80824d881cf22d789"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8fd65905f0e5e8e80824d881cf22d789","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5fe777a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/dcac417e-7c6a-4494-bdde-f06d35905276/signaling 200 14ms","method":"POST","requestID":"5fe777a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/dcac417e-7c6a-4494-bdde-f06d35905276/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8fd65905f0e5e8e80824d881cf22d789"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5fe79eb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1/signaling 200 17ms","method":"POST","requestID":"5fe79eb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1139,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1139,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.385458,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5feaabf0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8fd65905f0e5e8e80824d881cf22d789","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8fd65905f0e5e8e80824d881cf22d789","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1140,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:42.025666616Z"}]},"request_id":"2d10dfbc-8a54-4cc7-80af-9a93c1594cf5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.4370317} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"090d29e7-72a9-42ac-b22f-8e5a229d9900","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.437313} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8fd65905f0e5e8e80824d881cf22d789","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1140,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.728728,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8fd65905f0e5e8e80824d881cf22d789"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8fd65905f0e5e8e80824d881cf22d789"} device-1 | {"level":"info","message":"GET /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1? 200 16ms","method":"GET","requestID":"8fd65905f0e5e8e80824d881cf22d789","responseTime":16,"status":200,"url":"/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5feaabf0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"5feaabf0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5feaabf0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/dcac417e-7c6a-4494-bdde-f06d35905276/signaling 200 15ms","method":"POST","requestID":"5feaabf0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/dcac417e-7c6a-4494-bdde-f06d35905276/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc","level":"info","message":"auth send jwt","requestID":"366099ca87cae246ccc247852795d8b8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"366099ca87cae246ccc247852795d8b8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5fed6b10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"366099ca87cae246ccc247852795d8b8"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5fedb930-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1141,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1142,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1141,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.254082,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1142,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.037157,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:54060","level":"info","msg":"Received request.","req_id":1143,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5fed6b10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5fed6b10-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"366099ca87cae246ccc247852795d8b8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"366099ca87cae246ccc247852795d8b8","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:54060","level":"info","msg":"Sent response.","req_id":1143,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.976147,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5fedb930-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5fedb930-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:42.025666616Z"}]},"request_id":"5be89d56-0737-460f-9a1e-327a85788e2e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.459201} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:42.076152896Z"}]},"request_id":"cbd6aa51-34a6-4794-b9f9-3cc247c1950b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.4599452} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5fed6b10-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:42.076152896Z"}]},"request_id":"248e4f73-3d08-45af-8e4f-9c08b2d86fa3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.460934} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"366099ca87cae246ccc247852795d8b8","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5fedb930-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"366099ca87cae246ccc247852795d8b8"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dcac417e-7c6a-4494-bdde-f06d35905276? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"366099ca87cae246ccc247852795d8b8"} device-1 | {"level":"info","message":"GET /devices/dcac417e-7c6a-4494-bdde-f06d35905276? 200 17ms","method":"GET","requestID":"366099ca87cae246ccc247852795d8b8","responseTime":17,"status":200,"url":"/devices/dcac417e-7c6a-4494-bdde-f06d35905276?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5fed6b10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1? 200 19ms","method":"GET","requestID":"5fed6b10-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5fedb930-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/dcac417e-7c6a-4494-bdde-f06d35905276? 200 18ms","method":"GET","requestID":"5fedb930-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/dcac417e-7c6a-4494-bdde-f06d35905276?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"},"level":"info","message":"Building connection plan","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"2cc4c8bd-57bd-45c6-b757-f7656a9691fb"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"9c838264-7d8f-4ded-a69b-44f5f0bafc0c"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"1261cbff-af23-4728-8281-1f2eed1e0f1d"}]},"level":"info","message":"Built pairwise service configurations","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"5ff0ed80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1144,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1144,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.992416,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5ff0ed80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5ff0ed80-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"7766ca30-e620-4184-881f-c1c033227070","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.4844193} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"260f9c54-15b5-4f75-a67d-b26d7565edac","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.4847531} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"5ff0ed80-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"5ff0ed80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"5ff0ed80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e'","requestID":"5ff0ed80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e'","requestID":"5ff0ed80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"5ff0ed80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 26ms","method":"POST","requestID":"5ff0ed80-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"5ff0ed80-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"f54a0ad2ef3dbe88ee99ec2978b6335a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5ff951f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1145,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c58346bb-b6bf-49cc-9eff-3404ba70435b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.5320296} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1145,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.978785,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5ff951f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5ff951f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5ff951f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1/signaling 200 9ms","method":"POST","requestID":"5ff951f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1/signaling"} device-1 | {"device":"26fcd49b-5326-4e1e-b874-8a6ae38a78d1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"26fcd49b-5326-4e1e-b874-8a6ae38a78d1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5ffb26b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1146,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cfdbe380-d3ee-4a6d-a290-31fbf2f4f5df","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.5441444} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1146,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.206685,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5ffb26b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5ffb26b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5ffb26b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/dcac417e-7c6a-4494-bdde-f06d35905276/signaling 200 9ms","method":"POST","requestID":"5ffb26b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/dcac417e-7c6a-4494-bdde-f06d35905276/signaling"} device-1 | {"device":"dcac417e-7c6a-4494-bdde-f06d35905276","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"dcac417e-7c6a-4494-bdde-f06d35905276","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 2046195289383363508 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:8+PG\r\na=ice-pwd:YNQoW5UFu9OlTUUAozPTcpjw\r\na=ice-options:trickle\r\na=fingerprint:sha-256 7D:83:AE:0C:6B:39:5D:13:59:31:AB:FE:F7:F0:AA:D1:B7:6F:58:16:FE:97:BA:08:52:66:2C:BC:83:C4:BF:5F\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"dcac417e-7c6a-4494-bdde-f06d35905276","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276'"} device-1 | {"content":{"sdp":"v=0\r\no=- 8227985264256558045 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:TmRv\r\na=ice-pwd:Ensp40bvz0Q91W5NOTOj9n3C\r\na=ice-options:trickle\r\na=fingerprint:sha-256 DB:2E:EB:D1:2B:3D:41:98:AC:89:C6:54:B1:0B:01:FA:7B:4E:8C:66:FD:0A:A6:67:21:E9:58:14:55:71:8C:93\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"26fcd49b-5326-4e1e-b874-8a6ae38a78d1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1762509127 1 udp 2113937151 842f1c55-4b6a-498b-a684-6cd49694f24b.local 57638 typ host generation 0 ufrag TmRv network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"26fcd49b-5326-4e1e-b874-8a6ae38a78d1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:4196819028 1 udp 1677729535 141.24.211.56 57638 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag TmRv network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"26fcd49b-5326-4e1e-b874-8a6ae38a78d1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1'"} device-1 | {"content":{"candidate":"candidate:3905496279 1 udp 2113937151 fac5a407-13af-41b6-9682-fec530df3545.local 42099 typ host generation 0 ufrag 8+PG network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"dcac417e-7c6a-4494-bdde-f06d35905276","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2078442948 1 udp 1677729535 141.24.211.56 42099 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 8+PG network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"dcac417e-7c6a-4494-bdde-f06d35905276","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276'"} device-1 | {"device":"dcac417e-7c6a-4494-bdde-f06d35905276","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"26fcd49b-5326-4e1e-b874-8a6ae38a78d1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e4776cf2-01f2-414f-a0e8-3305e25f377e","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"dcac417e-7c6a-4494-bdde-f06d35905276","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"26fcd49b-5326-4e1e-b874-8a6ae38a78d1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"882b8a2d82e9f6e076e19d59c6074280","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} device-1 | {"device":"dcac417e-7c6a-4494-bdde-f06d35905276","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e"}}},"level":"info","message":"received a callback","requestID":"882b8a2d82e9f6e076e19d59c6074280"} device-1 | {"device":"26fcd49b-5326-4e1e-b874-8a6ae38a78d1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"882b8a2d82e9f6e076e19d59c6074280","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"882b8a2d82e9f6e076e19d59c6074280","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.007","http_referrer":"","http_user_agent":"node-fetch","requestID":"882b8a2d82e9f6e076e19d59c6074280"} device-1 | {"device":"26fcd49b-5326-4e1e-b874-8a6ae38a78d1","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"e4776cf2-01f2-414f-a0e8-3305e25f377e","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"e4776cf2-01f2-414f-a0e8-3305e25f377e","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e4776cf2-01f2-414f-a0e8-3305e25f377e","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"37d1fed120ed79fa962a567cc034f42e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"37d1fed120ed79fa962a567cc034f42e","responseTime":0,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e"}}},"level":"info","message":"received a callback","requestID":"37d1fed120ed79fa962a567cc034f42e"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"600ba170-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1147,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe4776cf2-01f2-414f-a0e8-3305e25f377e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ae15bd52-9a0d-46e0-877c-49ebbe50775a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.651631} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1147,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.575601,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"600ba170-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"600ba170-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"600ba170-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e 200 7ms","method":"GET","requestID":"600ba170-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 29ms","method":"POST","requestID":"37d1fed120ed79fa962a567cc034f42e","responseTime":29,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.031","http_referrer":"","http_user_agent":"node-fetch","requestID":"37d1fed120ed79fa962a567cc034f42e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"600f9910-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1148,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"83204729-ee1e-4d45-a860-b19a6ca5bc7d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.6783845} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1148,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.687517,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"600f9910-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"600f9910-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"600f9910-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1/signaling 200 10ms","method":"POST","requestID":"600f9910-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"60116dd0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1149,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dd33f65e-e6b5-4c56-90ce-de8933f70c90","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.6893215} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1149,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.202207,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"60116dd0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"60116dd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"60116dd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/dcac417e-7c6a-4494-bdde-f06d35905276/signaling 200 8ms","method":"POST","requestID":"60116dd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/dcac417e-7c6a-4494-bdde-f06d35905276/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc","level":"info","message":"auth send jwt","requestID":"ffd2934869bd8060557634e3528e63b1"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"ffd2934869bd8060557634e3528e63b1","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406","requestID":"ffd2934869bd8060557634e3528e63b1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1150,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1150,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.962549,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ffd2934869bd8060557634e3528e63b1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ffd2934869bd8060557634e3528e63b1","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406","requestID":"ffd2934869bd8060557634e3528e63b1"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406 HTTP/1.1","status": "200","body_bytes_sent":"1285","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ffd2934869bd8060557634e3528e63b1"} experiment-1 | {"level":"info","message":"GET /experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406 200 8ms","method":"GET","requestID":"ffd2934869bd8060557634e3528e63b1","responseTime":8,"status":200,"url":"/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc","level":"info","message":"auth send jwt","requestID":"d41b99d5d0e1576e76d82a89fd4837fc"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d41b99d5d0e1576e76d82a89fd4837fc","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406","requestID":"d41b99d5d0e1576e76d82a89fd4837fc"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1151,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1151,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.667491,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d41b99d5d0e1576e76d82a89fd4837fc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d41b99d5d0e1576e76d82a89fd4837fc","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"},"level":"info","message":"Attempting to finish experiment","requestID":"d41b99d5d0e1576e76d82a89fd4837fc"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"6018c0d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1152,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1152,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.058473,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6018c0d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6018c0d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e","device":"26fcd49b-5326-4e1e-b874-8a6ae38a78d1","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e","device":"dcac417e-7c6a-4494-bdde-f06d35905276","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e4776cf2-01f2-414f-a0e8-3305e25f377e","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe4776cf2-01f2-414f-a0e8-3305e25f377e': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe4776cf2-01f2-414f-a0e8-3305e25f377e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"fbecf095-1273-4dc3-88fd-cffdf45aad13","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.748448} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"02ca64ec-d2e1-4ffe-99ba-5b9ec821a842","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.748698} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a807e5a7339ffba2ccb638d1f92e8486","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a807e5a7339ffba2ccb638d1f92e8486","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"6018c0d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"20c85162eb43a85e627892f2ab4d9d40","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e"}}},"level":"info","message":"received a callback","requestID":"a807e5a7339ffba2ccb638d1f92e8486"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"20c85162eb43a85e627892f2ab4d9d40","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e"}}},"level":"info","message":"received a callback","requestID":"20c85162eb43a85e627892f2ab4d9d40"} device-1 | {"data":{"peerconnection":"e4776cf2-01f2-414f-a0e8-3305e25f377e","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"6018c0d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e 204 36ms","method":"DELETE","requestID":"6018c0d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":36,"status":204,"url":"/peerconnections/e4776cf2-01f2-414f-a0e8-3305e25f377e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"},"level":"info","message":"Successfully finished experiment","requestID":"d41b99d5d0e1576e76d82a89fd4837fc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6020b010-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1153,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26fcd49b-5326-4e1e-b874-8a6ae38a78d1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"76611457-f13f-4932-8312-77e5d65e4cc8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.7899547} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1153,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.617073,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6020b010-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6020b010-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6020b010-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1/signaling 200 10ms","method":"POST","requestID":"6020b010-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"602284d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F35cc3b19-2b1c-4718-9cac-b55ee2e0c406': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F35cc3b19-2b1c-4718-9cac-b55ee2e0c406","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"b32e581a-4a95-4bdc-afcd-fda0a299ea93","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.797673} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"29839412-e92f-477a-a2e0-c41390f652aa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.798065} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"d41b99d5d0e1576e76d82a89fd4837fc","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1154,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdcac417e-7c6a-4494-bdde-f06d35905276","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b41033ee-fa45-48af-9e4a-82a552dbfbc6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.801379} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1154,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.208742,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"602284d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"602284d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"602284d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/dcac417e-7c6a-4494-bdde-f06d35905276/signaling 200 8ms","method":"POST","requestID":"602284d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/dcac417e-7c6a-4494-bdde-f06d35905276/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406","requestID":"d41b99d5d0e1576e76d82a89fd4837fc"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.146","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d41b99d5d0e1576e76d82a89fd4837fc"} experiment-1 | {"level":"info","message":"DELETE /experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406 204 144ms","method":"DELETE","requestID":"d41b99d5d0e1576e76d82a89fd4837fc","responseTime":144,"status":204,"url":"/experiments/35cc3b19-2b1c-4718-9cac-b55ee2e0c406"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 118ms","method":"POST","requestID":"a807e5a7339ffba2ccb638d1f92e8486","responseTime":118,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.121","http_referrer":"","http_user_agent":"node-fetch","requestID":"a807e5a7339ffba2ccb638d1f92e8486"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 118ms","method":"POST","requestID":"20c85162eb43a85e627892f2ab4d9d40","responseTime":118,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.122","http_referrer":"","http_user_agent":"node-fetch","requestID":"20c85162eb43a85e627892f2ab4d9d40"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc","level":"info","message":"auth send jwt","requestID":"88b115b85c05663d22fcf2cc2b319af4"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"88b115b85c05663d22fcf2cc2b319af4","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"88b115b85c05663d22fcf2cc2b319af4"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3280","request_time":"0.767","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ca6b176d2c5ee927d92ae728fdf82172"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3282","request_time":"0.755","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"91452767bdf9954d2a49498daf3209ec"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1155,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1155,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":2.821753,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/26fcd49b-5326-4e1e-b874-8a6ae38a78d1' closed"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"88b115b85c05663d22fcf2cc2b319af4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"88b115b85c05663d22fcf2cc2b319af4","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/dcac417e-7c6a-4494-bdde-f06d35905276' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ba10d727-da0b-45fb-9e50-dca911319bd0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.904488} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"88b115b85c05663d22fcf2cc2b319af4","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e06c6e64-b8eb-4f71-bd6a-a2e99eec0d7c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.908895} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"88b115b85c05663d22fcf2cc2b319af4","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"3dfe638b-1e47-4c5f-a0cb-4331154f0671","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.9205518} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bb74a5e2-1767-49a7-90b0-b13fe7d81790","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.9206164} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"88b115b85c05663d22fcf2cc2b319af4","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:44.920519572Z"}]},"request_id":"694e90c5-c432-40ff-a0a0-62cdb732e66c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.9241474} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"88b115b85c05663d22fcf2cc2b319af4","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"88b115b85c05663d22fcf2cc2b319af4"} device-1 | {"level":"info","message":"POST /devices? 201 49ms","method":"POST","requestID":"88b115b85c05663d22fcf2cc2b319af4","responseTime":49,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.057","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"88b115b85c05663d22fcf2cc2b319af4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc","level":"info","message":"auth send jwt","requestID":"aaa80dd939a16b667e9274d6c9412c65"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"aaa80dd939a16b667e9274d6c9412c65","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"aaa80dd939a16b667e9274d6c9412c65"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1156,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1156,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.656083,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:44Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"aaa80dd939a16b667e9274d6c9412c65","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676624,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNH0.S2FWYLT-PwSG6i9_jJtEU34Pdxb444Kaoqcn0tOQ5xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"aaa80dd939a16b667e9274d6c9412c65","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"8cba7042-fa51-458a-ac7c-bd0e36aeca7e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.9445317} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"aaa80dd939a16b667e9274d6c9412c65","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"97b87369-0702-41d7-a4f4-ec0a0b687546","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.9487941} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"aaa80dd939a16b667e9274d6c9412c65","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"7c697d48-5732-4998-9a09-c63862261c2e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.9667733} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e3447923-9d6d-4951-9b47-f101383f9166","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.9668927} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"aaa80dd939a16b667e9274d6c9412c65","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:44.966748320Z"}]},"request_id":"b21b3e25-1c70-4f28-a3af-7c796fd8b800","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676624.9718516} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"aaa80dd939a16b667e9274d6c9412c65","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"aaa80dd939a16b667e9274d6c9412c65"} gateway-1 | {"time_local":"18/Sep/2024:16:23:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.047","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"aaa80dd939a16b667e9274d6c9412c65"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"aaa80dd939a16b667e9274d6c9412c65","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"66fe34a4db0ed55636da7a683449aa53","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"66fe34a4db0ed55636da7a683449aa53","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"84f0194a3829eedb4ee0545ab605e3d5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} gateway-1 | {"time_local":"18/Sep/2024:16:23:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/a197fade-0a94-420f-82bb-88700b4638fa/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"66fe34a4db0ed55636da7a683449aa53"} device-1 | {"level":"info","message":"OPTIONS /devices/a197fade-0a94-420f-82bb-88700b4638fa/websocket 200 1ms","method":"OPTIONS","requestID":"66fe34a4db0ed55636da7a683449aa53","responseTime":1,"status":200,"url":"/devices/a197fade-0a94-420f-82bb-88700b4638fa/websocket"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"84f0194a3829eedb4ee0545ab605e3d5","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"84f0194a3829eedb4ee0545ab605e3d5"} device-1 | {"level":"info","message":"OPTIONS /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4/websocket 200 1ms","method":"OPTIONS","requestID":"84f0194a3829eedb4ee0545ab605e3d5","responseTime":2,"status":200,"url":"/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNn0.gua9t0za-MUMuv7OaT_Y6PXewD3qVTk4vIIBaUpjrew","level":"info","message":"auth send jwt","requestID":"1679d504ef59aefd6562b95b04290337"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"1679d504ef59aefd6562b95b04290337","responseTime":6,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNn0.gua9t0za-MUMuv7OaT_Y6PXewD3qVTk4vIIBaUpjrew","level":"info","message":"auth send jwt","requestID":"54a97dfbb32f675b657beb91d2eb8364"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"1679d504ef59aefd6562b95b04290337"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"54a97dfbb32f675b657beb91d2eb8364","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"54a97dfbb32f675b657beb91d2eb8364"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1157,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:46Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1157,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.123,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1158,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:46Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1679d504ef59aefd6562b95b04290337","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676626,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNn0.gua9t0za-MUMuv7OaT_Y6PXewD3qVTk4vIIBaUpjrew"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1679d504ef59aefd6562b95b04290337","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1158,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.423787,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:46Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"54a97dfbb32f675b657beb91d2eb8364","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676626,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyNn0.gua9t0za-MUMuv7OaT_Y6PXewD3qVTk4vIIBaUpjrew"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"54a97dfbb32f675b657beb91d2eb8364","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"54a97dfbb32f675b657beb91d2eb8364"} device-1 | {"level":"info","message":"POST /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4/websocket 200 17ms","method":"POST","requestID":"54a97dfbb32f675b657beb91d2eb8364","responseTime":17,"status":200,"url":"/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:23:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.025","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"54a97dfbb32f675b657beb91d2eb8364"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"1679d504ef59aefd6562b95b04290337"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/a197fade-0a94-420f-82bb-88700b4638fa/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.039","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"1679d504ef59aefd6562b95b04290337"} device-1 | {"level":"info","message":"POST /devices/a197fade-0a94-420f-82bb-88700b4638fa/websocket 200 31ms","method":"POST","requestID":"1679d504ef59aefd6562b95b04290337","responseTime":31,"status":200,"url":"/devices/a197fade-0a94-420f-82bb-88700b4638fa/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"aa94a72c3037420191add9d9e3fd7478","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"aa94a72c3037420191add9d9e3fd7478","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"aa94a72c3037420191add9d9e3fd7478"} device-1 | {"level":"info","message":"OPTIONS /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4? 200 1ms","method":"OPTIONS","requestID":"aa94a72c3037420191add9d9e3fd7478","responseTime":1,"status":200,"url":"/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"21a8ea7fbf969929b650569c32179cce","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"21a8ea7fbf969929b650569c32179cce","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/a197fade-0a94-420f-82bb-88700b4638fa? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"21a8ea7fbf969929b650569c32179cce"} device-1 | {"level":"info","message":"OPTIONS /devices/a197fade-0a94-420f-82bb-88700b4638fa? 200 1ms","method":"OPTIONS","requestID":"21a8ea7fbf969929b650569c32179cce","responseTime":1,"status":200,"url":"/devices/a197fade-0a94-420f-82bb-88700b4638fa?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI","level":"info","message":"auth send jwt","requestID":"9c6aff23d50d742792251ec1c7973257"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"9c6aff23d50d742792251ec1c7973257","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"9c6aff23d50d742792251ec1c7973257"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1159,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI","level":"info","message":"auth send jwt","requestID":"476994cda9cc274c795d595d091a1404"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1159,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.104191,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"476994cda9cc274c795d595d091a1404","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9c6aff23d50d742792251ec1c7973257","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9c6aff23d50d742792251ec1c7973257","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"476994cda9cc274c795d595d091a1404"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1160,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1160,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.159133,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"476994cda9cc274c795d595d091a1404","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"476994cda9cc274c795d595d091a1404","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:44.966748320Z"}]},"request_id":"2712d5f5-e05c-44ff-8e1c-790aae8572f4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.0648699} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"9c6aff23d50d742792251ec1c7973257","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:44.920519572Z"}]},"request_id":"5c1e9dde-9ee0-4ba5-8e1c-f7dddd00864d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.0696187} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"476994cda9cc274c795d595d091a1404","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4e8cf45f-3ae7-452c-be2d-645f81807413","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.0730095} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"9c6aff23d50d742792251ec1c7973257","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"334f1503-793b-487f-88fc-9850f63ff196","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.0792952} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"476994cda9cc274c795d595d091a1404","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:44.966748320Z"}]},"request_id":"2107c3ca-c95b-4f41-aea7-c0f857a750a3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.089397} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9c6aff23d50d742792251ec1c7973257","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"9c6aff23d50d742792251ec1c7973257"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.051","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"9c6aff23d50d742792251ec1c7973257"} device-1 | {"level":"info","message":"PATCH /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4? 200 44ms","method":"PATCH","requestID":"9c6aff23d50d742792251ec1c7973257","responseTime":44,"status":200,"url":"/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:44.920519572Z"}]},"request_id":"328b8123-fbed-4ab8-9770-80261c113ade","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.102423} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"476994cda9cc274c795d595d091a1404","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"476994cda9cc274c795d595d091a1404"} device-1 | {"level":"info","message":"PATCH /devices/a197fade-0a94-420f-82bb-88700b4638fa? 200 52ms","method":"PATCH","requestID":"476994cda9cc274c795d595d091a1404","responseTime":52,"status":200,"url":"/devices/a197fade-0a94-420f-82bb-88700b4638fa?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/a197fade-0a94-420f-82bb-88700b4638fa? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.057","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"476994cda9cc274c795d595d091a1404"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI","level":"info","message":"auth send jwt","requestID":"77d7ad10d12a9fdf514a8e939311df5f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"77d7ad10d12a9fdf514a8e939311df5f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"77d7ad10d12a9fdf514a8e939311df5f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1161,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1161,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.077365,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"77d7ad10d12a9fdf514a8e939311df5f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"77d7ad10d12a9fdf514a8e939311df5f","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:44.920519572Z"}]},"request_id":"6bdb0631-3f03-43a2-b279-95dc916aa37f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.1284387} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"77d7ad10d12a9fdf514a8e939311df5f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"77d7ad10d12a9fdf514a8e939311df5f"} device-1 | {"level":"info","message":"GET /devices/a197fade-0a94-420f-82bb-88700b4638fa? 200 17ms","method":"GET","requestID":"77d7ad10d12a9fdf514a8e939311df5f","responseTime":17,"status":200,"url":"/devices/a197fade-0a94-420f-82bb-88700b4638fa?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a197fade-0a94-420f-82bb-88700b4638fa? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"77d7ad10d12a9fdf514a8e939311df5f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI","level":"info","message":"auth send jwt","requestID":"e7f669cfc5c95fdc1542c8f4781ff96c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e7f669cfc5c95fdc1542c8f4781ff96c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e7f669cfc5c95fdc1542c8f4781ff96c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1162,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1162,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.328804,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e7f669cfc5c95fdc1542c8f4781ff96c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e7f669cfc5c95fdc1542c8f4781ff96c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:44.966748320Z"}]},"request_id":"1a553356-c774-4d76-a542-9273fcafa7f9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.1520388} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e7f669cfc5c95fdc1542c8f4781ff96c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e7f669cfc5c95fdc1542c8f4781ff96c"} device-1 | {"level":"info","message":"GET /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4? 200 16ms","method":"GET","requestID":"e7f669cfc5c95fdc1542c8f4781ff96c","responseTime":16,"status":200,"url":"/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e7f669cfc5c95fdc1542c8f4781ff96c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI","level":"info","message":"auth send jwt","requestID":"55d0b1308811d4cc88ea85a2575cb530"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"55d0b1308811d4cc88ea85a2575cb530","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"55d0b1308811d4cc88ea85a2575cb530"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1163,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1163,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.226474,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"55d0b1308811d4cc88ea85a2575cb530","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"55d0b1308811d4cc88ea85a2575cb530","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"},"level":"info","message":"Attempting to run experiment","requestID":"55d0b1308811d4cc88ea85a2575cb530"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"},"level":"info","message":"Attempting to book experiment","requestID":"55d0b1308811d4cc88ea85a2575cb530"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"},"level":"info","message":"Successfully booked experiment","requestID":"55d0b1308811d4cc88ea85a2575cb530"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6192ddb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"61932bd0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1164,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1164,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.779359,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1165,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6192ddb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6192ddb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1165,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.012696,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"61932bd0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"61932bd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:44.920519572Z"}]},"request_id":"18f5597e-7920-42a8-aae8-433859d91e36","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.2230697} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"6192ddb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:44.966748320Z"}]},"request_id":"d5febc6a-69ed-40c7-8da1-6bbabf4e14c9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.224627} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"61932bd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6192ddb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/a197fade-0a94-420f-82bb-88700b4638fa? 200 20ms","method":"GET","requestID":"6192ddb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/a197fade-0a94-420f-82bb-88700b4638fa?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"61932bd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4? 200 20ms","method":"GET","requestID":"61932bd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"},"level":"info","message":"Setting up experiment","requestID":"55d0b1308811d4cc88ea85a2575cb530"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"55d0b1308811d4cc88ea85a2575cb530"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"},"level":"info","message":"Successfully locked booking for experiment","requestID":"55d0b1308811d4cc88ea85a2575cb530"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"55d0b1308811d4cc88ea85a2575cb530"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"55d0b1308811d4cc88ea85a2575cb530"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"},"level":"info","message":"Attempting to update booking for experiment","requestID":"55d0b1308811d4cc88ea85a2575cb530"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"},"level":"info","message":"Successfully updated booking for experiment","requestID":"55d0b1308811d4cc88ea85a2575cb530"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"},"level":"info","message":"Successfully set up experiment","requestID":"55d0b1308811d4cc88ea85a2575cb530"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"619dda30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"619e2850-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"619e7670-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1166,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1166,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.182336,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1167,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"},"level":"info","message":"Successfully running experiment","requestID":"55d0b1308811d4cc88ea85a2575cb530"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"619dda30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"619dda30-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1167,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.934896,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:54060","level":"info","msg":"Received request.","req_id":1168,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"619e2850-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"619e2850-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:54060","level":"info","msg":"Sent response.","req_id":1168,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.823099,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"86a7f819-6a18-440c-aae3-e099d08a8871","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.294583} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"619e7670-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"619e7670-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:44.920519572Z"}]},"request_id":"796412be-1c39-4868-8ed2-d1d30fbc0718","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.2987988} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"619dda30-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:44.966748320Z"}]},"request_id":"974845a3-5743-44f4-ac9b-c8d69eee35bd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.3025546} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"619e2850-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"619e7670-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a197fade-0a94-420f-82bb-88700b4638fa/signaling 200 18ms","method":"POST","requestID":"619e7670-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/a197fade-0a94-420f-82bb-88700b4638fa/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"61a1aac0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"619dda30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/a197fade-0a94-420f-82bb-88700b4638fa? 200 29ms","method":"GET","requestID":"619dda30-75da-11ef-ba7c-09eaa4331ae1","responseTime":29,"status":200,"url":"/devices/a197fade-0a94-420f-82bb-88700b4638fa?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"619e2850-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4? 200 28ms","method":"GET","requestID":"619e2850-75da-11ef-ba7c-09eaa4331ae1","responseTime":29,"status":200,"url":"/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F113c8f55-d5f3-4e18-9f62-acdabf3eb315#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F113c8f55-d5f3-4e18-9f62-acdabf3eb315","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"b6121731-635f-48af-8b57-e20f368b7f39","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.3135662} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"df97d29f-15dd-48a4-af7d-a27aed78224d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.3140633} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1169,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"55d0b1308811d4cc88ea85a2575cb530","responseTime":22,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"61a30a50-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7600ad08-e274-4ed5-93f2-fa93b4b271f9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.3191135} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1169,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":6.061314,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1170,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"61a1aac0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"61a1aac0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4cbee08a-9324-4698-8495-f3420162f072","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.3244107} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1170,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.503431,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"55d0b1308811d4cc88ea85a2575cb530"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"61a1aac0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"61a30a50-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"level":"info","message":"POST /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4/signaling 200 18ms","method":"POST","requestID":"61a1aac0-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4/signaling"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"61a30a50-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1212","request_time":"0.168","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"55d0b1308811d4cc88ea85a2575cb530"} experiment-1 | {"level":"info","message":"POST /experiments? 201 161ms","method":"POST","requestID":"55d0b1308811d4cc88ea85a2575cb530","responseTime":161,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"61a30a50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a197fade-0a94-420f-82bb-88700b4638fa/signaling 200 13ms","method":"POST","requestID":"61a30a50-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/a197fade-0a94-420f-82bb-88700b4638fa/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"61a55440-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI","level":"info","message":"auth send jwt","requestID":"7a0b4bcea125b8b7d3dc4a295d70ceff"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7a0b4bcea125b8b7d3dc4a295d70ceff","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7a0b4bcea125b8b7d3dc4a295d70ceff"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1171,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1172,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1172,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.978028,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7a0b4bcea125b8b7d3dc4a295d70ceff","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7a0b4bcea125b8b7d3dc4a295d70ceff","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1f9a2cde-250f-4670-9bfc-c34efa4af4c4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.3382452} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1171,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.725548,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"61a55440-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"61a55440-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"61a55440-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4/signaling 200 10ms","method":"POST","requestID":"61a55440-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:44.920519572Z"}]},"request_id":"32d62cde-51b6-4b8e-b35a-a66a489934c5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.3425741} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7a0b4bcea125b8b7d3dc4a295d70ceff","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"55d0b1308811d4cc88ea85a2575cb530"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"61a75010-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"61a77720-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7a0b4bcea125b8b7d3dc4a295d70ceff"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1173,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1174,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1173,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.227267,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} device-1 | {"level":"info","message":"GET /devices/a197fade-0a94-420f-82bb-88700b4638fa? 200 15ms","method":"GET","requestID":"7a0b4bcea125b8b7d3dc4a295d70ceff","responseTime":15,"status":200,"url":"/devices/a197fade-0a94-420f-82bb-88700b4638fa?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a197fade-0a94-420f-82bb-88700b4638fa? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7a0b4bcea125b8b7d3dc4a295d70ceff"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"61a75010-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"61a75010-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1174,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.97564,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"61a77720-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"61a77720-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI","level":"info","message":"auth send jwt","requestID":"13407910fa11beaef32230c91c81c234"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:44.920519572Z"}]},"request_id":"e683402c-c898-4195-8e2b-7fc45995cc58","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.353707} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"13407910fa11beaef32230c91c81c234","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"61a75010-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:44.966748320Z"}]},"request_id":"b63cdf67-f417-44d6-9038-2ce66b9e6a74","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.355238} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"13407910fa11beaef32230c91c81c234"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"61a77720-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1175,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1175,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.75256,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"13407910fa11beaef32230c91c81c234","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"13407910fa11beaef32230c91c81c234","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"61a75010-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/a197fade-0a94-420f-82bb-88700b4638fa? 200 17ms","method":"GET","requestID":"61a75010-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/a197fade-0a94-420f-82bb-88700b4638fa?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"61a77720-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4? 200 17ms","method":"GET","requestID":"61a77720-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:44.966748320Z"}]},"request_id":"60a5c2c9-79bd-4467-9d34-b60e467be554","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.363399} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"},"level":"info","message":"Building connection plan","requestID":"55d0b1308811d4cc88ea85a2575cb530"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"1c3bc1a4-459b-4fa8-a0a5-a1212bb5541a"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"f536b545-6de6-49f9-a15d-632bbe37f3cf"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"f5f3b247-190c-43ba-9175-13392e73bc36"}]},"level":"info","message":"Built pairwise service configurations","requestID":"55d0b1308811d4cc88ea85a2575cb530"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"55d0b1308811d4cc88ea85a2575cb530"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"13407910fa11beaef32230c91c81c234","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"61aa5d50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"13407910fa11beaef32230c91c81c234"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1176,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"13407910fa11beaef32230c91c81c234"} device-1 | {"level":"info","message":"GET /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4? 200 12ms","method":"GET","requestID":"13407910fa11beaef32230c91c81c234","responseTime":12,"status":200,"url":"/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1176,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.743868,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"61aa5d50-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"61aa5d50-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"0c87b387-7b7f-4e08-be9f-84eb073e96d4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.376314} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"eecfa6f8-60d1-479b-817f-94ecd2952f9f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.3766456} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"61aa5d50-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"61aa5d50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"61aa5d50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff'","requestID":"61aa5d50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff'","requestID":"61aa5d50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"61aa5d50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 26ms","method":"POST","requestID":"61aa5d50-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"61aa5d50-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"55d0b1308811d4cc88ea85a2575cb530"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"61b273a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1177,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"37a19aba-fe14-415a-863c-4e85ed96f420","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.4228742} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1177,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.888966,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"61b273a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"61b273a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"61b273a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a197fade-0a94-420f-82bb-88700b4638fa/signaling 200 9ms","method":"POST","requestID":"61b273a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/a197fade-0a94-420f-82bb-88700b4638fa/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"61b42150-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"device":"a197fade-0a94-420f-82bb-88700b4638fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"a197fade-0a94-420f-82bb-88700b4638fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1178,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5f355f1d-e79d-4f98-a7b2-f61187ca7228","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.434753} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1178,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.666927,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"61b42150-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"61b42150-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"device":"70be8ede-a3d8-4ade-b8e7-958cfffc75c4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"70be8ede-a3d8-4ade-b8e7-958cfffc75c4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"61b42150-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4/signaling 200 10ms","method":"POST","requestID":"61b42150-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 1183257417686384377 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:pFBR\r\na=ice-pwd:vQJA6sLkrnJz2ulUg6VkyrlV\r\na=ice-options:trickle\r\na=fingerprint:sha-256 F1:3F:94:D7:1A:11:80:E4:DD:9D:CA:1F:77:2A:57:B5:7E:CD:AA:5B:83:5C:04:4B:F0:C1:6F:A6:E6:7D:45:58\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"70be8ede-a3d8-4ade-b8e7-958cfffc75c4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 116325146907806135 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:G3jP\r\na=ice-pwd:RunLZOM9mtAT6VOKRAWimQpS\r\na=ice-options:trickle\r\na=fingerprint:sha-256 D1:17:5C:C9:04:16:47:3E:84:88:69:A8:73:82:F7:62:54:B6:92:95:B8:55:33:CA:8E:B2:D3:6A:98:2B:42:37\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"a197fade-0a94-420f-82bb-88700b4638fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:2226134535 1 udp 2113937151 4d96c214-c5e9-4812-b1a8-4355df5e2a6d.local 49527 typ host generation 0 ufrag G3jP network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"a197fade-0a94-420f-82bb-88700b4638fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:10318968 1 udp 1677729535 141.24.211.56 49527 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag G3jP network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"a197fade-0a94-420f-82bb-88700b4638fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa'"} device-1 | {"content":{"candidate":"candidate:4235929088 1 udp 2113937151 53cd81c9-c1e0-4495-bb59-7f0490a07407.local 43442 typ host generation 0 ufrag pFBR network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"70be8ede-a3d8-4ade-b8e7-958cfffc75c4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2018921599 1 udp 1677729535 141.24.211.56 43442 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag pFBR network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"70be8ede-a3d8-4ade-b8e7-958cfffc75c4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4'"} device-1 | {"device":"70be8ede-a3d8-4ade-b8e7-958cfffc75c4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"a197fade-0a94-420f-82bb-88700b4638fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"33724677-cfc5-46ac-a2b0-f90262a889ff","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"70be8ede-a3d8-4ade-b8e7-958cfffc75c4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"36a1663c5da2304147ee5717d89d2cb2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} device-1 | {"device":"a197fade-0a94-420f-82bb-88700b4638fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"36a1663c5da2304147ee5717d89d2cb2","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff"}}},"level":"info","message":"received a callback","requestID":"36a1663c5da2304147ee5717d89d2cb2"} device-1 | {"device":"a197fade-0a94-420f-82bb-88700b4638fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"36a1663c5da2304147ee5717d89d2cb2","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.008","http_referrer":"","http_user_agent":"node-fetch","requestID":"36a1663c5da2304147ee5717d89d2cb2"} device-1 | {"device":"70be8ede-a3d8-4ade-b8e7-958cfffc75c4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"a197fade-0a94-420f-82bb-88700b4638fa","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"33724677-cfc5-46ac-a2b0-f90262a889ff","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"33724677-cfc5-46ac-a2b0-f90262a889ff","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"33724677-cfc5-46ac-a2b0-f90262a889ff","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c9c6d7b2b9c69056490427677a1e76a7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"c9c6d7b2b9c69056490427677a1e76a7","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff"}}},"level":"info","message":"received a callback","requestID":"c9c6d7b2b9c69056490427677a1e76a7"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"61bf9300-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1179,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F33724677-cfc5-46ac-a2b0-f90262a889ff","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ff352825-b26b-4041-93cb-d757725daa1d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.507777} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1179,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.025616,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"61bf9300-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"61bf9300-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"61bf9300-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff 200 7ms","method":"GET","requestID":"61bf9300-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 27ms","method":"POST","requestID":"c9c6d7b2b9c69056490427677a1e76a7","responseTime":27,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.029","http_referrer":"","http_user_agent":"node-fetch","requestID":"c9c6d7b2b9c69056490427677a1e76a7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"61c33c80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1180,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0267bd9c-9d06-4add-970f-4c886405e040","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.5321844} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1180,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.17234,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"61c33c80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"61c33c80-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"61c33c80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a197fade-0a94-420f-82bb-88700b4638fa/signaling 200 7ms","method":"POST","requestID":"61c33c80-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/devices/a197fade-0a94-420f-82bb-88700b4638fa/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"61c49c10-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1181,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3e245e4e-b0e5-44b8-bf46-352b32925a60","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.5412939} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1181,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.112277,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"61c49c10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"61c49c10-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"61c49c10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4/signaling 200 7ms","method":"POST","requestID":"61c49c10-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI","level":"info","message":"auth send jwt","requestID":"c19d7803e221fcda31f162d5c27d32e4"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"c19d7803e221fcda31f162d5c27d32e4","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315","requestID":"c19d7803e221fcda31f162d5c27d32e4"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1182,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1182,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.639816,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c19d7803e221fcda31f162d5c27d32e4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c19d7803e221fcda31f162d5c27d32e4","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315","requestID":"c19d7803e221fcda31f162d5c27d32e4"} experiment-1 | {"level":"info","message":"GET /experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315 200 13ms","method":"GET","requestID":"c19d7803e221fcda31f162d5c27d32e4","responseTime":13,"status":200,"url":"/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315 HTTP/1.1","status": "200","body_bytes_sent":"1285","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c19d7803e221fcda31f162d5c27d32e4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI","level":"info","message":"auth send jwt","requestID":"3a5383e9e73fb5c179bbe22e84a261be"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3a5383e9e73fb5c179bbe22e84a261be","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315","requestID":"3a5383e9e73fb5c179bbe22e84a261be"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1183,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1183,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.076103,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3a5383e9e73fb5c179bbe22e84a261be","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3a5383e9e73fb5c179bbe22e84a261be","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"},"level":"info","message":"Attempting to finish experiment","requestID":"3a5383e9e73fb5c179bbe22e84a261be"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"61d14640-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1184,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1184,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.705978,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"61d14640-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"61d14640-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff","device":"a197fade-0a94-420f-82bb-88700b4638fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff","device":"70be8ede-a3d8-4ade-b8e7-958cfffc75c4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"33724677-cfc5-46ac-a2b0-f90262a889ff","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F33724677-cfc5-46ac-a2b0-f90262a889ff': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F33724677-cfc5-46ac-a2b0-f90262a889ff","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"f895eaaa-904f-41f3-8bb8-88a951b8c969","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.6382415} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"268ad5ce-551f-4c41-b862-5bd4a1caa2e6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.6384974} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"61d14640-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0658b149c7af2179632e3311c4e436b3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0658b149c7af2179632e3311c4e436b3","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ae1ef7f05b848d334be8d08998da6994","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff"}}},"level":"info","message":"received a callback","requestID":"0658b149c7af2179632e3311c4e436b3"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ae1ef7f05b848d334be8d08998da6994","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff"}}},"level":"info","message":"received a callback","requestID":"ae1ef7f05b848d334be8d08998da6994"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"61d14640-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff 204 40ms","method":"DELETE","requestID":"61d14640-75da-11ef-ba7c-09eaa4331ae1","responseTime":40,"status":204,"url":"/peerconnections/33724677-cfc5-46ac-a2b0-f90262a889ff"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"},"level":"info","message":"Successfully finished experiment","requestID":"3a5383e9e73fb5c179bbe22e84a261be"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"61dae330-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1185,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa197fade-0a94-420f-82bb-88700b4638fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0ff9bd50-65cb-4d09-b36e-d0ecfb2d596d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.688902} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1185,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.640114,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"61dae330-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"61dae330-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"61dae330-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a197fade-0a94-420f-82bb-88700b4638fa/signaling 200 12ms","method":"POST","requestID":"61dae330-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/a197fade-0a94-420f-82bb-88700b4638fa/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F113c8f55-d5f3-4e18-9f62-acdabf3eb315': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F113c8f55-d5f3-4e18-9f62-acdabf3eb315","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"a9165b0e-ae53-4de2-a4fc-eab7c0584c72","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.6975334} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"31b7becc-5309-457f-9ea0-bf2ee1b6b4c3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.6978636} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"61dd2d20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"3a5383e9e73fb5c179bbe22e84a261be","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1186,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70be8ede-a3d8-4ade-b8e7-958cfffc75c4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9c6d545b-a100-4657-8468-5632c8d9ba77","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.7046006} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1186,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.026994,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"61dd2d20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"61dd2d20-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"61dd2d20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4/signaling 200 13ms","method":"POST","requestID":"61dd2d20-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315","requestID":"3a5383e9e73fb5c179bbe22e84a261be"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.168","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3a5383e9e73fb5c179bbe22e84a261be"} experiment-1 | {"level":"info","message":"DELETE /experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315 204 165ms","method":"DELETE","requestID":"3a5383e9e73fb5c179bbe22e84a261be","responseTime":165,"status":204,"url":"/experiments/113c8f55-d5f3-4e18-9f62-acdabf3eb315"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 133ms","method":"POST","requestID":"0658b149c7af2179632e3311c4e436b3","responseTime":133,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.136","http_referrer":"","http_user_agent":"node-fetch","requestID":"0658b149c7af2179632e3311c4e436b3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 133ms","method":"POST","requestID":"ae1ef7f05b848d334be8d08998da6994","responseTime":133,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.137","http_referrer":"","http_user_agent":"node-fetch","requestID":"ae1ef7f05b848d334be8d08998da6994"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI","level":"info","message":"auth send jwt","requestID":"d3c93451d5a1ba19942528cc9730b2cb"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"d3c93451d5a1ba19942528cc9730b2cb","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d3c93451d5a1ba19942528cc9730b2cb"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3282","request_time":"0.776","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d8f17f3f8c1fcad6b58c3e0979a264e7"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3277","request_time":"0.788","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"07d6410ea39848c523690792e6b8834f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1187,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1187,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.640617,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d3c93451d5a1ba19942528cc9730b2cb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"d3c93451d5a1ba19942528cc9730b2cb","responseTime":11,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/a197fade-0a94-420f-82bb-88700b4638fa' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/70be8ede-a3d8-4ade-b8e7-958cfffc75c4' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"dd0e22c4-0170-4b80-ae95-2340f06ad8c2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.8063707} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d3c93451d5a1ba19942528cc9730b2cb","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"861ca98f-ac2b-44df-83a4-9f8649228f46","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.8098586} authorization-1 | {"level":"info","message":"POST /relations/update 200 2ms","method":"POST","requestID":"d3c93451d5a1ba19942528cc9730b2cb","responseTime":2,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"ccc94db4-3567-427e-b600-f960a8306cb1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.821126} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d1a6c14b-c8a4-4400-a717-cbc30ac7393e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.821238} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"d3c93451d5a1ba19942528cc9730b2cb","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:47.821100034Z"}]},"request_id":"2e540a58-1bc8-49a5-9c9b-32755bde0f67","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.8243365} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d3c93451d5a1ba19942528cc9730b2cb","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d3c93451d5a1ba19942528cc9730b2cb"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d3c93451d5a1ba19942528cc9730b2cb"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"d3c93451d5a1ba19942528cc9730b2cb","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI","level":"info","message":"auth send jwt","requestID":"d9a9e4c2aee0173bf96a635582c4f280"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d9a9e4c2aee0173bf96a635582c4f280","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d9a9e4c2aee0173bf96a635582c4f280"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1188,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1188,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.650558,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:47Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d9a9e4c2aee0173bf96a635582c4f280","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676627,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyN30.APel2oOq028AK6rJx3XRixKTHgEsFDqcUGmbYTH0PLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d9a9e4c2aee0173bf96a635582c4f280","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"59614637-6a10-45b2-8105-cd3e227a666e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.8452516} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d9a9e4c2aee0173bf96a635582c4f280","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b22c262f-f945-47be-88bc-e64f726c5579","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.8493226} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"d9a9e4c2aee0173bf96a635582c4f280","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"97cbc8ec-3828-44eb-8452-de7b5b3a6591","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.8671474} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"91813eef-1078-49ee-bca0-469ce49825dd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.8672786} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"d9a9e4c2aee0173bf96a635582c4f280","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:47.867120545Z"}]},"request_id":"f5d57c6a-b849-449d-814d-fa0fe3fdecdc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676627.8703065} authorization-1 | {"level":"info","message":"POST /relations/query 200 1ms","method":"POST","requestID":"d9a9e4c2aee0173bf96a635582c4f280","responseTime":1,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d9a9e4c2aee0173bf96a635582c4f280"} gateway-1 | {"time_local":"18/Sep/2024:16:23:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.044","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d9a9e4c2aee0173bf96a635582c4f280"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"d9a9e4c2aee0173bf96a635582c4f280","responseTime":41,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyOH0.ItHTMaxGBDyX8EPQs1reZNZR4tmHwqurM6RRayyOvzw","level":"info","message":"auth send jwt","requestID":"9ba4424ff936d1372a0ba55fc760af33"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9ba4424ff936d1372a0ba55fc760af33","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"9ba4424ff936d1372a0ba55fc760af33"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1189,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:48Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1189,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.702954,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:48Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9ba4424ff936d1372a0ba55fc760af33","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676628,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyOH0.ItHTMaxGBDyX8EPQs1reZNZR4tmHwqurM6RRayyOvzw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9ba4424ff936d1372a0ba55fc760af33","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:47.867120545Z"}]},"request_id":"83cb3f22-c908-42c2-b42b-c026d420e4af","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676628.3580637} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9ba4424ff936d1372a0ba55fc760af33","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2c169854-fbc7-4ec9-a7c6-15958499ff0e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676628.3641486} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"9ba4424ff936d1372a0ba55fc760af33","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:47.867120545Z"}]},"request_id":"462b22ba-ba5c-41bf-b580-5836db6fa24a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676628.377236} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9ba4424ff936d1372a0ba55fc760af33","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"9ba4424ff936d1372a0ba55fc760af33"} device-1 | {"level":"info","message":"PATCH /devices/c35e444d-7b77-4169-be56-8f419337658d 200 33ms","method":"PATCH","requestID":"9ba4424ff936d1372a0ba55fc760af33","responseTime":33,"status":200,"url":"/devices/c35e444d-7b77-4169-be56-8f419337658d"} gateway-1 | {"time_local":"18/Sep/2024:16:23:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c35e444d-7b77-4169-be56-8f419337658d HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.038","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"9ba4424ff936d1372a0ba55fc760af33"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyOH0.ItHTMaxGBDyX8EPQs1reZNZR4tmHwqurM6RRayyOvzw","level":"info","message":"auth send jwt","requestID":"0a6077924da27a0d8d835d1eae19ca6b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0a6077924da27a0d8d835d1eae19ca6b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"0a6077924da27a0d8d835d1eae19ca6b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1190,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:48Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1190,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.233857,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:48Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0a6077924da27a0d8d835d1eae19ca6b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676628,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyOH0.ItHTMaxGBDyX8EPQs1reZNZR4tmHwqurM6RRayyOvzw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0a6077924da27a0d8d835d1eae19ca6b","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"0a6077924da27a0d8d835d1eae19ca6b"} gateway-1 | {"time_local":"18/Sep/2024:16:23:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c35e444d-7b77-4169-be56-8f419337658d/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.024","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"0a6077924da27a0d8d835d1eae19ca6b"} device-1 | {"level":"info","message":"POST /devices/c35e444d-7b77-4169-be56-8f419337658d/websocket 200 20ms","method":"POST","requestID":"0a6077924da27a0d8d835d1eae19ca6b","responseTime":20,"status":200,"url":"/devices/c35e444d-7b77-4169-be56-8f419337658d/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6a2d98794b009953a3b8f8833489c857","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"6a2d98794b009953a3b8f8833489c857","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"6a2d98794b009953a3b8f8833489c857"} device-1 | {"level":"info","message":"OPTIONS /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d/websocket 200 1ms","method":"OPTIONS","requestID":"6a2d98794b009953a3b8f8833489c857","responseTime":1,"status":200,"url":"/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyOX0.PBtrpFry-kkVSDnCWi9zx49-_SF7TdZdDxN1vQvzjzY","level":"info","message":"auth send jwt","requestID":"1946781c35f11cc85a9c2bbb2bd10988"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"1946781c35f11cc85a9c2bbb2bd10988","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"1946781c35f11cc85a9c2bbb2bd10988"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1191,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1191,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.157435,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:49Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1946781c35f11cc85a9c2bbb2bd10988","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676629,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyOX0.PBtrpFry-kkVSDnCWi9zx49-_SF7TdZdDxN1vQvzjzY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1946781c35f11cc85a9c2bbb2bd10988","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"1946781c35f11cc85a9c2bbb2bd10988"} gateway-1 | {"time_local":"18/Sep/2024:16:23:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"1946781c35f11cc85a9c2bbb2bd10988"} device-1 | {"level":"info","message":"POST /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d/websocket 200 23ms","method":"POST","requestID":"1946781c35f11cc85a9c2bbb2bd10988","responseTime":23,"status":200,"url":"/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"34d5fe5dd2eb523ef7d32a0c0b660ce5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"34d5fe5dd2eb523ef7d32a0c0b660ce5","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"34d5fe5dd2eb523ef7d32a0c0b660ce5"} device-1 | {"level":"info","message":"OPTIONS /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d? 200 1ms","method":"OPTIONS","requestID":"34d5fe5dd2eb523ef7d32a0c0b660ce5","responseTime":1,"status":200,"url":"/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyOX0.PBtrpFry-kkVSDnCWi9zx49-_SF7TdZdDxN1vQvzjzY","level":"info","message":"auth send jwt","requestID":"4376cef48c30940f27e1094a5ac1b1ca"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"4376cef48c30940f27e1094a5ac1b1ca","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"4376cef48c30940f27e1094a5ac1b1ca"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1192,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:49Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1192,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.314166,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:49Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4376cef48c30940f27e1094a5ac1b1ca","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676629,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYyOX0.PBtrpFry-kkVSDnCWi9zx49-_SF7TdZdDxN1vQvzjzY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4376cef48c30940f27e1094a5ac1b1ca","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:47.821100034Z"}]},"request_id":"93afc388-dbc6-4a0f-8f99-0cb96927b8b3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676629.9867969} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4376cef48c30940f27e1094a5ac1b1ca","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cdb79ca9-712e-4ca7-a480-75f1295b2b4a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676629.9936404} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"4376cef48c30940f27e1094a5ac1b1ca","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:47.821100034Z"}]},"request_id":"6b1cba4c-3963-4652-9c2e-8cfd59bf60e0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.0055003} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4376cef48c30940f27e1094a5ac1b1ca","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"4376cef48c30940f27e1094a5ac1b1ca"} gateway-1 | {"time_local":"18/Sep/2024:16:23:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.039","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4376cef48c30940f27e1094a5ac1b1ca"} device-1 | {"level":"info","message":"PATCH /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d? 200 35ms","method":"PATCH","requestID":"4376cef48c30940f27e1094a5ac1b1ca","responseTime":35,"status":200,"url":"/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMH0.qznc5bCPibKODXzfZP2m3lDj46Uzuh9jWP2aF3Ftrgg","level":"info","message":"auth send jwt","requestID":"7f0cc3a64ec61641ffb1b73283f45781"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7f0cc3a64ec61641ffb1b73283f45781","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7f0cc3a64ec61641ffb1b73283f45781"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1193,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1193,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.666785,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7f0cc3a64ec61641ffb1b73283f45781","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676630,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMH0.qznc5bCPibKODXzfZP2m3lDj46Uzuh9jWP2aF3Ftrgg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7f0cc3a64ec61641ffb1b73283f45781","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:47.821100034Z"}]},"request_id":"adc165d5-24a3-47e8-9adb-3d5ad001aa5b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.0288825} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7f0cc3a64ec61641ffb1b73283f45781","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7f0cc3a64ec61641ffb1b73283f45781"} gateway-1 | {"time_local":"18/Sep/2024:16:23:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7f0cc3a64ec61641ffb1b73283f45781"} device-1 | {"level":"info","message":"GET /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d? 200 11ms","method":"GET","requestID":"7f0cc3a64ec61641ffb1b73283f45781","responseTime":11,"status":200,"url":"/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMH0.qznc5bCPibKODXzfZP2m3lDj46Uzuh9jWP2aF3Ftrgg","level":"info","message":"auth send jwt","requestID":"8d44b42d2dcd71fc644b9f863132ea67"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8d44b42d2dcd71fc644b9f863132ea67","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8d44b42d2dcd71fc644b9f863132ea67"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1194,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1194,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.972807,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8d44b42d2dcd71fc644b9f863132ea67","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676630,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMH0.qznc5bCPibKODXzfZP2m3lDj46Uzuh9jWP2aF3Ftrgg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8d44b42d2dcd71fc644b9f863132ea67","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:47.867120545Z"}]},"request_id":"af3b5420-b987-4229-baee-d68009eb0bc9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.0499535} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8d44b42d2dcd71fc644b9f863132ea67","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8d44b42d2dcd71fc644b9f863132ea67"} gateway-1 | {"time_local":"18/Sep/2024:16:23:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c35e444d-7b77-4169-be56-8f419337658d? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8d44b42d2dcd71fc644b9f863132ea67"} device-1 | {"level":"info","message":"GET /devices/c35e444d-7b77-4169-be56-8f419337658d? 200 16ms","method":"GET","requestID":"8d44b42d2dcd71fc644b9f863132ea67","responseTime":16,"status":200,"url":"/devices/c35e444d-7b77-4169-be56-8f419337658d?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMH0.qznc5bCPibKODXzfZP2m3lDj46Uzuh9jWP2aF3Ftrgg","level":"info","message":"auth send jwt","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0c9ab0369cccd5f7da77b72103d2ced2","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1195,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1195,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.171383,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0c9ab0369cccd5f7da77b72103d2ced2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676630,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMH0.qznc5bCPibKODXzfZP2m3lDj46Uzuh9jWP2aF3Ftrgg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0c9ab0369cccd5f7da77b72103d2ced2","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"},"level":"info","message":"Attempting to run experiment","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"},"level":"info","message":"Attempting to book experiment","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"},"level":"info","message":"Successfully booked experiment","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"634ac6e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"634aedf0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1196,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1196,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.592391,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1197,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"634ac6e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676630,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMH0.qznc5bCPibKODXzfZP2m3lDj46Uzuh9jWP2aF3Ftrgg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"634ac6e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1197,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.583598,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"634aedf0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676630,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMH0.qznc5bCPibKODXzfZP2m3lDj46Uzuh9jWP2aF3Ftrgg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"634aedf0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:47.821100034Z"}]},"request_id":"3874c72c-f13f-41c0-8ef5-46f9f453f713","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.1009073} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"634ac6e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:47.867120545Z"}]},"request_id":"d129efa7-8d7e-4ff7-92f5-458678b98ca1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.1014035} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"634aedf0-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"634ac6e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d? 200 13ms","method":"GET","requestID":"634ac6e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"634aedf0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/c35e444d-7b77-4169-be56-8f419337658d? 200 13ms","method":"GET","requestID":"634aedf0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/c35e444d-7b77-4169-be56-8f419337658d?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"},"level":"info","message":"Setting up experiment","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"},"level":"info","message":"Successfully locked booking for experiment","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"},"level":"info","message":"Attempting to update booking for experiment","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"},"level":"info","message":"Successfully updated booking for experiment","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"},"level":"info","message":"Successfully set up experiment","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6354b1f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"63550010-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"63552720-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1198,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1198,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.65893,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6354b1f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676630,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMH0.qznc5bCPibKODXzfZP2m3lDj46Uzuh9jWP2aF3Ftrgg"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"},"level":"info","message":"Successfully running experiment","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6354b1f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1199,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1199,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.607085,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"63550010-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676630,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMH0.qznc5bCPibKODXzfZP2m3lDj46Uzuh9jWP2aF3Ftrgg"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"63550010-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1200,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:47.821100034Z"}]},"request_id":"f18830c3-de5a-401b-92bb-35000d92678a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.1684697} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dfe4368e-d9ae-4060-aaf4-3e68f60b1262","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.1685438} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"6354b1f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1200,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.008293,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:47.867120545Z"}]},"request_id":"90f705cb-993a-4c71-bd21-e8c48a793063","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.1693223} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"63552720-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"63552720-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"63550010-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6354b1f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d? 200 17ms","method":"GET","requestID":"6354b1f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"63552720-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d/signaling 200 16ms","method":"POST","requestID":"63552720-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"63550010-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/c35e444d-7b77-4169-be56-8f419337658d? 200 18ms","method":"GET","requestID":"63550010-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/c35e444d-7b77-4169-be56-8f419337658d?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6357bf30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"63580d50-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1201,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1201,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.346511,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1202,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"96a16e57-d324-460a-8fa6-46e1a5933e1d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.18401} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd0de9f2d-26b5-487d-8c05-733425c7fbf8#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd0de9f2d-26b5-487d-8c05-733425c7fbf8","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"efd029e4-5e43-493d-b5a5-2949e3cd2926","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.184021} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a6696dc1-e2f3-4797-934a-cb7b7501d1aa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.1844795} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6357bf30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6357bf30-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"81cfc187-6027-43b8-87b5-b49c261daace","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.1867638} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"0c9ab0369cccd5f7da77b72103d2ced2","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1202,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.300356,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"63580d50-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"63580d50-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6357bf30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c35e444d-7b77-4169-be56-8f419337658d/signaling 200 11ms","method":"POST","requestID":"6357bf30-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/c35e444d-7b77-4169-be56-8f419337658d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"63580d50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d/signaling 200 11ms","method":"POST","requestID":"63580d50-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"635a5740-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"level":"info","message":"POST /experiments? 201 137ms","method":"POST","requestID":"0c9ab0369cccd5f7da77b72103d2ced2","responseTime":137,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1216","request_time":"0.142","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1203,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"707f7b45-0f86-4273-a47d-bb88a9f976bd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.2018714} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1203,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.823958,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:50Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMH0.qznc5bCPibKODXzfZP2m3lDj46Uzuh9jWP2aF3Ftrgg","level":"info","message":"auth send jwt","requestID":"93837e50debc25752e034d0b55b57a41"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"635a5740-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"635a5740-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"93837e50debc25752e034d0b55b57a41","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"93837e50debc25752e034d0b55b57a41"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"635a5740-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c35e444d-7b77-4169-be56-8f419337658d/signaling 200 11ms","method":"POST","requestID":"635a5740-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/c35e444d-7b77-4169-be56-8f419337658d/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1204,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:50Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1204,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.003629,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"93837e50debc25752e034d0b55b57a41","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676630,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMH0.qznc5bCPibKODXzfZP2m3lDj46Uzuh9jWP2aF3Ftrgg"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"635c5310-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"93837e50debc25752e034d0b55b57a41","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"635c7a20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1205,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1205,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.967,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1206,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"635c5310-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676630,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMH0.qznc5bCPibKODXzfZP2m3lDj46Uzuh9jWP2aF3Ftrgg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"635c5310-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1206,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.765498,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"635c7a20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676630,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMH0.qznc5bCPibKODXzfZP2m3lDj46Uzuh9jWP2aF3Ftrgg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"635c7a20-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:47.821100034Z"}]},"request_id":"172a47a5-9748-4f0d-8fb6-8428a1dcf373","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.2140915} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"93837e50debc25752e034d0b55b57a41","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:47.821100034Z"}]},"request_id":"89250508-d944-4de2-b320-e25a3f2b477f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.217744} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"635c5310-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:47.867120545Z"}]},"request_id":"3cad4634-f702-40c9-a84c-e11d79c28fba","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.2188318} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"635c7a20-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"93837e50debc25752e034d0b55b57a41"} gateway-1 | {"time_local":"18/Sep/2024:16:23:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"93837e50debc25752e034d0b55b57a41"} device-1 | {"level":"info","message":"GET /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d? 200 16ms","method":"GET","requestID":"93837e50debc25752e034d0b55b57a41","responseTime":16,"status":200,"url":"/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"635c5310-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d? 200 15ms","method":"GET","requestID":"635c5310-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMH0.qznc5bCPibKODXzfZP2m3lDj46Uzuh9jWP2aF3Ftrgg","level":"info","message":"auth send jwt","requestID":"ffb25ff9077ffbff4f4113997eb70ed9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"635c7a20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/c35e444d-7b77-4169-be56-8f419337658d? 200 15ms","method":"GET","requestID":"635c7a20-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/c35e444d-7b77-4169-be56-8f419337658d?"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ffb25ff9077ffbff4f4113997eb70ed9","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"},"level":"info","message":"Building connection plan","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"3f65c5f5-5d29-428c-8516-aa610b8b2d0e"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"e74a7a6b-769e-4d04-9273-0861f4eed089"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"084f42e3-f88f-418f-aa9b-44ed86e9930c"}]},"level":"info","message":"Built pairwise service configurations","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ffb25ff9077ffbff4f4113997eb70ed9"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"635f1230-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1207,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1207,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.953148,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Received request.","req_id":1208,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ffb25ff9077ffbff4f4113997eb70ed9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676630,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMH0.qznc5bCPibKODXzfZP2m3lDj46Uzuh9jWP2aF3Ftrgg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ffb25ff9077ffbff4f4113997eb70ed9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37124","level":"info","msg":"Sent response.","req_id":1208,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.54406,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"635f1230-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676630,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMH0.qznc5bCPibKODXzfZP2m3lDj46Uzuh9jWP2aF3Ftrgg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"635f1230-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:47.867120545Z"}]},"request_id":"e6155565-064f-436e-a03a-442fd9ab5c1a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.23341} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ffb25ff9077ffbff4f4113997eb70ed9","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ffb25ff9077ffbff4f4113997eb70ed9"} device-1 | {"level":"info","message":"GET /devices/c35e444d-7b77-4169-be56-8f419337658d? 200 11ms","method":"GET","requestID":"ffb25ff9077ffbff4f4113997eb70ed9","responseTime":11,"status":200,"url":"/devices/c35e444d-7b77-4169-be56-8f419337658d?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c35e444d-7b77-4169-be56-8f419337658d? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ffb25ff9077ffbff4f4113997eb70ed9"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"d9111a33-ec65-4af0-974a-695bd9445cca","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.23951} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9393fb93-6ae6-4a3b-b652-21c3b1c05d20","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.2405} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"635f1230-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"635f1230-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"635f1230-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7'","requestID":"635f1230-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7'","requestID":"635f1230-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"635f1230-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 25ms","method":"POST","requestID":"635f1230-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"635f1230-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"0c9ab0369cccd5f7da77b72103d2ced2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"63674f90-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1209,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a436699a-cb55-4f01-8aa7-9657fc4e8588","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.2860572} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1209,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.690922,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"63674f90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"63674f90-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"63674f90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d/signaling 200 8ms","method":"POST","requestID":"63674f90-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6368d630-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1210,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"74680052-ebe0-48e2-b043-fce085c7f7e8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676630.2955096} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1210,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.37261,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6368d630-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6368d630-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6368d630-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c35e444d-7b77-4169-be56-8f419337658d/signaling 200 7ms","method":"POST","requestID":"6368d630-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/devices/c35e444d-7b77-4169-be56-8f419337658d/signaling"} device-1 | {"device":"73fa37ba-e3f8-470c-9292-2dc91882ed7d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"73fa37ba-e3f8-470c-9292-2dc91882ed7d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 7970906197276262270 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:VKqw\r\na=ice-pwd:j4jkfWiytTLw5JIgjWpqhXPP\r\na=ice-options:trickle\r\na=fingerprint:sha-256 57:3D:C0:0E:1A:EE:B1:90:27:BF:03:E9:92:7A:4F:2D:C3:E9:7D:58:CD:26:8A:36:EC:96:10:52:22:AE:DC:90\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"73fa37ba-e3f8-470c-9292-2dc91882ed7d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"device":"73fa37ba-e3f8-470c-9292-2dc91882ed7d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"c35e444d-7b77-4169-be56-8f419337658d","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"61d1a80e-e96a-41c8-9c77-d63a549650b7","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"c35e444d-7b77-4169-be56-8f419337658d","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c35e444d-7b77-4169-be56-8f419337658d","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c35e444d-7b77-4169-be56-8f419337658d","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c35e444d-7b77-4169-be56-8f419337658d","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"61d1a80e-e96a-41c8-9c77-d63a549650b7","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"59a9925c3ac2522b64efd9a9fc411c9d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"59a9925c3ac2522b64efd9a9fc411c9d","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7"}}},"level":"info","message":"received a callback","requestID":"59a9925c3ac2522b64efd9a9fc411c9d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 7ms","method":"POST","requestID":"59a9925c3ac2522b64efd9a9fc411c9d","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"59a9925c3ac2522b64efd9a9fc411c9d"} device-1 | {"content":{"candidate":"candidate:3262800625 1 udp 2113937151 f0a1bdd9-4aa9-4dfb-847a-9544bcc6105f.local 39382 typ host generation 0 ufrag VKqw network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"73fa37ba-e3f8-470c-9292-2dc91882ed7d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1180108942 1 udp 1677729535 141.24.211.56 39382 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag VKqw network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"73fa37ba-e3f8-470c-9292-2dc91882ed7d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:358266629 1 udp 33562623 141.24.210.113 62620 typ relay raddr 141.24.211.56 rport 39382 generation 0 ufrag VKqw network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"73fa37ba-e3f8-470c-9292-2dc91882ed7d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"73fa37ba-e3f8-470c-9292-2dc91882ed7d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d'"} device-1 | {"data":{"peerconnection":"61d1a80e-e96a-41c8-9c77-d63a549650b7","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"c35e444d-7b77-4169-be56-8f419337658d","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"73fa37ba-e3f8-470c-9292-2dc91882ed7d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"c35e444d-7b77-4169-be56-8f419337658d","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"61d1a80e-e96a-41c8-9c77-d63a549650b7","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"61d1a80e-e96a-41c8-9c77-d63a549650b7","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"196fe822662eaf7815fbc984936c7266","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"196fe822662eaf7815fbc984936c7266","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7"}}},"level":"info","message":"received a callback","requestID":"196fe822662eaf7815fbc984936c7266"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"64a83400-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1211,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F61d1a80e-e96a-41c8-9c77-d63a549650b7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eb0b8830-de1c-404d-96d1-912d7fa5b075","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.3887465} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1211,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.551354,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"64a83400-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"64a83400-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"64a83400-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7 200 8ms","method":"GET","requestID":"64a83400-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 26ms","method":"POST","requestID":"196fe822662eaf7815fbc984936c7266","responseTime":26,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch","requestID":"196fe822662eaf7815fbc984936c7266"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"64ab8f60-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1212,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b5a83680-6d62-48c9-a454-9a9cda5a9fa3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.4106486} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1212,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.959537,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"64ab8f60-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"64ab8f60-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"64ab8f60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c35e444d-7b77-4169-be56-8f419337658d/signaling 200 8ms","method":"POST","requestID":"64ab8f60-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/c35e444d-7b77-4169-be56-8f419337658d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"64ad3d10-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1213,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ea1f92bb-501e-4f77-8922-326ec9ae14e0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.4211097} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1213,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.289814,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"64ad3d10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"64ad3d10-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"64ad3d10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d/signaling 200 8ms","method":"POST","requestID":"64ad3d10-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMn0.CPFwdDtOIQ7O6-fXnKr5xmtX6eK8JEl1TLi1MN_oCVM","level":"info","message":"auth send jwt","requestID":"bdf7c191428ca5185b728e20c4ee4107"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"bdf7c191428ca5185b728e20c4ee4107","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8","requestID":"bdf7c191428ca5185b728e20c4ee4107"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1214,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1214,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.185215,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"bdf7c191428ca5185b728e20c4ee4107","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676632,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMn0.CPFwdDtOIQ7O6-fXnKr5xmtX6eK8JEl1TLi1MN_oCVM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"bdf7c191428ca5185b728e20c4ee4107","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8","requestID":"bdf7c191428ca5185b728e20c4ee4107"} experiment-1 | {"level":"info","message":"GET /experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8 200 13ms","method":"GET","requestID":"bdf7c191428ca5185b728e20c4ee4107","responseTime":13,"status":200,"url":"/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"} gateway-1 | {"time_local":"18/Sep/2024:16:23:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8 HTTP/1.1","status": "200","body_bytes_sent":"1289","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bdf7c191428ca5185b728e20c4ee4107"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMn0.CPFwdDtOIQ7O6-fXnKr5xmtX6eK8JEl1TLi1MN_oCVM","level":"info","message":"auth send jwt","requestID":"d3f4c2e1fa18b0a0d0c32d3a9c9dcd9f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d3f4c2e1fa18b0a0d0c32d3a9c9dcd9f","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8","requestID":"d3f4c2e1fa18b0a0d0c32d3a9c9dcd9f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1215,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1215,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.178065,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d3f4c2e1fa18b0a0d0c32d3a9c9dcd9f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676632,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMn0.CPFwdDtOIQ7O6-fXnKr5xmtX6eK8JEl1TLi1MN_oCVM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d3f4c2e1fa18b0a0d0c32d3a9c9dcd9f","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"},"level":"info","message":"Attempting to finish experiment","requestID":"d3f4c2e1fa18b0a0d0c32d3a9c9dcd9f"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"64bc0a20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1216,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1216,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.32484,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"64bc0a20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676632,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMn0.CPFwdDtOIQ7O6-fXnKr5xmtX6eK8JEl1TLi1MN_oCVM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"64bc0a20-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7","device":"73fa37ba-e3f8-470c-9292-2dc91882ed7d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"c35e444d-7b77-4169-be56-8f419337658d","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c35e444d-7b77-4169-be56-8f419337658d","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c35e444d-7b77-4169-be56-8f419337658d","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"61d1a80e-e96a-41c8-9c77-d63a549650b7","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F61d1a80e-e96a-41c8-9c77-d63a549650b7': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F61d1a80e-e96a-41c8-9c77-d63a549650b7","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"67096168-651b-4863-924f-885de969550e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.5369937} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"206e28b4-8015-4434-94d6-59fa93f09f41","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.5373409} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7f15dcdce30215eff7e8456b40bee39e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"7f15dcdce30215eff7e8456b40bee39e","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1daa16a4e65be9559227d6fbfc336ddd","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"64bc0a20-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"1daa16a4e65be9559227d6fbfc336ddd","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7"}}},"level":"info","message":"received a callback","requestID":"7f15dcdce30215eff7e8456b40bee39e"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7"}}},"level":"info","message":"received a callback","requestID":"1daa16a4e65be9559227d6fbfc336ddd"} device-1 | {"data":{"peerconnection":"61d1a80e-e96a-41c8-9c77-d63a549650b7","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"64bc0a20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7 204 45ms","method":"DELETE","requestID":"64bc0a20-75da-11ef-ba7c-09eaa4331ae1","responseTime":45,"status":204,"url":"/peerconnections/61d1a80e-e96a-41c8-9c77-d63a549650b7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"},"level":"info","message":"Successfully finished experiment","requestID":"d3f4c2e1fa18b0a0d0c32d3a9c9dcd9f"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"64c64350-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1217,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc35e444d-7b77-4169-be56-8f419337658d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7207df54-3d1c-45b3-813c-36b3bff52b0e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.5868504} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1217,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.26392,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"64c64350-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"64c64350-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"64c64350-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c35e444d-7b77-4169-be56-8f419337658d/signaling 200 11ms","method":"POST","requestID":"64c64350-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/c35e444d-7b77-4169-be56-8f419337658d/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd0de9f2d-26b5-487d-8c05-733425c7fbf8': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd0de9f2d-26b5-487d-8c05-733425c7fbf8","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"c75a14a1-a79a-4942-b936-8675f2d87a0c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.5942886} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"64c86630-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"32b1e58e-9762-48fe-81cb-1ac8e8ad9af8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.5947595} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"d3f4c2e1fa18b0a0d0c32d3a9c9dcd9f","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1218,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73fa37ba-e3f8-470c-9292-2dc91882ed7d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a0537cbb-a4d0-4fff-8896-25d46ff868f8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.6017714} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1218,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.445225,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"64c86630-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"64c86630-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"64c86630-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d/signaling 200 17ms","method":"POST","requestID":"64c86630-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8","requestID":"d3f4c2e1fa18b0a0d0c32d3a9c9dcd9f"} gateway-1 | {"time_local":"18/Sep/2024:16:23:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.173","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d3f4c2e1fa18b0a0d0c32d3a9c9dcd9f"} experiment-1 | {"level":"info","message":"DELETE /experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8 204 169ms","method":"DELETE","requestID":"d3f4c2e1fa18b0a0d0c32d3a9c9dcd9f","responseTime":169,"status":204,"url":"/experiments/d0de9f2d-26b5-487d-8c05-733425c7fbf8"} gateway-1 | {"time_local":"18/Sep/2024:16:23:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3623","request_time":"4.262","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"e6914696e5fa51e3dbf3129704cd6168"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 131ms","method":"POST","requestID":"7f15dcdce30215eff7e8456b40bee39e","responseTime":131,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.135","http_referrer":"","http_user_agent":"node-fetch","requestID":"7f15dcdce30215eff7e8456b40bee39e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 131ms","method":"POST","requestID":"1daa16a4e65be9559227d6fbfc336ddd","responseTime":131,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.136","http_referrer":"","http_user_agent":"node-fetch","requestID":"1daa16a4e65be9559227d6fbfc336ddd"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMn0.CPFwdDtOIQ7O6-fXnKr5xmtX6eK8JEl1TLi1MN_oCVM","level":"info","message":"auth send jwt","requestID":"01543a56849eb25b7732eb01fe4644c4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"01543a56849eb25b7732eb01fe4644c4","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"01543a56849eb25b7732eb01fe4644c4"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1219,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1219,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.829883,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"01543a56849eb25b7732eb01fe4644c4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676632,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMn0.CPFwdDtOIQ7O6-fXnKr5xmtX6eK8JEl1TLi1MN_oCVM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"01543a56849eb25b7732eb01fe4644c4","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/c35e444d-7b77-4169-be56-8f419337658d' closed"} gateway-1 | {"time_local":"18/Sep/2024:16:23:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3089","request_time":"2.746","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"1d0afd8089514df8d95952d69e551f96"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"cd0acc3a-7a42-4f2f-9243-2c0dc9c3dfd2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.6949122} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"01543a56849eb25b7732eb01fe4644c4","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/73fa37ba-e3f8-470c-9292-2dc91882ed7d' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ac831b58-dacb-4e70-be9c-22abcc580b40","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.6994507} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"01543a56849eb25b7732eb01fe4644c4","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"4d4ebc49-feb9-4556-b37a-23712d3429b7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.7155852} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4e8a50d9-d777-431d-af1d-c6a4d3d99047","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.7156997} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"01543a56849eb25b7732eb01fe4644c4","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:52.715552260Z"}]},"request_id":"511ba9d0-8c84-402e-b9a8-efa122d80238","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.720117} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"01543a56849eb25b7732eb01fe4644c4","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"01543a56849eb25b7732eb01fe4644c4"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"01543a56849eb25b7732eb01fe4644c4","responseTime":48,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"01543a56849eb25b7732eb01fe4644c4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMn0.CPFwdDtOIQ7O6-fXnKr5xmtX6eK8JEl1TLi1MN_oCVM","level":"info","message":"auth send jwt","requestID":"7433a6cdea0708823f372b295050aa26"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"7433a6cdea0708823f372b295050aa26","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"7433a6cdea0708823f372b295050aa26"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1220,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1220,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.704331,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:52Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7433a6cdea0708823f372b295050aa26","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676632,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzMn0.CPFwdDtOIQ7O6-fXnKr5xmtX6eK8JEl1TLi1MN_oCVM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7433a6cdea0708823f372b295050aa26","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"4d86b541-228c-4358-bce3-c007dbb338f7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.7441337} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7433a6cdea0708823f372b295050aa26","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b5652175-87fd-4c3b-a455-de22ff4612dc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.748599} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"7433a6cdea0708823f372b295050aa26","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"3f058735-b8d5-4285-980c-6dcaedd106ca","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.7591774} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6e5b32e2-79dd-4f20-b43d-cf9402d9ac5a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.7592828} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"7433a6cdea0708823f372b295050aa26","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:52.759146661Z"}]},"request_id":"ca5bd948-47a5-4078-a1df-ba0f657783b2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676632.7631996} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7433a6cdea0708823f372b295050aa26","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"7433a6cdea0708823f372b295050aa26"} device-1 | {"level":"info","message":"POST /devices? 201 38ms","method":"POST","requestID":"7433a6cdea0708823f372b295050aa26","responseTime":38,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.042","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7433a6cdea0708823f372b295050aa26"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzM30.T6jn-n9Gmh4Q6t6KXKyupV1C85Qlck9dqHioGxpId2c","level":"info","message":"auth send jwt","requestID":"7ea61dd77b3f972aa31f02f4ddb861d0"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7ea61dd77b3f972aa31f02f4ddb861d0","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"7ea61dd77b3f972aa31f02f4ddb861d0"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1221,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:53Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1221,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.075072,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:53Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7ea61dd77b3f972aa31f02f4ddb861d0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676633,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzM30.T6jn-n9Gmh4Q6t6KXKyupV1C85Qlck9dqHioGxpId2c"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7ea61dd77b3f972aa31f02f4ddb861d0","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:52.759146661Z"}]},"request_id":"19fdbd6f-b9c1-45eb-9150-4bc8b2da42b2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676633.2563205} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7ea61dd77b3f972aa31f02f4ddb861d0","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f93e238d-fdce-4a65-b2c8-029e571e4b1d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676633.2624257} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"7ea61dd77b3f972aa31f02f4ddb861d0","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:52.759146661Z"}]},"request_id":"1759c003-991f-43ec-a246-604879279f14","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676633.2751374} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7ea61dd77b3f972aa31f02f4ddb861d0","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"7ea61dd77b3f972aa31f02f4ddb861d0"} device-1 | {"level":"info","message":"PATCH /devices/81d484ea-91f6-48c8-8661-75172436d576 200 35ms","method":"PATCH","requestID":"7ea61dd77b3f972aa31f02f4ddb861d0","responseTime":35,"status":200,"url":"/devices/81d484ea-91f6-48c8-8661-75172436d576"} gateway-1 | {"time_local":"18/Sep/2024:16:23:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/81d484ea-91f6-48c8-8661-75172436d576 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.042","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"7ea61dd77b3f972aa31f02f4ddb861d0"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzM30.T6jn-n9Gmh4Q6t6KXKyupV1C85Qlck9dqHioGxpId2c","level":"info","message":"auth send jwt","requestID":"e68be050840bbca44aecbe7248da2413"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e68be050840bbca44aecbe7248da2413","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"e68be050840bbca44aecbe7248da2413"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1222,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:53Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1222,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.260463,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:53Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e68be050840bbca44aecbe7248da2413","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676633,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzM30.T6jn-n9Gmh4Q6t6KXKyupV1C85Qlck9dqHioGxpId2c"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e68be050840bbca44aecbe7248da2413","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"e68be050840bbca44aecbe7248da2413"} device-1 | {"level":"info","message":"POST /devices/81d484ea-91f6-48c8-8661-75172436d576/websocket 200 21ms","method":"POST","requestID":"e68be050840bbca44aecbe7248da2413","responseTime":21,"status":200,"url":"/devices/81d484ea-91f6-48c8-8661-75172436d576/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:23:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/81d484ea-91f6-48c8-8661-75172436d576/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"e68be050840bbca44aecbe7248da2413"} device-1 | {"level":"info","message":"device 'http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"93db6dc2b2e5cc1f0cb51580be5d71fc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"93db6dc2b2e5cc1f0cb51580be5d71fc","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"93db6dc2b2e5cc1f0cb51580be5d71fc"} device-1 | {"level":"info","message":"OPTIONS /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e/websocket 200 1ms","method":"OPTIONS","requestID":"93db6dc2b2e5cc1f0cb51580be5d71fc","responseTime":1,"status":200,"url":"/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNH0.UdA8zG1yWFGsrWGdeC3jrYqcw1p00WLNYHkVh0qzVQU","level":"info","message":"auth send jwt","requestID":"644e94b481cbacfa0397c24a55fc0720"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"644e94b481cbacfa0397c24a55fc0720","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"644e94b481cbacfa0397c24a55fc0720"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1223,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:54Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1223,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.243289,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:54Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"644e94b481cbacfa0397c24a55fc0720","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676634,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNH0.UdA8zG1yWFGsrWGdeC3jrYqcw1p00WLNYHkVh0qzVQU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"644e94b481cbacfa0397c24a55fc0720","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"644e94b481cbacfa0397c24a55fc0720"} gateway-1 | {"time_local":"18/Sep/2024:16:23:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"644e94b481cbacfa0397c24a55fc0720"} device-1 | {"level":"info","message":"POST /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e/websocket 200 20ms","method":"POST","requestID":"644e94b481cbacfa0397c24a55fc0720","responseTime":20,"status":200,"url":"/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f94fcd0bdc3cbbe01f8f6c69aa155053","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f94fcd0bdc3cbbe01f8f6c69aa155053","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f94fcd0bdc3cbbe01f8f6c69aa155053"} device-1 | {"level":"info","message":"OPTIONS /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e? 200 1ms","method":"OPTIONS","requestID":"f94fcd0bdc3cbbe01f8f6c69aa155053","responseTime":1,"status":200,"url":"/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNH0.UdA8zG1yWFGsrWGdeC3jrYqcw1p00WLNYHkVh0qzVQU","level":"info","message":"auth send jwt","requestID":"f97ccf4595c5cec68929c626af5a584e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f97ccf4595c5cec68929c626af5a584e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"f97ccf4595c5cec68929c626af5a584e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1224,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:54Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1224,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.201818,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:54Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f97ccf4595c5cec68929c626af5a584e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676634,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNH0.UdA8zG1yWFGsrWGdeC3jrYqcw1p00WLNYHkVh0qzVQU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f97ccf4595c5cec68929c626af5a584e","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:52.715552260Z"}]},"request_id":"dc41196d-943d-4b13-9592-3807a87af293","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676634.8693058} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f97ccf4595c5cec68929c626af5a584e","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a1f96687-0adb-4dd8-bfd4-eb85a3a948bc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676634.8768518} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"f97ccf4595c5cec68929c626af5a584e","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:52.715552260Z"}]},"request_id":"4263f94f-d1da-4b80-a648-8f2852eafb44","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676634.890038} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f97ccf4595c5cec68929c626af5a584e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"f97ccf4595c5cec68929c626af5a584e"} device-1 | {"level":"info","message":"PATCH /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e? 200 37ms","method":"PATCH","requestID":"f97ccf4595c5cec68929c626af5a584e","responseTime":37,"status":200,"url":"/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.042","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f97ccf4595c5cec68929c626af5a584e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNH0.UdA8zG1yWFGsrWGdeC3jrYqcw1p00WLNYHkVh0qzVQU","level":"info","message":"auth send jwt","requestID":"b2e4579ed914a752763d5dd58cc6bce4"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b2e4579ed914a752763d5dd58cc6bce4","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b2e4579ed914a752763d5dd58cc6bce4"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1225,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:54Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1225,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.132207,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b2e4579ed914a752763d5dd58cc6bce4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676634,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNH0.UdA8zG1yWFGsrWGdeC3jrYqcw1p00WLNYHkVh0qzVQU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b2e4579ed914a752763d5dd58cc6bce4","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:52.715552260Z"}]},"request_id":"71b57c6b-df77-4b87-95b6-6333310b6d85","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676634.9164429} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b2e4579ed914a752763d5dd58cc6bce4","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b2e4579ed914a752763d5dd58cc6bce4"} device-1 | {"level":"info","message":"GET /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e? 200 14ms","method":"GET","requestID":"b2e4579ed914a752763d5dd58cc6bce4","responseTime":14,"status":200,"url":"/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b2e4579ed914a752763d5dd58cc6bce4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNH0.UdA8zG1yWFGsrWGdeC3jrYqcw1p00WLNYHkVh0qzVQU","level":"info","message":"auth send jwt","requestID":"5e2b4fcfcca2c3285aeb06e0668f59b4"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"5e2b4fcfcca2c3285aeb06e0668f59b4","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5e2b4fcfcca2c3285aeb06e0668f59b4"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1226,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:54Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1226,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.170304,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e2b4fcfcca2c3285aeb06e0668f59b4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676634,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNH0.UdA8zG1yWFGsrWGdeC3jrYqcw1p00WLNYHkVh0qzVQU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5e2b4fcfcca2c3285aeb06e0668f59b4","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:52.759146661Z"}]},"request_id":"62ee9634-ace9-4879-a1c1-e5d3a16b0688","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676634.9337983} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5e2b4fcfcca2c3285aeb06e0668f59b4","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5e2b4fcfcca2c3285aeb06e0668f59b4"} device-1 | {"level":"info","message":"GET /devices/81d484ea-91f6-48c8-8661-75172436d576? 200 12ms","method":"GET","requestID":"5e2b4fcfcca2c3285aeb06e0668f59b4","responseTime":12,"status":200,"url":"/devices/81d484ea-91f6-48c8-8661-75172436d576?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/81d484ea-91f6-48c8-8661-75172436d576? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5e2b4fcfcca2c3285aeb06e0668f59b4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNH0.UdA8zG1yWFGsrWGdeC3jrYqcw1p00WLNYHkVh0qzVQU","level":"info","message":"auth send jwt","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1970f7b75c6f06411cfb5d487e8bde9a","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1227,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:54Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1227,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.122886,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:54Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1970f7b75c6f06411cfb5d487e8bde9a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676634,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNH0.UdA8zG1yWFGsrWGdeC3jrYqcw1p00WLNYHkVh0qzVQU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1970f7b75c6f06411cfb5d487e8bde9a","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"},"level":"info","message":"Attempting to run experiment","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"},"level":"info","message":"Attempting to book experiment","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"},"level":"info","message":"Successfully booked experiment","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"66342b30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"66345240-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1228,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:54Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1228,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.455761,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:54Z"} authorization-1 | {"client_addr":"127.0.0.1:52018","level":"info","msg":"Received request.","req_id":1229,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"66342b30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676634,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNH0.UdA8zG1yWFGsrWGdeC3jrYqcw1p00WLNYHkVh0qzVQU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"66342b30-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52018","level":"info","msg":"Sent response.","req_id":1229,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.629872,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"66345240-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676634,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNH0.UdA8zG1yWFGsrWGdeC3jrYqcw1p00WLNYHkVh0qzVQU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"66345240-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:52.715552260Z"}]},"request_id":"5ef81cb3-6acc-4a4b-bd9b-b3380346014f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676634.9871652} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"66342b30-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:52.759146661Z"}]},"request_id":"c00466da-b5d6-4263-9a9e-381c2216cca2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676634.9876318} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"66345240-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"66342b30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e? 200 13ms","method":"GET","requestID":"66342b30-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"66345240-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/81d484ea-91f6-48c8-8661-75172436d576? 200 12ms","method":"GET","requestID":"66345240-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/81d484ea-91f6-48c8-8661-75172436d576?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"},"level":"info","message":"Setting up experiment","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"},"level":"info","message":"Successfully locked booking for experiment","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"},"level":"info","message":"Attempting to update booking for experiment","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"},"level":"info","message":"Successfully updated booking for experiment","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"},"level":"info","message":"Successfully set up experiment","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"663e8b70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"663eb280-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"663f00a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1230,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1230,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.988614,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"client_addr":"127.0.0.1:52018","level":"info","msg":"Received request.","req_id":1231,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:55Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"},"level":"info","message":"Successfully running experiment","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"663e8b70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676634,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNH0.UdA8zG1yWFGsrWGdeC3jrYqcw1p00WLNYHkVh0qzVQU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"663e8b70-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52018","level":"info","msg":"Sent response.","req_id":1231,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.214697,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"663eb280-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676634,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNH0.UdA8zG1yWFGsrWGdeC3jrYqcw1p00WLNYHkVh0qzVQU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"663eb280-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1232,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c0e31250-7bef-43ee-94ac-db869132d667","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676635.056907} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1232,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.158576,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"663f00a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"663f00a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:52.759146661Z"}]},"request_id":"edab6baa-a458-4906-bfad-1449a6c13e77","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676635.061168} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"663f00a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"663eb280-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:52.715552260Z"}]},"request_id":"311ba8f9-e857-433e-bd43-90d5768e4139","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676635.0643268} device-1 | {"level":"info","message":"POST /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e/signaling 200 15ms","method":"POST","requestID":"663f00a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"663e8b70-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"66420de0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd87de433-69fd-4f58-8e3e-be30c18acae4#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd87de433-69fd-4f58-8e3e-be30c18acae4","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"f9885ec2-195b-4cb2-b545-d7f6ae847395","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676635.0725136} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e2f5b137-27c5-4ea9-8de7-075f2cbeee3d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676635.0729296} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"663eb280-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/81d484ea-91f6-48c8-8661-75172436d576? 200 26ms","method":"GET","requestID":"663eb280-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":200,"url":"/devices/81d484ea-91f6-48c8-8661-75172436d576?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1233,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:55Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"663e8b70-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"1970f7b75c6f06411cfb5d487e8bde9a","responseTime":19,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"GET /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e? 200 29ms","method":"GET","requestID":"663e8b70-75da-11ef-ba7c-09eaa4331ae1","responseTime":29,"status":200,"url":"/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1d036ea8-4630-453e-aff9-8901d55f19a1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676635.076202} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1233,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.719548,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"66420de0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"66420de0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6643bb90-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} gateway-1 | {"time_local":"18/Sep/2024:16:23:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1216","request_time":"0.146","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} experiment-1 | {"level":"info","message":"POST /experiments? 201 142ms","method":"POST","requestID":"1970f7b75c6f06411cfb5d487e8bde9a","responseTime":142,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1234,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:55Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"66420de0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/81d484ea-91f6-48c8-8661-75172436d576/signaling 200 15ms","method":"POST","requestID":"66420de0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/81d484ea-91f6-48c8-8661-75172436d576/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f4c85652-a3ba-4120-ba8a-b9e0e6b522af","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676635.088602} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1234,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.002374,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:55Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNX0.2i6ZyxZAEZdz_ktNzpznHvs3XH1VQKQiiZfNXgn75RI","level":"info","message":"auth send jwt","requestID":"8e655e9924f0370a799fdeb1efd80059"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8e655e9924f0370a799fdeb1efd80059","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6643bb90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"6643bb90-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8e655e9924f0370a799fdeb1efd80059"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6643bb90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e/signaling 200 13ms","method":"POST","requestID":"6643bb90-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1235,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1235,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.888189,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8e655e9924f0370a799fdeb1efd80059","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676635,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNX0.2i6ZyxZAEZdz_ktNzpznHvs3XH1VQKQiiZfNXgn75RI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8e655e9924f0370a799fdeb1efd80059","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"66462c90-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1236,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:52.715552260Z"}]},"request_id":"0af4b192-464a-4080-ad49-8fbf9fc28d47","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676635.101587} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2639f10c-43d1-40ee-b511-59bf0e986317","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676635.10165} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8e655e9924f0370a799fdeb1efd80059","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1236,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.987809,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"66462c90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"66462c90-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8e655e9924f0370a799fdeb1efd80059"} gateway-1 | {"time_local":"18/Sep/2024:16:23:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8e655e9924f0370a799fdeb1efd80059"} device-1 | {"level":"info","message":"GET /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e? 200 15ms","method":"GET","requestID":"8e655e9924f0370a799fdeb1efd80059","responseTime":15,"status":200,"url":"/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"66462c90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/81d484ea-91f6-48c8-8661-75172436d576/signaling 200 11ms","method":"POST","requestID":"66462c90-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/81d484ea-91f6-48c8-8661-75172436d576/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"66484f70-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNX0.2i6ZyxZAEZdz_ktNzpznHvs3XH1VQKQiiZfNXgn75RI","level":"info","message":"auth send jwt","requestID":"91b526fb313c4e8ca515c5a365ef9dbe"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"91b526fb313c4e8ca515c5a365ef9dbe","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"66487680-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"91b526fb313c4e8ca515c5a365ef9dbe"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1237,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1237,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.663999,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"client_addr":"127.0.0.1:52018","level":"info","msg":"Received request.","req_id":1238,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"66484f70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676634,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNH0.UdA8zG1yWFGsrWGdeC3jrYqcw1p00WLNYHkVh0qzVQU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"66484f70-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52018","level":"info","msg":"Sent response.","req_id":1238,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.584538,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"66487680-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676634,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNH0.UdA8zG1yWFGsrWGdeC3jrYqcw1p00WLNYHkVh0qzVQU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"66487680-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52034","level":"info","msg":"Received request.","req_id":1239,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"client_addr":"127.0.0.1:52034","level":"info","msg":"Sent response.","req_id":1239,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.947473,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"91b526fb313c4e8ca515c5a365ef9dbe","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676635,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNX0.2i6ZyxZAEZdz_ktNzpznHvs3XH1VQKQiiZfNXgn75RI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"91b526fb313c4e8ca515c5a365ef9dbe","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:52.715552260Z"}]},"request_id":"c1c046c8-6374-4dd9-9baf-54d50640716c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676635.1193278} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:52.759146661Z"}]},"request_id":"559b42a7-17a5-4240-8645-7480f071f3ac","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676635.1203074} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"66484f70-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"66487680-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:52.759146661Z"}]},"request_id":"d1bba7e0-0a4d-4395-ad0a-d71031518985","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676635.1231048} authorization-1 | {"level":"info","message":"POST /relations/query 200 1ms","method":"POST","requestID":"91b526fb313c4e8ca515c5a365ef9dbe","responseTime":1,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"66484f70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e? 200 14ms","method":"GET","requestID":"66484f70-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"66487680-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/81d484ea-91f6-48c8-8661-75172436d576? 200 14ms","method":"GET","requestID":"66487680-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/81d484ea-91f6-48c8-8661-75172436d576?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"},"level":"info","message":"Building connection plan","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"91b526fb313c4e8ca515c5a365ef9dbe"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"4e292982-990c-42ac-be02-60d04c5bc1c8"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"58209a36-6fa3-4d1f-b26e-5460a2186ea4"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"c0b26f56-c76e-4a5b-8c82-85894fb23145"}]},"level":"info","message":"Built pairwise service configurations","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} device-1 | {"level":"info","message":"GET /devices/81d484ea-91f6-48c8-8661-75172436d576? 200 14ms","method":"GET","requestID":"91b526fb313c4e8ca515c5a365ef9dbe","responseTime":14,"status":200,"url":"/devices/81d484ea-91f6-48c8-8661-75172436d576?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/81d484ea-91f6-48c8-8661-75172436d576? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"91b526fb313c4e8ca515c5a365ef9dbe"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"664ae780-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1240,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1240,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.888729,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"664ae780-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676634,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzNH0.UdA8zG1yWFGsrWGdeC3jrYqcw1p00WLNYHkVh0qzVQU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"664ae780-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"daedeef8-6302-441c-b106-51ad97c5169e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676635.1387856} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b06fe488-9e35-4ab2-b3db-e17a72bd3209","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676635.139175} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"664ae780-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"664ae780-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"664ae780-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e'","requestID":"664ae780-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e'","requestID":"664ae780-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"664ae780-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 23ms","method":"POST","requestID":"664ae780-75da-11ef-ba7c-09eaa4331ae1","responseTime":23,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"664ae780-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"1970f7b75c6f06411cfb5d487e8bde9a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"665288a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1241,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1c686fab-deda-4c6f-9242-b9c7889f895b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676635.1830792} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1241,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.812607,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"665288a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"665288a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"665288a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e/signaling 200 9ms","method":"POST","requestID":"665288a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"66543650-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1242,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"44484269-53a4-4877-a0a1-7cb87e567bb0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676635.1937444} device-1 | {"device":"a79c8417-5914-49d7-a91a-b8106a2fcd1e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"a79c8417-5914-49d7-a91a-b8106a2fcd1e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1242,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.49008,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"66543650-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"66543650-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"66543650-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/81d484ea-91f6-48c8-8661-75172436d576/signaling 200 11ms","method":"POST","requestID":"66543650-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/81d484ea-91f6-48c8-8661-75172436d576/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 5179432019603263536 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:Ps2Q\r\na=ice-pwd:mYHa4NZALFhdI4vIK3Zn7rZi\r\na=ice-options:trickle\r\na=fingerprint:sha-256 55:9D:6C:90:39:8E:2E:7E:32:44:1F:38:D9:DD:D5:E1:8B:D0:7E:12:40:EB:9C:80:88:4C:55:05:FA:14:99:74\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"a79c8417-5914-49d7-a91a-b8106a2fcd1e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"device":"a79c8417-5914-49d7-a91a-b8106a2fcd1e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"81d484ea-91f6-48c8-8661-75172436d576","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"bb72afb0-a6ef-47e6-8b3b-2cc36b62410e","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"81d484ea-91f6-48c8-8661-75172436d576","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"81d484ea-91f6-48c8-8661-75172436d576","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"81d484ea-91f6-48c8-8661-75172436d576","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"81d484ea-91f6-48c8-8661-75172436d576","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"bb72afb0-a6ef-47e6-8b3b-2cc36b62410e","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"27f3e882db9e0403bf07ad3d3a060143","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"27f3e882db9e0403bf07ad3d3a060143","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e"}}},"level":"info","message":"received a callback","requestID":"27f3e882db9e0403bf07ad3d3a060143"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"27f3e882db9e0403bf07ad3d3a060143","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"27f3e882db9e0403bf07ad3d3a060143"} device-1 | {"content":{"candidate":"candidate:527448901 1 udp 2113937151 2eb560b0-47a8-472b-96c4-8c8433e9075d.local 42831 typ host generation 0 ufrag Ps2Q network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"a79c8417-5914-49d7-a91a-b8106a2fcd1e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2606584122 1 udp 1677729535 141.24.211.56 42831 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag Ps2Q network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"a79c8417-5914-49d7-a91a-b8106a2fcd1e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3360747185 1 udp 33562623 141.24.210.113 49781 typ relay raddr 141.24.211.56 rport 42831 generation 0 ufrag Ps2Q network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"a79c8417-5914-49d7-a91a-b8106a2fcd1e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"a79c8417-5914-49d7-a91a-b8106a2fcd1e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e'"} device-1 | {"data":{"peerconnection":"bb72afb0-a6ef-47e6-8b3b-2cc36b62410e","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"81d484ea-91f6-48c8-8661-75172436d576","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"a79c8417-5914-49d7-a91a-b8106a2fcd1e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"81d484ea-91f6-48c8-8661-75172436d576","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"bb72afb0-a6ef-47e6-8b3b-2cc36b62410e","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"bb72afb0-a6ef-47e6-8b3b-2cc36b62410e","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b16a945724a7a139aa9e44b7680aadce","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b16a945724a7a139aa9e44b7680aadce","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e"}}},"level":"info","message":"received a callback","requestID":"b16a945724a7a139aa9e44b7680aadce"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"679568e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1243,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbb72afb0-a6ef-47e6-8b3b-2cc36b62410e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4ece0cf6-2cf0-49b7-991c-3b6e461e2f3e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.2997878} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1243,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":4.028207,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"679568e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"679568e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"679568e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e 200 10ms","method":"GET","requestID":"679568e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 40ms","method":"POST","requestID":"b16a945724a7a139aa9e44b7680aadce","responseTime":40,"status":200,"url":"/callbacks/experiment"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"679a71f0-75da-11ef-ba7c-09eaa4331ae1"} gateway-1 | {"time_local":"18/Sep/2024:16:23:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.044","http_referrer":"","http_user_agent":"node-fetch","requestID":"b16a945724a7a139aa9e44b7680aadce"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1244,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8e9be258-92c5-4ec5-9d1e-d214556ba37c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.3327594} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1244,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.825571,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"679a71f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"679a71f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"679a71f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/81d484ea-91f6-48c8-8661-75172436d576/signaling 200 12ms","method":"POST","requestID":"679a71f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/81d484ea-91f6-48c8-8661-75172436d576/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"679cbbe0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1245,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fbd02652-5b47-4731-b2f3-76bbb05472b3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.3485699} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1245,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.849831,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"679cbbe0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"679cbbe0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"679cbbe0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e/signaling 200 13ms","method":"POST","requestID":"679cbbe0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzN30.m4EOdMHPmR56TvNLylwykxAw5oAQo76uJmLBs9JRKH0","level":"info","message":"auth send jwt","requestID":"ee895601aff5d0f70f5a2ce773e46a68"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ee895601aff5d0f70f5a2ce773e46a68","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/d87de433-69fd-4f58-8e3e-be30c18acae4","requestID":"ee895601aff5d0f70f5a2ce773e46a68"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1246,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1246,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.309372,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ee895601aff5d0f70f5a2ce773e46a68","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676637,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzN30.m4EOdMHPmR56TvNLylwykxAw5oAQo76uJmLBs9JRKH0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ee895601aff5d0f70f5a2ce773e46a68","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/d87de433-69fd-4f58-8e3e-be30c18acae4","requestID":"ee895601aff5d0f70f5a2ce773e46a68"} gateway-1 | {"time_local":"18/Sep/2024:16:23:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/d87de433-69fd-4f58-8e3e-be30c18acae4 HTTP/1.1","status": "200","body_bytes_sent":"1289","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ee895601aff5d0f70f5a2ce773e46a68"} experiment-1 | {"level":"info","message":"GET /experiments/d87de433-69fd-4f58-8e3e-be30c18acae4 200 17ms","method":"GET","requestID":"ee895601aff5d0f70f5a2ce773e46a68","responseTime":17,"status":200,"url":"/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzN30.m4EOdMHPmR56TvNLylwykxAw5oAQo76uJmLBs9JRKH0","level":"info","message":"auth send jwt","requestID":"2a29ecc11b2f17c9e441c088085a008a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2a29ecc11b2f17c9e441c088085a008a","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/d87de433-69fd-4f58-8e3e-be30c18acae4","requestID":"2a29ecc11b2f17c9e441c088085a008a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1247,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1247,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.189616,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2a29ecc11b2f17c9e441c088085a008a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676637,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzN30.m4EOdMHPmR56TvNLylwykxAw5oAQo76uJmLBs9JRKH0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2a29ecc11b2f17c9e441c088085a008a","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"},"level":"info","message":"Attempting to finish experiment","requestID":"2a29ecc11b2f17c9e441c088085a008a"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"67aa5070-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1248,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1248,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.48948,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"67aa5070-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676637,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzN30.m4EOdMHPmR56TvNLylwykxAw5oAQo76uJmLBs9JRKH0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"67aa5070-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e","device":"a79c8417-5914-49d7-a91a-b8106a2fcd1e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"81d484ea-91f6-48c8-8661-75172436d576","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"81d484ea-91f6-48c8-8661-75172436d576","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"81d484ea-91f6-48c8-8661-75172436d576","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"bb72afb0-a6ef-47e6-8b3b-2cc36b62410e","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbb72afb0-a6ef-47e6-8b3b-2cc36b62410e': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbb72afb0-a6ef-47e6-8b3b-2cc36b62410e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"15173f94-ed1b-4b95-b808-b09c69ed8fb0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.4560108} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5a1f46ef-1918-4507-aef8-950a8ca40c44","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.456365} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"67aa5070-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5a50ac3fcd43b73b9316a815344ff45f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"5a50ac3fcd43b73b9316a815344ff45f","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"47511040393c76b0944730782814c1e3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e"}}},"level":"info","message":"received a callback","requestID":"5a50ac3fcd43b73b9316a815344ff45f"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"47511040393c76b0944730782814c1e3","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e"}}},"level":"info","message":"received a callback","requestID":"47511040393c76b0944730782814c1e3"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"67aa5070-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e 204 47ms","method":"DELETE","requestID":"67aa5070-75da-11ef-ba7c-09eaa4331ae1","responseTime":47,"status":204,"url":"/peerconnections/bb72afb0-a6ef-47e6-8b3b-2cc36b62410e"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"},"level":"info","message":"Successfully finished experiment","requestID":"2a29ecc11b2f17c9e441c088085a008a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"67b4fed0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1249,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F81d484ea-91f6-48c8-8661-75172436d576","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"636105d2-37b7-4bc6-bd28-13e3a2ca8693","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.5087965} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1249,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.397651,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"67b4fed0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"67b4fed0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd87de433-69fd-4f58-8e3e-be30c18acae4': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd87de433-69fd-4f58-8e3e-be30c18acae4","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"ef3b9dc6-159f-4a03-afe8-3f3fa6ce46f0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.5159693} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"62578744-7bfc-4e3d-9658-7875381dca04","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.516355} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"67b4fed0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/81d484ea-91f6-48c8-8661-75172436d576/signaling 200 16ms","method":"POST","requestID":"67b4fed0-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/81d484ea-91f6-48c8-8661-75172436d576/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"2a29ecc11b2f17c9e441c088085a008a","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"67b80c10-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1250,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa79c8417-5914-49d7-a91a-b8106a2fcd1e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ffd9910f-930b-4c90-ba62-19a2bfbd3c69","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.5280657} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1250,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.445803,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"67b80c10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"67b80c10-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"67b80c10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e/signaling 200 14ms","method":"POST","requestID":"67b80c10-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/d87de433-69fd-4f58-8e3e-be30c18acae4","requestID":"2a29ecc11b2f17c9e441c088085a008a"} gateway-1 | {"time_local":"18/Sep/2024:16:23:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/d87de433-69fd-4f58-8e3e-be30c18acae4 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.184","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2a29ecc11b2f17c9e441c088085a008a"} experiment-1 | {"level":"info","message":"DELETE /experiments/d87de433-69fd-4f58-8e3e-be30c18acae4 204 180ms","method":"DELETE","requestID":"2a29ecc11b2f17c9e441c088085a008a","responseTime":180,"status":204,"url":"/experiments/d87de433-69fd-4f58-8e3e-be30c18acae4"} gateway-1 | {"time_local":"18/Sep/2024:16:23:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3623","request_time":"4.285","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"dd264bbe1b0348e9b339cc04a5c41767"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 135ms","method":"POST","requestID":"5a50ac3fcd43b73b9316a815344ff45f","responseTime":135,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.140","http_referrer":"","http_user_agent":"node-fetch","requestID":"5a50ac3fcd43b73b9316a815344ff45f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 135ms","method":"POST","requestID":"47511040393c76b0944730782814c1e3","responseTime":135,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:23:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.141","http_referrer":"","http_user_agent":"node-fetch","requestID":"47511040393c76b0944730782814c1e3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzN30.m4EOdMHPmR56TvNLylwykxAw5oAQo76uJmLBs9JRKH0","level":"info","message":"auth send jwt","requestID":"ab2245199c15056370630e4f6146f286"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ab2245199c15056370630e4f6146f286","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"ab2245199c15056370630e4f6146f286"} gateway-1 | {"time_local":"18/Sep/2024:16:23:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3089","request_time":"2.794","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"484c4ab8e939c9cc02bba5213cf511eb"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1251,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1251,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.030878,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ab2245199c15056370630e4f6146f286","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676637,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzN30.m4EOdMHPmR56TvNLylwykxAw5oAQo76uJmLBs9JRKH0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ab2245199c15056370630e4f6146f286","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/81d484ea-91f6-48c8-8661-75172436d576' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"7bb4ae6e-7737-45a9-b605-2c6aa848ae22","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.6222587} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ab2245199c15056370630e4f6146f286","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/a79c8417-5914-49d7-a91a-b8106a2fcd1e' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"62a93a59-68ca-41c0-9339-51f99c7236bb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.6267114} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"ab2245199c15056370630e4f6146f286","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"eba6a642-2efe-451c-bb4f-9b59b71a6654","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.6357563} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f63cc723-b847-434f-8e61-a6a5127aeb83","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.6359591} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"ab2245199c15056370630e4f6146f286","responseTime":11,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:57.635720716Z"}]},"request_id":"6c9812bf-f387-45ac-b4c4-d0644b33c1d1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.6406052} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ab2245199c15056370630e4f6146f286","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ab2245199c15056370630e4f6146f286"} gateway-1 | {"time_local":"18/Sep/2024:16:23:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ab2245199c15056370630e4f6146f286"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"ab2245199c15056370630e4f6146f286","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzN30.m4EOdMHPmR56TvNLylwykxAw5oAQo76uJmLBs9JRKH0","level":"info","message":"auth send jwt","requestID":"766a5c32260b5def96f23efbc6055bd9"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"766a5c32260b5def96f23efbc6055bd9","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"766a5c32260b5def96f23efbc6055bd9"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1252,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1252,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.748336,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"766a5c32260b5def96f23efbc6055bd9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676637,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzN30.m4EOdMHPmR56TvNLylwykxAw5oAQo76uJmLBs9JRKH0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"766a5c32260b5def96f23efbc6055bd9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"0e2ab8e8-846a-4c52-b1d7-e273c151df07","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.6695528} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"766a5c32260b5def96f23efbc6055bd9","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b5ec6881-d145-4a7d-b46b-0decf23ef4c2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.6741006} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"766a5c32260b5def96f23efbc6055bd9","responseTime":7,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1586faf3-83c8-4650-8338-8d263db71a8a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.6856086} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"e1343ead-a3ee-4249-afd8-1d2163e74219","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.686046} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"766a5c32260b5def96f23efbc6055bd9","responseTime":15,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:57.686003534Z"}]},"request_id":"840db6a2-c807-4907-95dd-c5969456eea0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676637.691896} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"766a5c32260b5def96f23efbc6055bd9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"766a5c32260b5def96f23efbc6055bd9"} gateway-1 | {"time_local":"18/Sep/2024:16:23:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"766a5c32260b5def96f23efbc6055bd9"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"766a5c32260b5def96f23efbc6055bd9","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOH0.bLaRBbFUP03lr2Rd-HilnqEgpx3iwan-LtPmboBe7J0","level":"info","message":"auth send jwt","requestID":"56a564e674f730564d516a5aedbdcfb1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"56a564e674f730564d516a5aedbdcfb1","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"56a564e674f730564d516a5aedbdcfb1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1253,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:58Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1253,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.107003,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:58Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"56a564e674f730564d516a5aedbdcfb1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676638,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOH0.bLaRBbFUP03lr2Rd-HilnqEgpx3iwan-LtPmboBe7J0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"56a564e674f730564d516a5aedbdcfb1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:57.635720716Z"}]},"request_id":"9d6eebde-20de-43eb-bb68-5dd2542f6f4f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676638.1783357} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"56a564e674f730564d516a5aedbdcfb1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6074c8d1-965b-43a8-afe7-2bcdaf478602","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676638.1838534} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"56a564e674f730564d516a5aedbdcfb1","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:57.635720716Z"}]},"request_id":"406d496e-e08b-4604-8715-bd6939878f62","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676638.1960094} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"56a564e674f730564d516a5aedbdcfb1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"56a564e674f730564d516a5aedbdcfb1"} gateway-1 | {"time_local":"18/Sep/2024:16:23:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.037","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"56a564e674f730564d516a5aedbdcfb1"} device-1 | {"level":"info","message":"PATCH /devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be 200 32ms","method":"PATCH","requestID":"56a564e674f730564d516a5aedbdcfb1","responseTime":32,"status":200,"url":"/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOH0.bLaRBbFUP03lr2Rd-HilnqEgpx3iwan-LtPmboBe7J0","level":"info","message":"auth send jwt","requestID":"22aab9937fcb5f94bcdbc4afc1d4ad71"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"22aab9937fcb5f94bcdbc4afc1d4ad71","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"22aab9937fcb5f94bcdbc4afc1d4ad71"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1254,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:58Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1254,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.880667,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:58Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"22aab9937fcb5f94bcdbc4afc1d4ad71","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676638,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOH0.bLaRBbFUP03lr2Rd-HilnqEgpx3iwan-LtPmboBe7J0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"22aab9937fcb5f94bcdbc4afc1d4ad71","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"22aab9937fcb5f94bcdbc4afc1d4ad71"} gateway-1 | {"time_local":"18/Sep/2024:16:23:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.023","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"22aab9937fcb5f94bcdbc4afc1d4ad71"} device-1 | {"level":"info","message":"POST /devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be/websocket 200 19ms","method":"POST","requestID":"22aab9937fcb5f94bcdbc4afc1d4ad71","responseTime":19,"status":200,"url":"/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ebd2de648046ad417f9b8ce502327113","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ebd2de648046ad417f9b8ce502327113","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ebd2de648046ad417f9b8ce502327113"} device-1 | {"level":"info","message":"OPTIONS /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d/websocket 200 1ms","method":"OPTIONS","requestID":"ebd2de648046ad417f9b8ce502327113","responseTime":1,"status":200,"url":"/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOX0.u660f_HDBRtvLfAtaMPeqmeY_Yoq1P8T4YDNMzJOdEA","level":"info","message":"auth send jwt","requestID":"cda187733f18c7cf1dc2ef4682a9676d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"cda187733f18c7cf1dc2ef4682a9676d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"cda187733f18c7cf1dc2ef4682a9676d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1255,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:59Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1255,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.051472,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:59Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"cda187733f18c7cf1dc2ef4682a9676d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676639,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOX0.u660f_HDBRtvLfAtaMPeqmeY_Yoq1P8T4YDNMzJOdEA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"cda187733f18c7cf1dc2ef4682a9676d","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"cda187733f18c7cf1dc2ef4682a9676d"} gateway-1 | {"time_local":"18/Sep/2024:16:23:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"cda187733f18c7cf1dc2ef4682a9676d"} device-1 | {"level":"info","message":"POST /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d/websocket 200 21ms","method":"POST","requestID":"cda187733f18c7cf1dc2ef4682a9676d","responseTime":21,"status":200,"url":"/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0be4b7902442bd3f08f270775e94bac3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"0be4b7902442bd3f08f270775e94bac3","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:23:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"0be4b7902442bd3f08f270775e94bac3"} device-1 | {"level":"info","message":"OPTIONS /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d? 200 1ms","method":"OPTIONS","requestID":"0be4b7902442bd3f08f270775e94bac3","responseTime":1,"status":200,"url":"/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOX0.u660f_HDBRtvLfAtaMPeqmeY_Yoq1P8T4YDNMzJOdEA","level":"info","message":"auth send jwt","requestID":"8094afa9b576da5d424619a246a3455a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8094afa9b576da5d424619a246a3455a","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"8094afa9b576da5d424619a246a3455a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1256,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:59Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1256,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.30705,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:59Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8094afa9b576da5d424619a246a3455a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676639,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOX0.u660f_HDBRtvLfAtaMPeqmeY_Yoq1P8T4YDNMzJOdEA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8094afa9b576da5d424619a246a3455a","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:57.686003534Z"}]},"request_id":"537863f4-92ce-4759-ba16-cf76f338a1a6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676639.821832} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8094afa9b576da5d424619a246a3455a","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"29424780-43c8-4517-bcbb-912502faa2a6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676639.828507} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"8094afa9b576da5d424619a246a3455a","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:57.686003534Z"}]},"request_id":"fedcfb10-c02c-4484-9f92-403f839df04a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676639.8423386} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8094afa9b576da5d424619a246a3455a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"8094afa9b576da5d424619a246a3455a"} gateway-1 | {"time_local":"18/Sep/2024:16:23:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.043","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"8094afa9b576da5d424619a246a3455a"} device-1 | {"level":"info","message":"PATCH /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d? 200 37ms","method":"PATCH","requestID":"8094afa9b576da5d424619a246a3455a","responseTime":37,"status":200,"url":"/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOX0.u660f_HDBRtvLfAtaMPeqmeY_Yoq1P8T4YDNMzJOdEA","level":"info","message":"auth send jwt","requestID":"1cef2ba9039f4237bf85e27f57ce8286"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1cef2ba9039f4237bf85e27f57ce8286","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1cef2ba9039f4237bf85e27f57ce8286"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1257,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:59Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1257,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.227264,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1cef2ba9039f4237bf85e27f57ce8286","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676639,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOX0.u660f_HDBRtvLfAtaMPeqmeY_Yoq1P8T4YDNMzJOdEA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1cef2ba9039f4237bf85e27f57ce8286","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:57.635720716Z"}]},"request_id":"b908e1a4-6a20-4a34-97e0-fcd99f1cb09b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676639.8702822} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1cef2ba9039f4237bf85e27f57ce8286","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1cef2ba9039f4237bf85e27f57ce8286"} device-1 | {"level":"info","message":"GET /devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be? 200 15ms","method":"GET","requestID":"1cef2ba9039f4237bf85e27f57ce8286","responseTime":15,"status":200,"url":"/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1cef2ba9039f4237bf85e27f57ce8286"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOX0.u660f_HDBRtvLfAtaMPeqmeY_Yoq1P8T4YDNMzJOdEA","level":"info","message":"auth send jwt","requestID":"d83aa025af7b73f579383a5911bf54b7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d83aa025af7b73f579383a5911bf54b7","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d83aa025af7b73f579383a5911bf54b7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1258,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:59Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1258,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.25931,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d83aa025af7b73f579383a5911bf54b7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676639,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOX0.u660f_HDBRtvLfAtaMPeqmeY_Yoq1P8T4YDNMzJOdEA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d83aa025af7b73f579383a5911bf54b7","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:57.686003534Z"}]},"request_id":"b42d81c9-b89f-4f0e-b3c6-1a42cd51c44f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676639.8920035} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d83aa025af7b73f579383a5911bf54b7","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d83aa025af7b73f579383a5911bf54b7"} device-1 | {"level":"info","message":"GET /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d? 200 14ms","method":"GET","requestID":"d83aa025af7b73f579383a5911bf54b7","responseTime":14,"status":200,"url":"/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d?"} gateway-1 | {"time_local":"18/Sep/2024:16:23:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d83aa025af7b73f579383a5911bf54b7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOX0.u660f_HDBRtvLfAtaMPeqmeY_Yoq1P8T4YDNMzJOdEA","level":"info","message":"auth send jwt","requestID":"7d0af897663965ea2173e066f8df6f6e"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"7d0af897663965ea2173e066f8df6f6e","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"7d0af897663965ea2173e066f8df6f6e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1259,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:59Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1259,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.199727,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:59Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7d0af897663965ea2173e066f8df6f6e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676639,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOX0.u660f_HDBRtvLfAtaMPeqmeY_Yoq1P8T4YDNMzJOdEA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7d0af897663965ea2173e066f8df6f6e","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"},"level":"info","message":"Attempting to run experiment","requestID":"7d0af897663965ea2173e066f8df6f6e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"},"level":"info","message":"Attempting to book experiment","requestID":"7d0af897663965ea2173e066f8df6f6e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"},"level":"info","message":"Successfully booked experiment","requestID":"7d0af897663965ea2173e066f8df6f6e"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"692a12a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"692a39b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1260,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:59Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1260,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.179777,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"692a12a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676639,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOX0.u660f_HDBRtvLfAtaMPeqmeY_Yoq1P8T4YDNMzJOdEA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"692a12a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52038","level":"info","msg":"Received request.","req_id":1261,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:23:59Z"} authorization-1 | {"client_addr":"127.0.0.1:52038","level":"info","msg":"Sent response.","req_id":1261,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.702347,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:23:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"692a39b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676639,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOX0.u660f_HDBRtvLfAtaMPeqmeY_Yoq1P8T4YDNMzJOdEA"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"692a39b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:57.635720716Z"}]},"request_id":"4a014622-0764-4c0e-b424-c8367d6cc813","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676639.9562855} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"692a12a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:57.686003534Z"}]},"request_id":"847b2d59-a23c-4f75-9fe0-4cf75cb34b20","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676639.9593282} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"692a12a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"692a39b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be? 200 14ms","method":"GET","requestID":"692a12a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"692a39b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d? 200 17ms","method":"GET","requestID":"692a39b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"},"level":"info","message":"Setting up experiment","requestID":"7d0af897663965ea2173e066f8df6f6e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"7d0af897663965ea2173e066f8df6f6e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"},"level":"info","message":"Successfully locked booking for experiment","requestID":"7d0af897663965ea2173e066f8df6f6e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"7d0af897663965ea2173e066f8df6f6e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"7d0af897663965ea2173e066f8df6f6e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"},"level":"info","message":"Attempting to update booking for experiment","requestID":"7d0af897663965ea2173e066f8df6f6e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"},"level":"info","message":"Successfully updated booking for experiment","requestID":"7d0af897663965ea2173e066f8df6f6e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"},"level":"info","message":"Successfully set up experiment","requestID":"7d0af897663965ea2173e066f8df6f6e"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6934c100-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"69350f20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"69355d40-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"},"level":"info","message":"Successfully running experiment","requestID":"7d0af897663965ea2173e066f8df6f6e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1262,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1262,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.454936,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"client_addr":"127.0.0.1:52038","level":"info","msg":"Received request.","req_id":1263,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6934c100-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676639,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOX0.u660f_HDBRtvLfAtaMPeqmeY_Yoq1P8T4YDNMzJOdEA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6934c100-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52038","level":"info","msg":"Sent response.","req_id":1263,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.517024,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"69350f20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676639,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOX0.u660f_HDBRtvLfAtaMPeqmeY_Yoq1P8T4YDNMzJOdEA"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"69350f20-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1264,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"79bacaf2-b803-4ffb-9292-0c186c4638ba","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676640.030543} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1264,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.255626,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"69355d40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"69355d40-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:57.635720716Z"}]},"request_id":"173de955-093a-4190-ae85-216638d7f37a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676640.033189} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:57.686003534Z"}]},"request_id":"24f3d079-09e4-4150-86ba-79703f8e9126","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676640.0344412} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"6934c100-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"69350f20-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fee9e3ca5-b22b-4ffb-ad41-c4f881d735ce#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fee9e3ca5-b22b-4ffb-ad41-c4f881d735ce","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"4cc09b21-853b-455e-bb6d-70d10ab05137","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676640.0398788} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"34940c7c-6bd3-4b1a-805a-d2ed7eac5be4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676640.0401003} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"69355d40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be/signaling 200 22ms","method":"POST","requestID":"69355d40-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"7d0af897663965ea2173e066f8df6f6e","responseTime":16,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6934c100-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be? 200 26ms","method":"GET","requestID":"6934c100-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":200,"url":"/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"69350f20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d? 200 26ms","method":"GET","requestID":"69350f20-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":200,"url":"/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"69392dd0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1265,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:00Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"693a1830-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dc699688-104d-47bf-af0a-ec2f7b0d9918","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676640.0516362} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1265,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.584189,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"69392dd0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"69392dd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"7d0af897663965ea2173e066f8df6f6e"} gateway-1 | {"time_local":"18/Sep/2024:16:24:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1216","request_time":"0.157","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7d0af897663965ea2173e066f8df6f6e"} authorization-1 | {"client_addr":"127.0.0.1:52038","level":"info","msg":"Received request.","req_id":1266,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:00Z"} experiment-1 | {"level":"info","message":"POST /experiments? 201 152ms","method":"POST","requestID":"7d0af897663965ea2173e066f8df6f6e","responseTime":152,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"69392dd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d/signaling 200 13ms","method":"POST","requestID":"69392dd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eaa4ae83-bae5-4dbc-98e3-b03ed762e865","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676640.059184} authorization-1 | {"client_addr":"127.0.0.1:52038","level":"info","msg":"Sent response.","req_id":1266,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.471253,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"693a1830-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0MH0.cq6zTyi-dvO3UP-L8jaCm2QTaFNN_Y_RhPvGf_MBsPg","level":"info","message":"auth send jwt","requestID":"54faed91c01b065d6d9eadeb185e7347"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"693a1830-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"54faed91c01b065d6d9eadeb185e7347","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"54faed91c01b065d6d9eadeb185e7347"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"693a1830-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1267,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:00Z"} device-1 | {"level":"info","message":"POST /devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be/signaling 200 17ms","method":"POST","requestID":"693a1830-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1267,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.1224,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"54faed91c01b065d6d9eadeb185e7347","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676640,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0MH0.cq6zTyi-dvO3UP-L8jaCm2QTaFNN_Y_RhPvGf_MBsPg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"54faed91c01b065d6d9eadeb185e7347","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"693cfe60-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1268,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:57.635720716Z"}]},"request_id":"794d8691-6181-4ea8-bd3e-206e6df1f335","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676640.075099} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"27dcb6ee-ec87-436d-bfb6-22024337597e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676640.0753043} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"54faed91c01b065d6d9eadeb185e7347","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1268,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.835294,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"693cfe60-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"693cfe60-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"54faed91c01b065d6d9eadeb185e7347"} device-1 | {"level":"info","message":"GET /devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be? 200 16ms","method":"GET","requestID":"54faed91c01b065d6d9eadeb185e7347","responseTime":16,"status":200,"url":"/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"54faed91c01b065d6d9eadeb185e7347"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"693cfe60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d/signaling 200 10ms","method":"POST","requestID":"693cfe60-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"7d0af897663965ea2173e066f8df6f6e"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"693efa30-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0MH0.cq6zTyi-dvO3UP-L8jaCm2QTaFNN_Y_RhPvGf_MBsPg","level":"info","message":"auth send jwt","requestID":"75dc93485d3e76ced1d1ded22cc95985"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"693f2140-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"75dc93485d3e76ced1d1ded22cc95985","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"75dc93485d3e76ced1d1ded22cc95985"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1269,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1269,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.004875,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"client_addr":"127.0.0.1:52038","level":"info","msg":"Received request.","req_id":1270,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"693efa30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676639,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOX0.u660f_HDBRtvLfAtaMPeqmeY_Yoq1P8T4YDNMzJOdEA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"693efa30-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52038","level":"info","msg":"Sent response.","req_id":1270,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.763372,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"693f2140-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676639,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOX0.u660f_HDBRtvLfAtaMPeqmeY_Yoq1P8T4YDNMzJOdEA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"693f2140-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52046","level":"info","msg":"Received request.","req_id":1271,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"client_addr":"127.0.0.1:52046","level":"info","msg":"Sent response.","req_id":1271,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.171047,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:57.635720716Z"}]},"request_id":"140fb618-ad4c-4540-959e-d31b6a4c4e97","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676640.0919943} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"693efa30-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"75dc93485d3e76ced1d1ded22cc95985","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676640,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0MH0.cq6zTyi-dvO3UP-L8jaCm2QTaFNN_Y_RhPvGf_MBsPg"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"75dc93485d3e76ced1d1ded22cc95985","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:57.686003534Z"}]},"request_id":"7c21f10c-031b-4090-8b2f-31dcef0b0234","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676640.093596} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"693f2140-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:23:57.686003534Z"}]},"request_id":"f40ab1e5-ded2-4d5d-9bb3-c27d0a137623","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676640.0979664} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"693efa30-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"75dc93485d3e76ced1d1ded22cc95985","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be? 200 16ms","method":"GET","requestID":"693efa30-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"693f2140-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d? 200 16ms","method":"GET","requestID":"693f2140-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"},"level":"info","message":"Building connection plan","requestID":"7d0af897663965ea2173e066f8df6f6e"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"7a245e18-3366-4637-8d91-d7a80c10d1f6"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"f64c3d07-4c22-4587-9be2-4eea06f3d21a"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"fc40b384-a665-42cb-b65f-20e851d208a8"}]},"level":"info","message":"Built pairwise service configurations","requestID":"7d0af897663965ea2173e066f8df6f6e"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"7d0af897663965ea2173e066f8df6f6e"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"75dc93485d3e76ced1d1ded22cc95985"} gateway-1 | {"time_local":"18/Sep/2024:16:24:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"75dc93485d3e76ced1d1ded22cc95985"} device-1 | {"level":"info","message":"GET /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d? 200 17ms","method":"GET","requestID":"75dc93485d3e76ced1d1ded22cc95985","responseTime":17,"status":200,"url":"/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d?"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"69420770-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1272,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1272,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.744288,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"69420770-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676639,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjYzOX0.u660f_HDBRtvLfAtaMPeqmeY_Yoq1P8T4YDNMzJOdEA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"69420770-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"189902f7-ed0d-4b8e-a9ae-221c4bf656ac","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676640.1144674} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b9bcd5b1-a05f-4a0d-9c77-370e4649c7ef","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676640.114701} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"69420770-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"69420770-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"69420770-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2'","requestID":"69420770-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2'","requestID":"69420770-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"69420770-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 25ms","method":"POST","requestID":"69420770-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"69420770-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"7d0af897663965ea2173e066f8df6f6e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6949cfa0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1273,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"70727ac8-b8a9-42b5-a220-de8b6eb0230b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676640.159711} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1273,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.341867,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6949cfa0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6949cfa0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6949cfa0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be/signaling 200 9ms","method":"POST","requestID":"6949cfa0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"694b7d50-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1274,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2d0fbdbf-ca9c-4bb5-8439-1786d0f4f855","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676640.1693473} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1274,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.672822,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"694b7d50-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"694b7d50-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"694b7d50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d/signaling 200 8ms","method":"POST","requestID":"694b7d50-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d/signaling"} device-1 | {"device":"49d86e83-1d13-4f77-a3ae-d8969c78e20d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"49d86e83-1d13-4f77-a3ae-d8969c78e20d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 8151363007967692176 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:WouF\r\na=ice-pwd:BPPWsrMpn7I++W3LaUtmL4cG\r\na=ice-options:trickle\r\na=fingerprint:sha-256 6A:E5:4C:8D:A2:30:FD:D2:18:64:8F:DE:5F:34:DF:70:CE:5C:42:D3:C1:6D:BE:25:CD:15:E4:8B:28:2A:AA:58\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"49d86e83-1d13-4f77-a3ae-d8969c78e20d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"device":"49d86e83-1d13-4f77-a3ae-d8969c78e20d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"08aa5f25-5670-4f75-bc2d-de4e1f9237be","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"b66e8e9c-7c05-4693-aa06-900610f01af2","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"08aa5f25-5670-4f75-bc2d-de4e1f9237be","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"08aa5f25-5670-4f75-bc2d-de4e1f9237be","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"08aa5f25-5670-4f75-bc2d-de4e1f9237be","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"08aa5f25-5670-4f75-bc2d-de4e1f9237be","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b66e8e9c-7c05-4693-aa06-900610f01af2","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8b427eb9717dc5b9813e271705eb9dd9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"8b427eb9717dc5b9813e271705eb9dd9","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2"}}},"level":"info","message":"received a callback","requestID":"8b427eb9717dc5b9813e271705eb9dd9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"8b427eb9717dc5b9813e271705eb9dd9","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"8b427eb9717dc5b9813e271705eb9dd9"} device-1 | {"content":{"candidate":"candidate:2502425414 1 udp 2113937151 3a0063a6-6f45-4d1a-a521-fa774915f77d.local 55885 typ host generation 0 ufrag WouF network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"49d86e83-1d13-4f77-a3ae-d8969c78e20d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:101472853 1 udp 1677729535 141.24.211.56 55885 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag WouF network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"49d86e83-1d13-4f77-a3ae-d8969c78e20d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3089162663 1 udp 33562623 141.24.210.113 64609 typ relay raddr 141.24.211.56 rport 55885 generation 0 ufrag WouF network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"49d86e83-1d13-4f77-a3ae-d8969c78e20d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"49d86e83-1d13-4f77-a3ae-d8969c78e20d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d'"} device-1 | {"data":{"peerconnection":"b66e8e9c-7c05-4693-aa06-900610f01af2","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"08aa5f25-5670-4f75-bc2d-de4e1f9237be","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"49d86e83-1d13-4f77-a3ae-d8969c78e20d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"08aa5f25-5670-4f75-bc2d-de4e1f9237be","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"b66e8e9c-7c05-4693-aa06-900610f01af2","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b66e8e9c-7c05-4693-aa06-900610f01af2","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ff859f62acd1a3109919efa8666208e9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ff859f62acd1a3109919efa8666208e9","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2"}}},"level":"info","message":"received a callback","requestID":"ff859f62acd1a3109919efa8666208e9"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"6a8c61c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1275,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:02Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb66e8e9c-7c05-4693-aa06-900610f01af2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"77aa6cd7-ecfd-4d6b-afa7-ec7017b2fcac","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.2748985} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1275,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.683668,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6a8c61c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"6a8c61c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"6a8c61c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2 200 12ms","method":"GET","requestID":"6a8c61c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 42ms","method":"POST","requestID":"ff859f62acd1a3109919efa8666208e9","responseTime":42,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.046","http_referrer":"","http_user_agent":"node-fetch","requestID":"ff859f62acd1a3109919efa8666208e9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6a91e000-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1276,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:02Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dcd94226-2fe8-4f11-8c40-c65f17624f7f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.3110428} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1276,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.686411,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:02Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6a91e000-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"6a91e000-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6a91e000-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be/signaling 200 13ms","method":"POST","requestID":"6a91e000-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6a945100-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1277,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:02Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0c78acc2-41e9-420a-b3f9-a36be71cd482","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.326747} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1277,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.53495,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:02Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6a945100-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6a945100-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6a945100-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d/signaling 200 12ms","method":"POST","requestID":"6a945100-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0Mn0.B7qlxxPuAbMp3pmnbiHId12Lcf4vugjdTb_3Xc1Xymg","level":"info","message":"auth send jwt","requestID":"20cf1cef53a9b8426139cca997a373c7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"20cf1cef53a9b8426139cca997a373c7","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce","requestID":"20cf1cef53a9b8426139cca997a373c7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1278,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:02Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1278,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.655507,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"20cf1cef53a9b8426139cca997a373c7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676642,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0Mn0.B7qlxxPuAbMp3pmnbiHId12Lcf4vugjdTb_3Xc1Xymg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"20cf1cef53a9b8426139cca997a373c7","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce","requestID":"20cf1cef53a9b8426139cca997a373c7"} experiment-1 | {"level":"info","message":"GET /experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce 200 12ms","method":"GET","requestID":"20cf1cef53a9b8426139cca997a373c7","responseTime":12,"status":200,"url":"/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"} gateway-1 | {"time_local":"18/Sep/2024:16:24:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce HTTP/1.1","status": "200","body_bytes_sent":"1289","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"20cf1cef53a9b8426139cca997a373c7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0Mn0.B7qlxxPuAbMp3pmnbiHId12Lcf4vugjdTb_3Xc1Xymg","level":"info","message":"auth send jwt","requestID":"9154f6d9bda8c76a0a5da9f45b8db12d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9154f6d9bda8c76a0a5da9f45b8db12d","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce","requestID":"9154f6d9bda8c76a0a5da9f45b8db12d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1279,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:02Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1279,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.358299,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:02Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9154f6d9bda8c76a0a5da9f45b8db12d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676642,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0Mn0.B7qlxxPuAbMp3pmnbiHId12Lcf4vugjdTb_3Xc1Xymg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9154f6d9bda8c76a0a5da9f45b8db12d","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"},"level":"info","message":"Attempting to finish experiment","requestID":"9154f6d9bda8c76a0a5da9f45b8db12d"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"6a9fe9c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1280,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:02Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1280,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.233847,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:02Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6a9fe9c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676642,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0Mn0.B7qlxxPuAbMp3pmnbiHId12Lcf4vugjdTb_3Xc1Xymg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6a9fe9c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2","device":"49d86e83-1d13-4f77-a3ae-d8969c78e20d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"08aa5f25-5670-4f75-bc2d-de4e1f9237be","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"08aa5f25-5670-4f75-bc2d-de4e1f9237be","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"08aa5f25-5670-4f75-bc2d-de4e1f9237be","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b66e8e9c-7c05-4693-aa06-900610f01af2","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb66e8e9c-7c05-4693-aa06-900610f01af2': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb66e8e9c-7c05-4693-aa06-900610f01af2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"d7a6acc4-7a50-434b-a292-8eff657a27ea","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.4210682} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"22432e66be1995e8baf44817be4c98a3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4f9a79c9-809e-4f51-9ce9-86826c2eb5a0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.4215298} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"22432e66be1995e8baf44817be4c98a3","responseTime":3,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7cc7030e05bcfc5d84f032d94344453a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2"}}},"level":"info","message":"received a callback","requestID":"22432e66be1995e8baf44817be4c98a3"} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"6a9fe9c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"7cc7030e05bcfc5d84f032d94344453a","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2"}}},"level":"info","message":"received a callback","requestID":"7cc7030e05bcfc5d84f032d94344453a"} device-1 | {"data":{"peerconnection":"b66e8e9c-7c05-4693-aa06-900610f01af2","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"6a9fe9c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2 204 45ms","method":"DELETE","requestID":"6a9fe9c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":45,"status":204,"url":"/peerconnections/b66e8e9c-7c05-4693-aa06-900610f01af2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"},"level":"info","message":"Successfully finished experiment","requestID":"9154f6d9bda8c76a0a5da9f45b8db12d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6aaa22f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1281,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:02Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08aa5f25-5670-4f75-bc2d-de4e1f9237be","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"985a832a-b433-4617-83da-b7a662da5d3f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.471075} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1281,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.737052,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:02Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6aaa22f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"6aaa22f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6aaa22f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be/signaling 200 14ms","method":"POST","requestID":"6aaa22f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fee9e3ca5-b22b-4ffb-ad41-c4f881d735ce': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fee9e3ca5-b22b-4ffb-ad41-c4f881d735ce","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"f28c5907-a18e-4bb0-b0fb-fcb4a4444ba3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.478442} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"97668106-6f4b-4e60-90d9-7d940470cae7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.4790633} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6aacbb00-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"9154f6d9bda8c76a0a5da9f45b8db12d","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1282,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:02Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F49d86e83-1d13-4f77-a3ae-d8969c78e20d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e88c7977-593d-4e76-bcdc-fb901c220ae1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.4876199} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1282,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.403992,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:02Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6aacbb00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"6aacbb00-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6aacbb00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d/signaling 200 14ms","method":"POST","requestID":"6aacbb00-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce","requestID":"9154f6d9bda8c76a0a5da9f45b8db12d"} gateway-1 | {"time_local":"18/Sep/2024:16:24:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.178","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9154f6d9bda8c76a0a5da9f45b8db12d"} experiment-1 | {"level":"info","message":"DELETE /experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce 204 174ms","method":"DELETE","requestID":"9154f6d9bda8c76a0a5da9f45b8db12d","responseTime":174,"status":204,"url":"/experiments/ee9e3ca5-b22b-4ffb-ad41-c4f881d735ce"} gateway-1 | {"time_local":"18/Sep/2024:16:24:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3625","request_time":"4.329","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"7cc49d0ebc779aa4a7f3cffa0a514370"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 132ms","method":"POST","requestID":"22432e66be1995e8baf44817be4c98a3","responseTime":132,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.138","http_referrer":"","http_user_agent":"node-fetch","requestID":"22432e66be1995e8baf44817be4c98a3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 131ms","method":"POST","requestID":"7cc7030e05bcfc5d84f032d94344453a","responseTime":131,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.138","http_referrer":"","http_user_agent":"node-fetch","requestID":"7cc7030e05bcfc5d84f032d94344453a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0Mn0.B7qlxxPuAbMp3pmnbiHId12Lcf4vugjdTb_3Xc1Xymg","level":"info","message":"auth send jwt","requestID":"9017965779e0bdffa41ecd536800047a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9017965779e0bdffa41ecd536800047a","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"9017965779e0bdffa41ecd536800047a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1283,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:02Z"} gateway-1 | {"time_local":"18/Sep/2024:16:24:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3087","request_time":"2.801","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"b709370f46b72f9471ec2d0233d5c616"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1283,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.429084,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:02Z"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/08aa5f25-5670-4f75-bc2d-de4e1f9237be' closed"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9017965779e0bdffa41ecd536800047a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676642,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0Mn0.B7qlxxPuAbMp3pmnbiHId12Lcf4vugjdTb_3Xc1Xymg"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"9017965779e0bdffa41ecd536800047a","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/49d86e83-1d13-4f77-a3ae-d8969c78e20d' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"23c706be-3697-44aa-b91c-8064826b072d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.581197} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9017965779e0bdffa41ecd536800047a","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a3192854-5fbd-40a5-9a1a-1a8ebcc0df3b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.5867429} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"9017965779e0bdffa41ecd536800047a","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"504205f0-883b-4377-a00a-8198b4c0b8ac","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.5957181} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ee1f4142-e750-4476-abec-74d78d401c41","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.595874} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"9017965779e0bdffa41ecd536800047a","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:02.595683062Z"}]},"request_id":"4a47b68d-f7fa-4bf7-8773-b2a75eb88ce0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.599882} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9017965779e0bdffa41ecd536800047a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9017965779e0bdffa41ecd536800047a"} gateway-1 | {"time_local":"18/Sep/2024:16:24:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9017965779e0bdffa41ecd536800047a"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"9017965779e0bdffa41ecd536800047a","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0Mn0.B7qlxxPuAbMp3pmnbiHId12Lcf4vugjdTb_3Xc1Xymg","level":"info","message":"auth send jwt","requestID":"293e8f95826d94c0cb53839ee3c1bb5d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"293e8f95826d94c0cb53839ee3c1bb5d","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"293e8f95826d94c0cb53839ee3c1bb5d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1284,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:02Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1284,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.660708,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:02Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"293e8f95826d94c0cb53839ee3c1bb5d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676642,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0Mn0.B7qlxxPuAbMp3pmnbiHId12Lcf4vugjdTb_3Xc1Xymg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"293e8f95826d94c0cb53839ee3c1bb5d","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"46db7f2c-d798-46a7-9f07-c46e7866aae4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.6273396} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"293e8f95826d94c0cb53839ee3c1bb5d","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4978ea12-90a7-405d-91f0-2425ac3ec08e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.6313615} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"293e8f95826d94c0cb53839ee3c1bb5d","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"8bb34b64-36b4-458f-8c2c-cfbda03ae752","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.6419034} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bcaacdcb-cca1-41b3-b66f-973514934907","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.6419344} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"293e8f95826d94c0cb53839ee3c1bb5d","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:02.641859146Z"}]},"request_id":"565a3dce-5351-46bd-84f7-f1d709acc53f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676642.6460013} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"293e8f95826d94c0cb53839ee3c1bb5d","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"293e8f95826d94c0cb53839ee3c1bb5d"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"293e8f95826d94c0cb53839ee3c1bb5d","responseTime":41,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"293e8f95826d94c0cb53839ee3c1bb5d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0M30.oS10OWz6FvMrqmhpvj4xBsvdyRTiESMogPio1OPm9xc","level":"info","message":"auth send jwt","requestID":"e036bb7c361d1d768f0fb6f8087ca989"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e036bb7c361d1d768f0fb6f8087ca989","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e036bb7c361d1d768f0fb6f8087ca989"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1285,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:03Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1285,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.301027,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:03Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e036bb7c361d1d768f0fb6f8087ca989","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676643,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0M30.oS10OWz6FvMrqmhpvj4xBsvdyRTiESMogPio1OPm9xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e036bb7c361d1d768f0fb6f8087ca989","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:02.595683062Z"}]},"request_id":"1b65f6e7-b33b-4a8c-b6fe-f9428420bc1c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676643.1377318} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e036bb7c361d1d768f0fb6f8087ca989","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8214009e-2aa6-457f-b162-9a75c53e7af2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676643.1428826} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"e036bb7c361d1d768f0fb6f8087ca989","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:02.595683062Z"}]},"request_id":"46326456-b0ad-4d27-aa7a-94c8ff94ae6d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676643.1548505} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e036bb7c361d1d768f0fb6f8087ca989","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e036bb7c361d1d768f0fb6f8087ca989"} gateway-1 | {"time_local":"18/Sep/2024:16:24:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.037","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"e036bb7c361d1d768f0fb6f8087ca989"} device-1 | {"level":"info","message":"PATCH /devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80 200 31ms","method":"PATCH","requestID":"e036bb7c361d1d768f0fb6f8087ca989","responseTime":31,"status":200,"url":"/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0M30.oS10OWz6FvMrqmhpvj4xBsvdyRTiESMogPio1OPm9xc","level":"info","message":"auth send jwt","requestID":"78309ba3ac0f50c9c5b67b93b8a9fc7d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"78309ba3ac0f50c9c5b67b93b8a9fc7d","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"78309ba3ac0f50c9c5b67b93b8a9fc7d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1286,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:03Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1286,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.408021,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:03Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"78309ba3ac0f50c9c5b67b93b8a9fc7d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676643,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0M30.oS10OWz6FvMrqmhpvj4xBsvdyRTiESMogPio1OPm9xc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"78309ba3ac0f50c9c5b67b93b8a9fc7d","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"78309ba3ac0f50c9c5b67b93b8a9fc7d"} device-1 | {"level":"info","message":"POST /devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80/websocket 200 21ms","method":"POST","requestID":"78309ba3ac0f50c9c5b67b93b8a9fc7d","responseTime":21,"status":200,"url":"/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:24:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.028","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"78309ba3ac0f50c9c5b67b93b8a9fc7d"} device-1 | {"level":"info","message":"device 'http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"04a54e4c55cc8a524d81305fef10c7bf","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"04a54e4c55cc8a524d81305fef10c7bf","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"04a54e4c55cc8a524d81305fef10c7bf"} device-1 | {"level":"info","message":"OPTIONS /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df/websocket 200 1ms","method":"OPTIONS","requestID":"04a54e4c55cc8a524d81305fef10c7bf","responseTime":1,"status":200,"url":"/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc","level":"info","message":"auth send jwt","requestID":"807d1c7d2b45e76f069e463fcc6d0b05"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"807d1c7d2b45e76f069e463fcc6d0b05","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"807d1c7d2b45e76f069e463fcc6d0b05"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1287,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1287,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.373472,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"807d1c7d2b45e76f069e463fcc6d0b05","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676644,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"807d1c7d2b45e76f069e463fcc6d0b05","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"807d1c7d2b45e76f069e463fcc6d0b05"} device-1 | {"level":"info","message":"POST /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df/websocket 200 21ms","method":"POST","requestID":"807d1c7d2b45e76f069e463fcc6d0b05","responseTime":21,"status":200,"url":"/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:24:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"807d1c7d2b45e76f069e463fcc6d0b05"} device-1 | {"level":"info","message":"device 'http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1a01423fc47cc139462fdd4f32edbca8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"1a01423fc47cc139462fdd4f32edbca8","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"1a01423fc47cc139462fdd4f32edbca8"} device-1 | {"level":"info","message":"OPTIONS /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df? 200 1ms","method":"OPTIONS","requestID":"1a01423fc47cc139462fdd4f32edbca8","responseTime":1,"status":200,"url":"/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc","level":"info","message":"auth send jwt","requestID":"ae204af7cf1e478c5fc4ec2fd1a57987"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ae204af7cf1e478c5fc4ec2fd1a57987","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"ae204af7cf1e478c5fc4ec2fd1a57987"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1288,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1288,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.316852,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ae204af7cf1e478c5fc4ec2fd1a57987","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676644,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ae204af7cf1e478c5fc4ec2fd1a57987","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:02.641859146Z"}]},"request_id":"8594229d-3124-466c-bcad-b72337a95b0d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676644.739236} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ae204af7cf1e478c5fc4ec2fd1a57987","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f9dbc1ca-c003-4826-ac76-e53e5375707e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676644.7472281} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"ae204af7cf1e478c5fc4ec2fd1a57987","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:02.641859146Z"}]},"request_id":"3a75c114-58bf-47e7-a609-0240f6379918","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676644.7601457} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ae204af7cf1e478c5fc4ec2fd1a57987","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"ae204af7cf1e478c5fc4ec2fd1a57987"} device-1 | {"level":"info","message":"PATCH /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df? 200 39ms","method":"PATCH","requestID":"ae204af7cf1e478c5fc4ec2fd1a57987","responseTime":39,"status":200,"url":"/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.045","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ae204af7cf1e478c5fc4ec2fd1a57987"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc","level":"info","message":"auth send jwt","requestID":"ea35867245a08c65102cab859a43e0d9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ea35867245a08c65102cab859a43e0d9","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ea35867245a08c65102cab859a43e0d9"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1289,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1289,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.197545,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ea35867245a08c65102cab859a43e0d9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676644,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ea35867245a08c65102cab859a43e0d9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:02.595683062Z"}]},"request_id":"13da844d-f747-4396-a6fa-818f3b149b65","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676644.7878613} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ea35867245a08c65102cab859a43e0d9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ea35867245a08c65102cab859a43e0d9"} gateway-1 | {"time_local":"18/Sep/2024:16:24:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ea35867245a08c65102cab859a43e0d9"} device-1 | {"level":"info","message":"GET /devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80? 200 16ms","method":"GET","requestID":"ea35867245a08c65102cab859a43e0d9","responseTime":16,"status":200,"url":"/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc","level":"info","message":"auth send jwt","requestID":"57187bc5885686e91553f5c8d96b2710"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"57187bc5885686e91553f5c8d96b2710","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"57187bc5885686e91553f5c8d96b2710"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1290,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1290,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.203746,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"57187bc5885686e91553f5c8d96b2710","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676644,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"57187bc5885686e91553f5c8d96b2710","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:02.641859146Z"}]},"request_id":"f8dc26a4-767c-43c6-8edb-3a2b17324519","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676644.811636} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"57187bc5885686e91553f5c8d96b2710","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"57187bc5885686e91553f5c8d96b2710"} gateway-1 | {"time_local":"18/Sep/2024:16:24:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"57187bc5885686e91553f5c8d96b2710"} device-1 | {"level":"info","message":"GET /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df? 200 16ms","method":"GET","requestID":"57187bc5885686e91553f5c8d96b2710","responseTime":16,"status":200,"url":"/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc","level":"info","message":"auth send jwt","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1291,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1291,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.2654,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676644,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"},"level":"info","message":"Attempting to run experiment","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"},"level":"info","message":"Attempting to book experiment","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"},"level":"info","message":"Successfully booked experiment","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6c18f530-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6c191c40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1292,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1292,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.237024,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6c18f530-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676644,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6c18f530-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Received request.","req_id":1293,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Sent response.","req_id":1293,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.183628,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6c191c40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676644,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6c191c40-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:02.595683062Z"}]},"request_id":"d1b51748-4f7e-4296-841f-6cb9fe77fe8d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676644.8758206} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6c18f530-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:02.641859146Z"}]},"request_id":"1d4c1103-715a-425d-b9ad-ac6730cbd67d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676644.8795023} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6c18f530-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6c191c40-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80? 200 13ms","method":"GET","requestID":"6c18f530-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6c191c40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df? 200 16ms","method":"GET","requestID":"6c191c40-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"},"level":"info","message":"Setting up experiment","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"},"level":"info","message":"Successfully locked booking for experiment","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"},"level":"info","message":"Attempting to update booking for experiment","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"},"level":"info","message":"Successfully updated booking for experiment","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"},"level":"info","message":"Successfully set up experiment","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6c2418c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6c2466e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6c24b500-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"},"level":"info","message":"Successfully running experiment","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1294,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1294,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.706052,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6c2418c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676644,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"6c2418c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Received request.","req_id":1295,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Sent response.","req_id":1295,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.818485,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6c2466e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676644,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"6c2466e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52606","level":"info","msg":"Received request.","req_id":1296,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:02.595683062Z"}]},"request_id":"77b87919-a142-4297-b946-030e0c7cb866","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676644.9611006} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"6c2418c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5cb40167-5556-4766-ae18-b29f6d38c305","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676644.9629343} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:02.641859146Z"}]},"request_id":"08f469e4-33c9-44bd-9fdd-1946bd9d4ab5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676644.963132} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"6c2466e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:52606","level":"info","msg":"Sent response.","req_id":1296,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":6.982971,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6c24b500-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 20ms","method":"POST","requestID":"6c24b500-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6c2418c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80? 200 32ms","method":"GET","requestID":"6c2418c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":32,"status":200,"url":"/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6c2466e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8ba953b2-2c0f-4435-a8a3-e649107267f5#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8ba953b2-2c0f-4435-a8a3-e649107267f5","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"41694b2b-645f-4705-b519-2191d2e5054e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676644.9735086} device-1 | {"level":"info","message":"GET /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df? 200 32ms","method":"GET","requestID":"6c2466e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":32,"status":200,"url":"/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e0365a91-4075-4ac9-a1c6-73bb562e8252","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676644.974004} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6c24b500-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80/signaling 200 31ms","method":"POST","requestID":"6c24b500-75da-11ef-ba7c-09eaa4331ae1","responseTime":31,"status":200,"url":"/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9","responseTime":24,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6c29be10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6c2a0c30-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1297,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Received request.","req_id":1298,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b42ea308-6c38-4a3c-b6e7-1588a6fbccd3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676644.983364} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1297,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.812241,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6c29be10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"6c29be10-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"091fd5c3-81b1-48f9-963c-9e9aa3dd8145","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676644.9855454} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Sent response.","req_id":1298,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.799051,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6c2a0c30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"6c2a0c30-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} gateway-1 | {"time_local":"18/Sep/2024:16:24:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1216","request_time":"0.172","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} experiment-1 | {"level":"info","message":"POST /experiments? 201 166ms","method":"POST","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9","responseTime":166,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6c29be10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80/signaling 200 15ms","method":"POST","requestID":"6c29be10-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6c2a0c30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df/signaling 200 14ms","method":"POST","requestID":"6c2a0c30-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6c2c7d30-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc","level":"info","message":"auth send jwt","requestID":"568e3a2ceefef41afe005016fb0a495a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"568e3a2ceefef41afe005016fb0a495a","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1299,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:04Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"568e3a2ceefef41afe005016fb0a495a"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e5e39d93-317d-44db-9798-795769d44c89","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676645.000725} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Received request.","req_id":1300,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:05Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1299,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.515664,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:05Z"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Sent response.","req_id":1300,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.653381,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6c2c7d30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"6c2c7d30-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"568e3a2ceefef41afe005016fb0a495a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676644,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"568e3a2ceefef41afe005016fb0a495a","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:02.595683062Z"}]},"request_id":"72980092-55fe-4437-91c6-dce0a858b58d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676645.0098631} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"568e3a2ceefef41afe005016fb0a495a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6c2c7d30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df/signaling 200 20ms","method":"POST","requestID":"6c2c7d30-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"568e3a2ceefef41afe005016fb0a495a"} device-1 | {"level":"info","message":"GET /devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80? 200 21ms","method":"GET","requestID":"568e3a2ceefef41afe005016fb0a495a","responseTime":21,"status":200,"url":"/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"568e3a2ceefef41afe005016fb0a495a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6c304dc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6c309be0-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NX0.bBIpLmMVkF_KNRCXm7v5M0vzeM6krkaI7EFcqWT_Ge8","level":"info","message":"auth send jwt","requestID":"a1c30ea375f7ad4670588abea2eb2bb5"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a1c30ea375f7ad4670588abea2eb2bb5","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1301,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:05Z"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Received request.","req_id":1302,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:05Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1301,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.348683,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:05Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a1c30ea375f7ad4670588abea2eb2bb5"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6c304dc0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676644,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6c304dc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Sent response.","req_id":1302,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.941015,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6c309be0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676644,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6c309be0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1303,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:05Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1303,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.148645,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a1c30ea375f7ad4670588abea2eb2bb5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676645,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NX0.bBIpLmMVkF_KNRCXm7v5M0vzeM6krkaI7EFcqWT_Ge8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a1c30ea375f7ad4670588abea2eb2bb5","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:02.595683062Z"}]},"request_id":"56a780a2-81f1-47f8-83cd-907999ddcd43","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676645.0323007} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:02.641859146Z"}]},"request_id":"e939561c-0f17-4424-b858-1558584f20ca","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676645.0330768} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"6c304dc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6c309be0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:02.641859146Z"}]},"request_id":"c50fce1f-aaef-4857-9d50-23b73b93b07e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676645.0374656} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a1c30ea375f7ad4670588abea2eb2bb5","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6c304dc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80? 200 29ms","method":"GET","requestID":"6c304dc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":29,"status":200,"url":"/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6c309be0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df? 200 28ms","method":"GET","requestID":"6c309be0-75da-11ef-ba7c-09eaa4331ae1","responseTime":28,"status":200,"url":"/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a1c30ea375f7ad4670588abea2eb2bb5"} gateway-1 | {"time_local":"18/Sep/2024:16:24:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.031","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a1c30ea375f7ad4670588abea2eb2bb5"} device-1 | {"level":"info","message":"GET /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df? 200 26ms","method":"GET","requestID":"a1c30ea375f7ad4670588abea2eb2bb5","responseTime":26,"status":200,"url":"/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"},"level":"info","message":"Building connection plan","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"4fdbb0a6-7ba4-42e8-a2da-5f8c9cc0f62e"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"03170c1f-4826-48c0-94d2-db8cfdd1ee21"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"0d53827a-3916-4991-adf0-43764e5db0c8"}]},"level":"info","message":"Built pairwise service configurations","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"6c3556d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1304,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:05Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1304,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.109853,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6c3556d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676644,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0NH0.dodIBrjLiV5hEDIQhdrhHHPpZmdi5v5oBXOjpB1m1Kc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6c3556d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"08a3b32a-3718-410b-aead-6991eba7887a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676645.0652258} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"15632135-579b-4d21-a74b-a9ef2e825e1a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676645.0653925} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"6c3556d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"6c3556d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"6c3556d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e'","requestID":"6c3556d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e'","requestID":"6c3556d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"6c3556d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 25ms","method":"POST","requestID":"6c3556d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"6c3556d0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"17e18e0efa2d5c9f57b268a7b2e10ce9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6c3d6d20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1305,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:05Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"31680f01-a136-4989-8a44-f19ea20971fd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676645.1109138} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1305,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.544117,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6c3d6d20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6c3d6d20-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"59fdbcb7-58f9-47cc-8857-431c34cbd4df","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"59fdbcb7-58f9-47cc-8857-431c34cbd4df","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6c3d6d20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80/signaling 200 10ms","method":"POST","requestID":"6c3d6d20-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6c3f41e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1306,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:05Z"} device-1 | {"content":{"sdp":"v=0\r\no=- 6076155627026533587 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:pTfd\r\na=ice-pwd:X3WyvQKpz6SjvC/Jb07z/XQf\r\na=ice-options:trickle\r\na=fingerprint:sha-256 65:9F:B2:3E:FC:46:D1:43:80:86:68:C4:45:C4:4B:1E:C3:84:6E:61:6F:9E:DD:1B:BD:16:08:32:96:63:90:27\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"59fdbcb7-58f9-47cc-8857-431c34cbd4df","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8586a46f-1b47-4119-ad42-3855eab0ab8f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676645.1237135} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1306,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.294033,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6c3f41e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6c3f41e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6c3f41e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df/signaling 200 9ms","method":"POST","requestID":"6c3f41e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df/signaling"} device-1 | {"device":"59fdbcb7-58f9-47cc-8857-431c34cbd4df","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"20adf2fa-acc0-44f8-955f-14d48c9f0d80","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"658f7993-5627-4fae-825a-a2aaa7e97f7e","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"20adf2fa-acc0-44f8-955f-14d48c9f0d80","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"20adf2fa-acc0-44f8-955f-14d48c9f0d80","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"20adf2fa-acc0-44f8-955f-14d48c9f0d80","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"20adf2fa-acc0-44f8-955f-14d48c9f0d80","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"658f7993-5627-4fae-825a-a2aaa7e97f7e","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"da4974e17f001bac9efd3ed21261c147","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"da4974e17f001bac9efd3ed21261c147","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e"}}},"level":"info","message":"received a callback","requestID":"da4974e17f001bac9efd3ed21261c147"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"da4974e17f001bac9efd3ed21261c147","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"da4974e17f001bac9efd3ed21261c147"} device-1 | {"content":{"candidate":"candidate:1436406574 1 udp 2113937151 14778794-b87a-4348-994c-3f7f6401d379.local 59595 typ host generation 0 ufrag pTfd network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"59fdbcb7-58f9-47cc-8857-431c34cbd4df","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3518019921 1 udp 1677729535 141.24.211.56 59595 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag pTfd network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"59fdbcb7-58f9-47cc-8857-431c34cbd4df","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2193426138 1 udp 33562623 141.24.210.113 52065 typ relay raddr 141.24.211.56 rport 59595 generation 0 ufrag pTfd network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"59fdbcb7-58f9-47cc-8857-431c34cbd4df","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"59fdbcb7-58f9-47cc-8857-431c34cbd4df","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df'"} device-1 | {"data":{"peerconnection":"658f7993-5627-4fae-825a-a2aaa7e97f7e","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"20adf2fa-acc0-44f8-955f-14d48c9f0d80","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"59fdbcb7-58f9-47cc-8857-431c34cbd4df","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"20adf2fa-acc0-44f8-955f-14d48c9f0d80","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"658f7993-5627-4fae-825a-a2aaa7e97f7e","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"658f7993-5627-4fae-825a-a2aaa7e97f7e","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3aeb27fe68366bc351e9d367ba348401","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"3aeb27fe68366bc351e9d367ba348401","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e"}}},"level":"info","message":"received a callback","requestID":"3aeb27fe68366bc351e9d367ba348401"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"6d774cb0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1307,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F658f7993-5627-4fae-825a-a2aaa7e97f7e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"08eafdb5-5f54-459a-9635-f8b65e981999","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.1705625} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1307,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.192179,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6d774cb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"6d774cb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"6d774cb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e 200 12ms","method":"GET","requestID":"6d774cb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 45ms","method":"POST","requestID":"3aeb27fe68366bc351e9d367ba348401","responseTime":45,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch","requestID":"3aeb27fe68366bc351e9d367ba348401"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6d7d6730-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1308,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4c3003b6-cccc-4012-888b-533336d45c74","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.2094252} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1308,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.300766,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6d7d6730-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6d7d6730-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6d7d6730-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80/signaling 200 12ms","method":"POST","requestID":"6d7d6730-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6d7f8a10-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1309,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2edfd066-1d18-4e4f-bb70-41b73fe1246e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.223457} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1309,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.299189,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6d7f8a10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6d7f8a10-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6d7f8a10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df/signaling 200 11ms","method":"POST","requestID":"6d7f8a10-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0N30.lYu_-5o5KSn5YUTLDNz5WUtPxH5HyRXRC3zGiOf2Oo0","level":"info","message":"auth send jwt","requestID":"d28204d68f6cb1fbc1756f81bf2ba25f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d28204d68f6cb1fbc1756f81bf2ba25f","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5","requestID":"d28204d68f6cb1fbc1756f81bf2ba25f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1310,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1310,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.745069,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d28204d68f6cb1fbc1756f81bf2ba25f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676647,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0N30.lYu_-5o5KSn5YUTLDNz5WUtPxH5HyRXRC3zGiOf2Oo0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d28204d68f6cb1fbc1756f81bf2ba25f","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5","requestID":"d28204d68f6cb1fbc1756f81bf2ba25f"} experiment-1 | {"level":"info","message":"GET /experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5 200 13ms","method":"GET","requestID":"d28204d68f6cb1fbc1756f81bf2ba25f","responseTime":13,"status":200,"url":"/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"} gateway-1 | {"time_local":"18/Sep/2024:16:24:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5 HTTP/1.1","status": "200","body_bytes_sent":"1289","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d28204d68f6cb1fbc1756f81bf2ba25f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0N30.lYu_-5o5KSn5YUTLDNz5WUtPxH5HyRXRC3zGiOf2Oo0","level":"info","message":"auth send jwt","requestID":"c0aa2bb17e368cb10841cc0b6a56cca3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c0aa2bb17e368cb10841cc0b6a56cca3","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5","requestID":"c0aa2bb17e368cb10841cc0b6a56cca3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1311,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1311,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.882816,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c0aa2bb17e368cb10841cc0b6a56cca3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676647,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0N30.lYu_-5o5KSn5YUTLDNz5WUtPxH5HyRXRC3zGiOf2Oo0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c0aa2bb17e368cb10841cc0b6a56cca3","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"},"level":"info","message":"Attempting to finish experiment","requestID":"c0aa2bb17e368cb10841cc0b6a56cca3"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"6d8a5f80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1312,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1312,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.30694,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6d8a5f80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676647,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0N30.lYu_-5o5KSn5YUTLDNz5WUtPxH5HyRXRC3zGiOf2Oo0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6d8a5f80-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e","device":"59fdbcb7-58f9-47cc-8857-431c34cbd4df","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"20adf2fa-acc0-44f8-955f-14d48c9f0d80","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"20adf2fa-acc0-44f8-955f-14d48c9f0d80","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"20adf2fa-acc0-44f8-955f-14d48c9f0d80","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"658f7993-5627-4fae-825a-a2aaa7e97f7e","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"50f6de49079cc818be1fa0ba5e0749f3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"50f6de49079cc818be1fa0ba5e0749f3","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"14483faa475b860eda7c0c52fac093be","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e"}}},"level":"info","message":"received a callback","requestID":"50f6de49079cc818be1fa0ba5e0749f3"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"14483faa475b860eda7c0c52fac093be","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e"}}},"level":"info","message":"received a callback","requestID":"14483faa475b860eda7c0c52fac093be"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F658f7993-5627-4fae-825a-a2aaa7e97f7e': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F658f7993-5627-4fae-825a-a2aaa7e97f7e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"98471fea-bf68-4c25-97c8-47f28fa521b6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.3150587} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e74d3a0e-f09d-4ca6-b86a-9dc4b864c355","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.315477} device-1 | {"data":{"peerconnection":"658f7993-5627-4fae-825a-a2aaa7e97f7e","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"6d8a5f80-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"6d8a5f80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e 204 35ms","method":"DELETE","requestID":"6d8a5f80-75da-11ef-ba7c-09eaa4331ae1","responseTime":35,"status":204,"url":"/peerconnections/658f7993-5627-4fae-825a-a2aaa7e97f7e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"},"level":"info","message":"Successfully finished experiment","requestID":"c0aa2bb17e368cb10841cc0b6a56cca3"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6d92eb00-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1313,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20adf2fa-acc0-44f8-955f-14d48c9f0d80","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2da852df-a757-4a92-8813-48009bad6c9c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.3498638} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1313,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.230125,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6d92eb00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"6d92eb00-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6d92eb00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80/signaling 200 11ms","method":"POST","requestID":"6d92eb00-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6d950de0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8ba953b2-2c0f-4435-a8a3-e649107267f5': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8ba953b2-2c0f-4435-a8a3-e649107267f5","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"e0553ef3-223f-4ab1-9fc8-d96580954b4b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.3583364} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"35e8e45f-a96f-418a-81fd-9c5f602e2581","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.3586228} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"c0aa2bb17e368cb10841cc0b6a56cca3","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1314,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F59fdbcb7-58f9-47cc-8857-431c34cbd4df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4f8f79da-884b-4f22-a6d0-ac02e7406e8c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.3638966} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1314,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.867766,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6d950de0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6d950de0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6d950de0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df/signaling 200 10ms","method":"POST","requestID":"6d950de0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5","requestID":"c0aa2bb17e368cb10841cc0b6a56cca3"} gateway-1 | {"time_local":"18/Sep/2024:16:24:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.159","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c0aa2bb17e368cb10841cc0b6a56cca3"} experiment-1 | {"level":"info","message":"DELETE /experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5 204 155ms","method":"DELETE","requestID":"c0aa2bb17e368cb10841cc0b6a56cca3","responseTime":155,"status":204,"url":"/experiments/8ba953b2-2c0f-4435-a8a3-e649107267f5"} gateway-1 | {"time_local":"18/Sep/2024:16:24:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3626","request_time":"4.241","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"5ecddb69611de6555465cfd8de5f95ca"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 123ms","method":"POST","requestID":"50f6de49079cc818be1fa0ba5e0749f3","responseTime":123,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.127","http_referrer":"","http_user_agent":"node-fetch","requestID":"50f6de49079cc818be1fa0ba5e0749f3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 123ms","method":"POST","requestID":"14483faa475b860eda7c0c52fac093be","responseTime":123,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.127","http_referrer":"","http_user_agent":"node-fetch","requestID":"14483faa475b860eda7c0c52fac093be"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0N30.lYu_-5o5KSn5YUTLDNz5WUtPxH5HyRXRC3zGiOf2Oo0","level":"info","message":"auth send jwt","requestID":"bbca7e2cf30969db1fd023a43e37bef9"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"bbca7e2cf30969db1fd023a43e37bef9","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"bbca7e2cf30969db1fd023a43e37bef9"} gateway-1 | {"time_local":"18/Sep/2024:16:24:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3087","request_time":"2.762","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"51ec5dec676a23506ebbe2d479fcef68"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1315,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1315,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.894704,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"bbca7e2cf30969db1fd023a43e37bef9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676647,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0N30.lYu_-5o5KSn5YUTLDNz5WUtPxH5HyRXRC3zGiOf2Oo0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bbca7e2cf30969db1fd023a43e37bef9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/20adf2fa-acc0-44f8-955f-14d48c9f0d80' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"28d9db9b-9c27-4b1e-b4a6-48b0e91310b6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.46214} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/59fdbcb7-58f9-47cc-8857-431c34cbd4df' closed"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"bbca7e2cf30969db1fd023a43e37bef9","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e9b39060-e557-4402-a762-e81d81e6aeda","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.468458} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"bbca7e2cf30969db1fd023a43e37bef9","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"c3bbd05e-bfa8-4e33-ae8e-b138330cba54","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.4785829} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ad7cdbbe-eeb6-423c-ab0f-9970b5b00edb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.4788136} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"bbca7e2cf30969db1fd023a43e37bef9","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:07.478530603Z"}]},"request_id":"51964bae-9c60-443e-93b7-8aa4a0ecf743","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.4840407} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"bbca7e2cf30969db1fd023a43e37bef9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"bbca7e2cf30969db1fd023a43e37bef9"} gateway-1 | {"time_local":"18/Sep/2024:16:24:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.056","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bbca7e2cf30969db1fd023a43e37bef9"} device-1 | {"level":"info","message":"POST /devices? 201 49ms","method":"POST","requestID":"bbca7e2cf30969db1fd023a43e37bef9","responseTime":49,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0N30.lYu_-5o5KSn5YUTLDNz5WUtPxH5HyRXRC3zGiOf2Oo0","level":"info","message":"auth send jwt","requestID":"9576a4ae79f90313efedef11046d2581"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9576a4ae79f90313efedef11046d2581","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"9576a4ae79f90313efedef11046d2581"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1316,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1316,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.93271,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:07Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9576a4ae79f90313efedef11046d2581","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676647,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0N30.lYu_-5o5KSn5YUTLDNz5WUtPxH5HyRXRC3zGiOf2Oo0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9576a4ae79f90313efedef11046d2581","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"260b8274-aab8-413b-8205-4460b75a810d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.5150774} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9576a4ae79f90313efedef11046d2581","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c6b63a12-0697-43cc-9e53-077e191301ec","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.5201714} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"9576a4ae79f90313efedef11046d2581","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"d8792e61-8197-449b-87ad-b76b303a4d5c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.5303981} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f6e969cf-fb62-4f6c-ae76-6e6b9c845b52","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.5306866} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"9576a4ae79f90313efedef11046d2581","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:07.530367602Z"}]},"request_id":"ef48512a-8915-453f-ac42-dfdbdab6b3e0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676647.5350578} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9576a4ae79f90313efedef11046d2581","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9576a4ae79f90313efedef11046d2581"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"9576a4ae79f90313efedef11046d2581","responseTime":46,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9576a4ae79f90313efedef11046d2581"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4","level":"info","message":"auth send jwt","requestID":"4bfd800e2934fda8bd9f9c190d59ff47"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"4bfd800e2934fda8bd9f9c190d59ff47","responseTime":8,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4","level":"info","message":"auth send jwt","requestID":"de2dd12027f76e3ebb935711a5e4bd2b"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"de2dd12027f76e3ebb935711a5e4bd2b","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"4bfd800e2934fda8bd9f9c190d59ff47"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"de2dd12027f76e3ebb935711a5e4bd2b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1317,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1317,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.641549,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4bfd800e2934fda8bd9f9c190d59ff47","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676648,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4bfd800e2934fda8bd9f9c190d59ff47","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Received request.","req_id":1318,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Sent response.","req_id":1318,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.586279,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"de2dd12027f76e3ebb935711a5e4bd2b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676648,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"de2dd12027f76e3ebb935711a5e4bd2b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:07.530367602Z"}]},"request_id":"cbba3d05-0210-41e3-b41a-aadd7aaf1409","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.0188885} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4bfd800e2934fda8bd9f9c190d59ff47","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:07.478530603Z"}]},"request_id":"4ffd6f5c-46b6-450f-b316-73a1a5d8a627","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.0194626} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"de2dd12027f76e3ebb935711a5e4bd2b","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"eeed7f79-1bfc-48d2-b3cb-ba291e155df3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.023528} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6e16aad3-2285-4119-a07d-c2679aa73292","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.0244446} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"4bfd800e2934fda8bd9f9c190d59ff47","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"de2dd12027f76e3ebb935711a5e4bd2b","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:07.478530603Z"}]},"request_id":"0164fbc0-df43-4850-922b-702639278b1b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.0282598} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"de2dd12027f76e3ebb935711a5e4bd2b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"de2dd12027f76e3ebb935711a5e4bd2b"} device-1 | {"level":"info","message":"PATCH /devices/c65f462a-537b-4007-9bfb-718bd54db34d 200 22ms","method":"PATCH","requestID":"de2dd12027f76e3ebb935711a5e4bd2b","responseTime":22,"status":200,"url":"/devices/c65f462a-537b-4007-9bfb-718bd54db34d"} gateway-1 | {"time_local":"18/Sep/2024:16:24:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c65f462a-537b-4007-9bfb-718bd54db34d HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.032","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"de2dd12027f76e3ebb935711a5e4bd2b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4","level":"info","message":"auth send jwt","requestID":"eb44d8980efb1ee5c83123ddc0e4f52b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"eb44d8980efb1ee5c83123ddc0e4f52b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"eb44d8980efb1ee5c83123ddc0e4f52b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:07.530367602Z"}]},"request_id":"e03683e5-621f-482b-bb8b-ed22fb5e7bac","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.037329} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4bfd800e2934fda8bd9f9c190d59ff47","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1319,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1319,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.623048,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"4bfd800e2934fda8bd9f9c190d59ff47"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"eb44d8980efb1ee5c83123ddc0e4f52b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676648,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4"} gateway-1 | {"time_local":"18/Sep/2024:16:24:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/f8417003-e03a-489e-8cf2-846332bbb04e HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.041","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"4bfd800e2934fda8bd9f9c190d59ff47"} device-1 | {"level":"info","message":"PATCH /devices/f8417003-e03a-489e-8cf2-846332bbb04e 200 32ms","method":"PATCH","requestID":"4bfd800e2934fda8bd9f9c190d59ff47","responseTime":32,"status":200,"url":"/devices/f8417003-e03a-489e-8cf2-846332bbb04e"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"eb44d8980efb1ee5c83123ddc0e4f52b","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4","level":"info","message":"auth send jwt","requestID":"a6a543c49a14b6c2934d6a29ce78cf72"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"a6a543c49a14b6c2934d6a29ce78cf72","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"a6a543c49a14b6c2934d6a29ce78cf72"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1320,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1320,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.196685,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a6a543c49a14b6c2934d6a29ce78cf72","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676648,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a6a543c49a14b6c2934d6a29ce78cf72","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"eb44d8980efb1ee5c83123ddc0e4f52b"} gateway-1 | {"time_local":"18/Sep/2024:16:24:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c65f462a-537b-4007-9bfb-718bd54db34d/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.023","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"eb44d8980efb1ee5c83123ddc0e4f52b"} device-1 | {"level":"info","message":"POST /devices/c65f462a-537b-4007-9bfb-718bd54db34d/websocket 200 19ms","method":"POST","requestID":"eb44d8980efb1ee5c83123ddc0e4f52b","responseTime":19,"status":200,"url":"/devices/c65f462a-537b-4007-9bfb-718bd54db34d/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"a6a543c49a14b6c2934d6a29ce78cf72"} device-1 | {"level":"info","message":"POST /devices/f8417003-e03a-489e-8cf2-846332bbb04e/websocket 200 19ms","method":"POST","requestID":"a6a543c49a14b6c2934d6a29ce78cf72","responseTime":19,"status":200,"url":"/devices/f8417003-e03a-489e-8cf2-846332bbb04e/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:24:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f8417003-e03a-489e-8cf2-846332bbb04e/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.025","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"a6a543c49a14b6c2934d6a29ce78cf72"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4","level":"info","message":"auth send jwt","requestID":"6bcec5a610df92bcb1f2590afac22a4e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6bcec5a610df92bcb1f2590afac22a4e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6bcec5a610df92bcb1f2590afac22a4e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1321,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1321,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.014743,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6bcec5a610df92bcb1f2590afac22a4e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676648,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6bcec5a610df92bcb1f2590afac22a4e","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:07.478530603Z"}]},"request_id":"f115a08b-376e-4246-8f2e-37ccd29d47d1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.105774} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6bcec5a610df92bcb1f2590afac22a4e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6bcec5a610df92bcb1f2590afac22a4e"} device-1 | {"level":"info","message":"GET /devices/c65f462a-537b-4007-9bfb-718bd54db34d? 200 14ms","method":"GET","requestID":"6bcec5a610df92bcb1f2590afac22a4e","responseTime":14,"status":200,"url":"/devices/c65f462a-537b-4007-9bfb-718bd54db34d?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c65f462a-537b-4007-9bfb-718bd54db34d? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6bcec5a610df92bcb1f2590afac22a4e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4","level":"info","message":"auth send jwt","requestID":"333fa042b33cd9040280b0f174c42c06"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"333fa042b33cd9040280b0f174c42c06","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"333fa042b33cd9040280b0f174c42c06"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1322,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1322,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.660173,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"333fa042b33cd9040280b0f174c42c06","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676648,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"333fa042b33cd9040280b0f174c42c06","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:07.530367602Z"}]},"request_id":"93445b6e-5088-4ebf-8c1f-2257dd825ca2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.1235363} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"333fa042b33cd9040280b0f174c42c06","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"333fa042b33cd9040280b0f174c42c06"} device-1 | {"level":"info","message":"GET /devices/f8417003-e03a-489e-8cf2-846332bbb04e? 200 12ms","method":"GET","requestID":"333fa042b33cd9040280b0f174c42c06","responseTime":12,"status":200,"url":"/devices/f8417003-e03a-489e-8cf2-846332bbb04e?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f8417003-e03a-489e-8cf2-846332bbb04e? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"333fa042b33cd9040280b0f174c42c06"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4","level":"info","message":"auth send jwt","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1323,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1323,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.97395,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"32cd4c632ebcbd6332c4dc05de7f04b9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676648,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"},"level":"info","message":"Attempting to run experiment","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"},"level":"info","message":"Attempting to book experiment","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"},"level":"info","message":"Successfully booked experiment","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6e111bb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6e1169d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1324,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1324,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.205517,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Received request.","req_id":1325,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6e111bb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676648,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6e111bb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Sent response.","req_id":1325,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.066129,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6e1169d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676648,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6e1169d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:07.478530603Z"}]},"request_id":"b89e461e-0cbb-46d4-8cd9-e95a45541f45","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.1843789} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"6e111bb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:07.530367602Z"}]},"request_id":"73275574-01c3-43dd-8064-2c799e0b296e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.185742} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"6e1169d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6e111bb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/c65f462a-537b-4007-9bfb-718bd54db34d? 200 24ms","method":"GET","requestID":"6e111bb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/devices/c65f462a-537b-4007-9bfb-718bd54db34d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6e1169d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/f8417003-e03a-489e-8cf2-846332bbb04e? 200 23ms","method":"GET","requestID":"6e1169d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":23,"status":200,"url":"/devices/f8417003-e03a-489e-8cf2-846332bbb04e?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"},"level":"info","message":"Setting up experiment","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"},"level":"info","message":"Successfully locked booking for experiment","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"},"level":"info","message":"Attempting to update booking for experiment","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"},"level":"info","message":"Successfully updated booking for experiment","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"},"level":"info","message":"Successfully set up experiment","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6e1d0290-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6e1d29a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6e1d50b0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"},"level":"info","message":"Successfully running experiment","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1326,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1326,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.681136,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Received request.","req_id":1327,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Sent response.","req_id":1327,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.026081,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:52606","level":"info","msg":"Received request.","req_id":1328,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6e1d0290-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676648,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"6e1d0290-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6e1d29a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676648,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"6e1d29a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52606","level":"info","msg":"Sent response.","req_id":1328,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.041793,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eb4bb3e6-f277-40b1-aa19-aaa983d2f6d5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.258255} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6e1d50b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 13ms","method":"POST","requestID":"6e1d50b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:07.478530603Z"}]},"request_id":"6375306e-274c-4b56-aa75-cf2620b1728a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.2660513} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6e1d50b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"6e1d0290-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"POST /devices/c65f462a-537b-4007-9bfb-718bd54db34d/signaling 200 19ms","method":"POST","requestID":"6e1d50b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/c65f462a-537b-4007-9bfb-718bd54db34d/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:07.530367602Z"}]},"request_id":"42ee3424-a753-493d-9f6a-f0b1298f9369","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.2695405} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6e1d29a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6e20d320-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6e1d0290-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/c65f462a-537b-4007-9bfb-718bd54db34d? 200 28ms","method":"GET","requestID":"6e1d0290-75da-11ef-ba7c-09eaa4331ae1","responseTime":28,"status":200,"url":"/devices/c65f462a-537b-4007-9bfb-718bd54db34d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6e1d29a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/f8417003-e03a-489e-8cf2-846332bbb04e? 200 28ms","method":"GET","requestID":"6e1d29a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":28,"status":200,"url":"/devices/f8417003-e03a-489e-8cf2-846332bbb04e?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1329,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"876b75b3-7aa6-4c14-87f3-fa3107138e1d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.2792373} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"9f15522f-2a87-4703-bb07-ba39e1592a8f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.2797377} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1329,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.463489,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8fcbeccf-03c8-44cd-b444-d9a39eb52bf2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.2801533} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6e21bd80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6e20d320-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6e20d320-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9","responseTime":24,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6e20d320-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f8417003-e03a-489e-8cf2-846332bbb04e/signaling 200 10ms","method":"POST","requestID":"6e20d320-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/f8417003-e03a-489e-8cf2-846332bbb04e/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1330,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"072bc7fa-1250-4143-8059-74e986b9055b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.287603} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1330,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.768042,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6e21bd80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"6e21bd80-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} gateway-1 | {"time_local":"18/Sep/2024:16:24:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1220","request_time":"0.162","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} experiment-1 | {"level":"info","message":"POST /experiments? 201 156ms","method":"POST","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9","responseTime":156,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6e21bd80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c65f462a-537b-4007-9bfb-718bd54db34d/signaling 200 13ms","method":"POST","requestID":"6e21bd80-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/c65f462a-537b-4007-9bfb-718bd54db34d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6e240770-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4","level":"info","message":"auth send jwt","requestID":"63cffeffe109b6a69c3c35d26f4dc36c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"63cffeffe109b6a69c3c35d26f4dc36c","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"63cffeffe109b6a69c3c35d26f4dc36c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1331,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Received request.","req_id":1332,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"547a1270-c576-40fc-8b9d-f5e07d5677ee","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.300243} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Sent response.","req_id":1332,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.929289,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"63cffeffe109b6a69c3c35d26f4dc36c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676648,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"63cffeffe109b6a69c3c35d26f4dc36c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1331,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.984598,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6e240770-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6e240770-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:07.478530603Z"}]},"request_id":"479b0196-3ce5-4502-960f-a8e439a70865","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.3049903} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6e240770-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f8417003-e03a-489e-8cf2-846332bbb04e/signaling 200 10ms","method":"POST","requestID":"6e240770-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/f8417003-e03a-489e-8cf2-846332bbb04e/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"63cffeffe109b6a69c3c35d26f4dc36c","responseTime":4,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6e25dc30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6e260340-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"63cffeffe109b6a69c3c35d26f4dc36c"} gateway-1 | {"time_local":"18/Sep/2024:16:24:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c65f462a-537b-4007-9bfb-718bd54db34d? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"63cffeffe109b6a69c3c35d26f4dc36c"} device-1 | {"level":"info","message":"GET /devices/c65f462a-537b-4007-9bfb-718bd54db34d? 200 14ms","method":"GET","requestID":"63cffeffe109b6a69c3c35d26f4dc36c","responseTime":14,"status":200,"url":"/devices/c65f462a-537b-4007-9bfb-718bd54db34d?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1333,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Received request.","req_id":1334,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Sent response.","req_id":1334,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.24508,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1333,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.965223,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6e260340-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676648,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6e260340-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6e25dc30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676648,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4","level":"info","message":"auth send jwt","requestID":"13175fe3278d6322908489ff1b4f4777"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"6e25dc30-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"13175fe3278d6322908489ff1b4f4777","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"13175fe3278d6322908489ff1b4f4777"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:07.530367602Z"}]},"request_id":"aeb2f1c4-d1d0-4c97-82bd-ab37b989d69a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.317531} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6e260340-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:07.478530603Z"}]},"request_id":"288e2187-804b-4fa8-9785-935aa3b588cc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.3186793} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6e260340-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"6e25dc30-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/f8417003-e03a-489e-8cf2-846332bbb04e? 200 14ms","method":"GET","requestID":"6e260340-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/f8417003-e03a-489e-8cf2-846332bbb04e?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1335,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1335,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.782589,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"13175fe3278d6322908489ff1b4f4777","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676648,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"13175fe3278d6322908489ff1b4f4777","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6e25dc30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/c65f462a-537b-4007-9bfb-718bd54db34d? 200 18ms","method":"GET","requestID":"6e25dc30-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/c65f462a-537b-4007-9bfb-718bd54db34d?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:07.530367602Z"}]},"request_id":"6594925d-1ac0-4718-90b7-d50b4c94cef3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.3262744} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"},"level":"info","message":"Building connection plan","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"2ff92561-40c8-492c-9e42-6a346a598b1a"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"6c31cc00-2dbd-4b6a-88c4-eb463bcec973"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"9ee1a340-5fcc-47d1-9156-002d647c66b4"}]},"level":"info","message":"Built pairwise service configurations","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"13175fe3278d6322908489ff1b4f4777","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"6e293790-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"13175fe3278d6322908489ff1b4f4777"} gateway-1 | {"time_local":"18/Sep/2024:16:24:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f8417003-e03a-489e-8cf2-846332bbb04e? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"13175fe3278d6322908489ff1b4f4777"} device-1 | {"level":"info","message":"GET /devices/f8417003-e03a-489e-8cf2-846332bbb04e? 200 15ms","method":"GET","requestID":"13175fe3278d6322908489ff1b4f4777","responseTime":15,"status":200,"url":"/devices/f8417003-e03a-489e-8cf2-846332bbb04e?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1336,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1336,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.907991,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6e293790-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676648,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY0OH0.S9-K1ym_oUVYej5BDKHWqx7lfOXet9taXdj36zDN6j4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6e293790-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"6940a4d4-f069-40d2-8441-61ad1aa13e55","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.3433354} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"69243965-bed7-453a-bcec-69c2deb4f771","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.3435585} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"6e293790-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"6e293790-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"6e293790-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/6a8ad4e0-656a-4859-af6f-bc6de16f7a14'","requestID":"6e293790-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/6a8ad4e0-656a-4859-af6f-bc6de16f7a14'","requestID":"6e293790-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"6e293790-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 27ms","method":"POST","requestID":"6e293790-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"6e293790-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"32cd4c632ebcbd6332c4dc05de7f04b9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6e31ea20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1337,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5bbb8a1d-f237-4a95-bd98-f7242115dcff","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.3917842} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1337,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.943526,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6e31ea20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"6e31ea20-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6e31ea20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c65f462a-537b-4007-9bfb-718bd54db34d/signaling 200 10ms","method":"POST","requestID":"6e31ea20-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/c65f462a-537b-4007-9bfb-718bd54db34d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6e33e5f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1338,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3742ef21-5c26-4dbd-9184-f8a53ef6756d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676648.404873} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1338,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.952185,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6e33e5f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"6e33e5f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6e33e5f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f8417003-e03a-489e-8cf2-846332bbb04e/signaling 200 11ms","method":"POST","requestID":"6e33e5f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/f8417003-e03a-489e-8cf2-846332bbb04e/signaling"} device-1 | {"device":"f8417003-e03a-489e-8cf2-846332bbb04e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"6a8ad4e0-656a-4859-af6f-bc6de16f7a14","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"c65f462a-537b-4007-9bfb-718bd54db34d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"6a8ad4e0-656a-4859-af6f-bc6de16f7a14","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"c65f462a-537b-4007-9bfb-718bd54db34d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c65f462a-537b-4007-9bfb-718bd54db34d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c65f462a-537b-4007-9bfb-718bd54db34d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c65f462a-537b-4007-9bfb-718bd54db34d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/6a8ad4e0-656a-4859-af6f-bc6de16f7a14' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"6a8ad4e0-656a-4859-af6f-bc6de16f7a14","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"49e18a4f06ae4710a961870d02c8eb8d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"49e18a4f06ae4710a961870d02c8eb8d","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/6a8ad4e0-656a-4859-af6f-bc6de16f7a14"}}},"level":"info","message":"received a callback","requestID":"49e18a4f06ae4710a961870d02c8eb8d"} device-1 | {"device":"f8417003-e03a-489e-8cf2-846332bbb04e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"f8417003-e03a-489e-8cf2-846332bbb04e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"f8417003-e03a-489e-8cf2-846332bbb04e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"49e18a4f06ae4710a961870d02c8eb8d","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch","requestID":"49e18a4f06ae4710a961870d02c8eb8d"} device-1 | {"data":{"peerconnection":"6a8ad4e0-656a-4859-af6f-bc6de16f7a14","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"c65f462a-537b-4007-9bfb-718bd54db34d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"f8417003-e03a-489e-8cf2-846332bbb04e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c65f462a-537b-4007-9bfb-718bd54db34d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"f8417003-e03a-489e-8cf2-846332bbb04e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"6a8ad4e0-656a-4859-af6f-bc6de16f7a14","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/6a8ad4e0-656a-4859-af6f-bc6de16f7a14' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"6a8ad4e0-656a-4859-af6f-bc6de16f7a14","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"25ef5923bf62405cb12fe9c2509f6fad","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"25ef5923bf62405cb12fe9c2509f6fad","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/6a8ad4e0-656a-4859-af6f-bc6de16f7a14"}}},"level":"info","message":"received a callback","requestID":"25ef5923bf62405cb12fe9c2509f6fad"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"6f705d90-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1339,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F6a8ad4e0-656a-4859-af6f-bc6de16f7a14","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f4a82a40-e91e-428c-81b2-a4a3fd7964d2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.4804096} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1339,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":4.206774,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/6a8ad4e0-656a-4859-af6f-bc6de16f7a14","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6f705d90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/6a8ad4e0-656a-4859-af6f-bc6de16f7a14","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"6f705d90-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"6f705d90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/6a8ad4e0-656a-4859-af6f-bc6de16f7a14 200 14ms","method":"GET","requestID":"6f705d90-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/peerconnections/6a8ad4e0-656a-4859-af6f-bc6de16f7a14"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 50ms","method":"POST","requestID":"25ef5923bf62405cb12fe9c2509f6fad","responseTime":50,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.055","http_referrer":"","http_user_agent":"node-fetch","requestID":"25ef5923bf62405cb12fe9c2509f6fad"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6f76ed40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1340,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f79b1d1d-85da-4b60-98a3-85efeaf64c1a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.5232115} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1340,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.128942,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6f76ed40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"6f76ed40-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6f76ed40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c65f462a-537b-4007-9bfb-718bd54db34d/signaling 200 14ms","method":"POST","requestID":"6f76ed40-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/c65f462a-537b-4007-9bfb-718bd54db34d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6f798550-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1341,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"411dd699-688a-40c2-9373-3a7c9e36d602","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.54002} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1341,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.008756,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6f798550-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"6f798550-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6f798550-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f8417003-e03a-489e-8cf2-846332bbb04e/signaling 200 14ms","method":"POST","requestID":"6f798550-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/f8417003-e03a-489e-8cf2-846332bbb04e/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MH0.OAjXi6ratrsTb6b1aWjNrpOSdlmXjX8yD2eUW7vK9xs","level":"info","message":"auth send jwt","requestID":"d541769a9a0798faeb53b5791e9e10b6"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d541769a9a0798faeb53b5791e9e10b6","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51","requestID":"d541769a9a0798faeb53b5791e9e10b6"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1342,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1342,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":2.348405,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d541769a9a0798faeb53b5791e9e10b6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676650,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MH0.OAjXi6ratrsTb6b1aWjNrpOSdlmXjX8yD2eUW7vK9xs"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"d541769a9a0798faeb53b5791e9e10b6","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51","requestID":"d541769a9a0798faeb53b5791e9e10b6"} gateway-1 | {"time_local":"18/Sep/2024:16:24:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51 HTTP/1.1","status": "200","body_bytes_sent":"1293","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d541769a9a0798faeb53b5791e9e10b6"} experiment-1 | {"level":"info","message":"GET /experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51 200 17ms","method":"GET","requestID":"d541769a9a0798faeb53b5791e9e10b6","responseTime":17,"status":200,"url":"/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MH0.OAjXi6ratrsTb6b1aWjNrpOSdlmXjX8yD2eUW7vK9xs","level":"info","message":"auth send jwt","requestID":"19652baf987add4dc39efc20e39a5878"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"19652baf987add4dc39efc20e39a5878","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51","requestID":"19652baf987add4dc39efc20e39a5878"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1343,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1343,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.319071,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"19652baf987add4dc39efc20e39a5878","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676650,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MH0.OAjXi6ratrsTb6b1aWjNrpOSdlmXjX8yD2eUW7vK9xs"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"19652baf987add4dc39efc20e39a5878","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"},"level":"info","message":"Attempting to finish experiment","requestID":"19652baf987add4dc39efc20e39a5878"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"6f840ca0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1344,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1344,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.177923,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/6a8ad4e0-656a-4859-af6f-bc6de16f7a14","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6f840ca0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/6a8ad4e0-656a-4859-af6f-bc6de16f7a14","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676650,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MH0.OAjXi6ratrsTb6b1aWjNrpOSdlmXjX8yD2eUW7vK9xs"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6f840ca0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"f8417003-e03a-489e-8cf2-846332bbb04e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"f8417003-e03a-489e-8cf2-846332bbb04e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"f8417003-e03a-489e-8cf2-846332bbb04e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c65f462a-537b-4007-9bfb-718bd54db34d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c65f462a-537b-4007-9bfb-718bd54db34d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c65f462a-537b-4007-9bfb-718bd54db34d","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/6a8ad4e0-656a-4859-af6f-bc6de16f7a14' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/6a8ad4e0-656a-4859-af6f-bc6de16f7a14' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"6a8ad4e0-656a-4859-af6f-bc6de16f7a14","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F6a8ad4e0-656a-4859-af6f-bc6de16f7a14': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F6a8ad4e0-656a-4859-af6f-bc6de16f7a14","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"0ed5a834-9dde-47c4-a881-12d69916f082","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.6276217} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3de4333ca208fc16aee04b0e35edfbb6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3350f8c1-369e-4440-8878-744d89827e61","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.628174} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"3de4333ca208fc16aee04b0e35edfbb6","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e6262266d019c5629586a197324da9d6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/6a8ad4e0-656a-4859-af6f-bc6de16f7a14"}}},"level":"info","message":"received a callback","requestID":"3de4333ca208fc16aee04b0e35edfbb6"} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"6f840ca0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"e6262266d019c5629586a197324da9d6","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/6a8ad4e0-656a-4859-af6f-bc6de16f7a14"}}},"level":"info","message":"received a callback","requestID":"e6262266d019c5629586a197324da9d6"} device-1 | {"data":{"peerconnection":"6a8ad4e0-656a-4859-af6f-bc6de16f7a14","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"6f840ca0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/6a8ad4e0-656a-4859-af6f-bc6de16f7a14 204 49ms","method":"DELETE","requestID":"6f840ca0-75da-11ef-ba7c-09eaa4331ae1","responseTime":49,"status":204,"url":"/peerconnections/6a8ad4e0-656a-4859-af6f-bc6de16f7a14"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"},"level":"info","message":"Successfully finished experiment","requestID":"19652baf987add4dc39efc20e39a5878"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6f8ee210-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1345,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc65f462a-537b-4007-9bfb-718bd54db34d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cc2ad21f-b2f3-408f-bb6b-e99a9f694436","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.6804416} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1345,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.564268,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6f8ee210-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"6f8ee210-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6f8ee210-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/c65f462a-537b-4007-9bfb-718bd54db34d/signaling 200 14ms","method":"POST","requestID":"6f8ee210-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/c65f462a-537b-4007-9bfb-718bd54db34d/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"c0d9adc0-b740-45ab-845c-60b9d797d99f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.688504} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5f777090-6a4f-4f45-b1fa-0ad388b99347","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.6886587} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6f915310-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"19652baf987add4dc39efc20e39a5878","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1346,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff8417003-e03a-489e-8cf2-846332bbb04e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2279f456-659d-4921-bf3d-6c440c9b03e5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.69413} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1346,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.279593,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6f915310-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"6f915310-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6f915310-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f8417003-e03a-489e-8cf2-846332bbb04e/signaling 200 11ms","method":"POST","requestID":"6f915310-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/f8417003-e03a-489e-8cf2-846332bbb04e/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51","requestID":"19652baf987add4dc39efc20e39a5878"} gateway-1 | {"time_local":"18/Sep/2024:16:24:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.167","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"19652baf987add4dc39efc20e39a5878"} gateway-1 | {"time_local":"18/Sep/2024:16:24:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3094","request_time":"2.691","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"2afce96ebffe5315f72e2250ef841d9a"} gateway-1 | {"time_local":"18/Sep/2024:16:24:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3092","request_time":"2.679","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"3b7bbab6b0569a3d87538cd4b785ffea"} experiment-1 | {"level":"info","message":"DELETE /experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51 204 161ms","method":"DELETE","requestID":"19652baf987add4dc39efc20e39a5878","responseTime":161,"status":204,"url":"/experiments/0f3e3c07-5ceb-4f5d-831a-ca776ec7aa51"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 119ms","method":"POST","requestID":"3de4333ca208fc16aee04b0e35edfbb6","responseTime":120,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.124","http_referrer":"","http_user_agent":"node-fetch","requestID":"3de4333ca208fc16aee04b0e35edfbb6"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 117ms","method":"POST","requestID":"e6262266d019c5629586a197324da9d6","responseTime":117,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.124","http_referrer":"","http_user_agent":"node-fetch","requestID":"e6262266d019c5629586a197324da9d6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MH0.OAjXi6ratrsTb6b1aWjNrpOSdlmXjX8yD2eUW7vK9xs","level":"info","message":"auth send jwt","requestID":"ae96936456129e9f7a0fd371d7843578"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ae96936456129e9f7a0fd371d7843578","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"ae96936456129e9f7a0fd371d7843578"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/f8417003-e03a-489e-8cf2-846332bbb04e' closed"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1347,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1347,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.77871,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ae96936456129e9f7a0fd371d7843578","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676650,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MH0.OAjXi6ratrsTb6b1aWjNrpOSdlmXjX8yD2eUW7vK9xs"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ae96936456129e9f7a0fd371d7843578","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/c65f462a-537b-4007-9bfb-718bd54db34d' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"15da20c6-1d28-4524-9f39-5ae974962907","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.7763503} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ae96936456129e9f7a0fd371d7843578","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2c43a120-954a-4c94-b235-9da6d3a062fa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.7825656} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"ae96936456129e9f7a0fd371d7843578","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"3589b28e-e627-4928-9e90-43d605472d0f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.7919328} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"31f62666-070e-4562-afe0-a88e8d40e142","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.7920516} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"ae96936456129e9f7a0fd371d7843578","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:10.791900187Z"}]},"request_id":"b78f2031-2f09-4aeb-b4b2-5156236b2a0e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.796939} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ae96936456129e9f7a0fd371d7843578","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ae96936456129e9f7a0fd371d7843578"} gateway-1 | {"time_local":"18/Sep/2024:16:24:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ae96936456129e9f7a0fd371d7843578"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"ae96936456129e9f7a0fd371d7843578","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MH0.OAjXi6ratrsTb6b1aWjNrpOSdlmXjX8yD2eUW7vK9xs","level":"info","message":"auth send jwt","requestID":"772563d05c1224838b769245334ba37e"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"772563d05c1224838b769245334ba37e","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"772563d05c1224838b769245334ba37e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1348,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1348,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.820094,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:10Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"772563d05c1224838b769245334ba37e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676650,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MH0.OAjXi6ratrsTb6b1aWjNrpOSdlmXjX8yD2eUW7vK9xs"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"772563d05c1224838b769245334ba37e","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"268fd518-ce44-4095-afe8-998330057968","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.8194525} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"772563d05c1224838b769245334ba37e","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e11ac361-37d8-4443-a0c6-2c34e940efb0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.8243062} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"772563d05c1224838b769245334ba37e","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"73d5c5f9-fb1f-4a4b-a9cb-69a8bb12e87b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.840945} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"81dde770-244f-4bab-91f7-d651f58fee8d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.8411882} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"772563d05c1224838b769245334ba37e","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:10.840897585Z"}]},"request_id":"8b0ad75b-9f2a-46d9-9703-d55d028611dd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676650.8458712} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"772563d05c1224838b769245334ba37e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"772563d05c1224838b769245334ba37e"} gateway-1 | {"time_local":"18/Sep/2024:16:24:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"772563d05c1224838b769245334ba37e"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"772563d05c1224838b769245334ba37e","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE","level":"info","message":"auth send jwt","requestID":"ab469972a677cc2cf67ca5ce88f19ddb"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"ab469972a677cc2cf67ca5ce88f19ddb","responseTime":8,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE","level":"info","message":"auth send jwt","requestID":"cc7521220e972db5c80cf1a9d5ee3cd6"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"cc7521220e972db5c80cf1a9d5ee3cd6","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"ab469972a677cc2cf67ca5ce88f19ddb"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"cc7521220e972db5c80cf1a9d5ee3cd6"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1349,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1349,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.758148,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Received request.","req_id":1350,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ab469972a677cc2cf67ca5ce88f19ddb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676651,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ab469972a677cc2cf67ca5ce88f19ddb","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Sent response.","req_id":1350,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.924419,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"cc7521220e972db5c80cf1a9d5ee3cd6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676651,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"cc7521220e972db5c80cf1a9d5ee3cd6","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:10.791900187Z"}]},"request_id":"0bf861ea-d01f-4ef9-9858-57521616ad56","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.3305187} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ab469972a677cc2cf67ca5ce88f19ddb","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:10.840897585Z"}]},"request_id":"16e68777-723d-4adc-8e8e-e23b68380a1e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.331691} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cc7521220e972db5c80cf1a9d5ee3cd6","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"54c84268-afde-4bea-bd5e-f729ce4ea807","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.337138} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"ab469972a677cc2cf67ca5ce88f19ddb","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2e6e9102-23dd-4fc0-baf2-99b53c08f52b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.3389385} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"cc7521220e972db5c80cf1a9d5ee3cd6","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:10.840897585Z"}]},"request_id":"71fe67e3-84f8-493f-a128-74a054f4508d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.342064} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"cc7521220e972db5c80cf1a9d5ee3cd6","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"cc7521220e972db5c80cf1a9d5ee3cd6"} device-1 | {"level":"info","message":"PATCH /devices/6b8efb74-2469-43cf-a722-3b152c6756fd 200 32ms","method":"PATCH","requestID":"cc7521220e972db5c80cf1a9d5ee3cd6","responseTime":32,"status":200,"url":"/devices/6b8efb74-2469-43cf-a722-3b152c6756fd"} gateway-1 | {"time_local":"18/Sep/2024:16:24:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/6b8efb74-2469-43cf-a722-3b152c6756fd HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.042","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"cc7521220e972db5c80cf1a9d5ee3cd6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE","level":"info","message":"auth send jwt","requestID":"c5a8f27d43e799f2e7bde438d416d1c8"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:10.791900187Z"}]},"request_id":"aca746c7-7868-4ce4-a1f9-d4218f26e026","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.3517988} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c5a8f27d43e799f2e7bde438d416d1c8","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ab469972a677cc2cf67ca5ce88f19ddb","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"c5a8f27d43e799f2e7bde438d416d1c8"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"ab469972a677cc2cf67ca5ce88f19ddb"} gateway-1 | {"time_local":"18/Sep/2024:16:24:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/75302443-e8dd-464b-9989-2b4936cc5ce2 HTTP/1.1","status": "200","body_bytes_sent":"1331","request_time":"0.049","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"ab469972a677cc2cf67ca5ce88f19ddb"} device-1 | {"level":"info","message":"PATCH /devices/75302443-e8dd-464b-9989-2b4936cc5ce2 200 40ms","method":"PATCH","requestID":"ab469972a677cc2cf67ca5ce88f19ddb","responseTime":40,"status":200,"url":"/devices/75302443-e8dd-464b-9989-2b4936cc5ce2"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1351,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1351,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.024508,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c5a8f27d43e799f2e7bde438d416d1c8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676651,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c5a8f27d43e799f2e7bde438d416d1c8","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE","level":"info","message":"auth send jwt","requestID":"85220e442f7c2b2087f1a5cc7b2fa9d3"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"85220e442f7c2b2087f1a5cc7b2fa9d3","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"85220e442f7c2b2087f1a5cc7b2fa9d3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1352,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1352,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.867742,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"85220e442f7c2b2087f1a5cc7b2fa9d3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676651,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"85220e442f7c2b2087f1a5cc7b2fa9d3","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"c5a8f27d43e799f2e7bde438d416d1c8"} device-1 | {"level":"info","message":"POST /devices/6b8efb74-2469-43cf-a722-3b152c6756fd/websocket 200 19ms","method":"POST","requestID":"c5a8f27d43e799f2e7bde438d416d1c8","responseTime":19,"status":200,"url":"/devices/6b8efb74-2469-43cf-a722-3b152c6756fd/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:24:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/6b8efb74-2469-43cf-a722-3b152c6756fd/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.023","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"c5a8f27d43e799f2e7bde438d416d1c8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"85220e442f7c2b2087f1a5cc7b2fa9d3"} gateway-1 | {"time_local":"18/Sep/2024:16:24:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/75302443-e8dd-464b-9989-2b4936cc5ce2/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"85220e442f7c2b2087f1a5cc7b2fa9d3"} device-1 | {"level":"info","message":"POST /devices/75302443-e8dd-464b-9989-2b4936cc5ce2/websocket 200 20ms","method":"POST","requestID":"85220e442f7c2b2087f1a5cc7b2fa9d3","responseTime":20,"status":200,"url":"/devices/75302443-e8dd-464b-9989-2b4936cc5ce2/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE","level":"info","message":"auth send jwt","requestID":"0f368104826e78f44e1f01bd2cc2e4c9"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0f368104826e78f44e1f01bd2cc2e4c9","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0f368104826e78f44e1f01bd2cc2e4c9"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1353,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1353,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.850472,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0f368104826e78f44e1f01bd2cc2e4c9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676651,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0f368104826e78f44e1f01bd2cc2e4c9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:10.791900187Z"}]},"request_id":"25d62233-4f32-49e0-98e7-ffe54a5311a9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.4190161} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0f368104826e78f44e1f01bd2cc2e4c9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0f368104826e78f44e1f01bd2cc2e4c9"} gateway-1 | {"time_local":"18/Sep/2024:16:24:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/75302443-e8dd-464b-9989-2b4936cc5ce2? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0f368104826e78f44e1f01bd2cc2e4c9"} device-1 | {"level":"info","message":"GET /devices/75302443-e8dd-464b-9989-2b4936cc5ce2? 200 14ms","method":"GET","requestID":"0f368104826e78f44e1f01bd2cc2e4c9","responseTime":14,"status":200,"url":"/devices/75302443-e8dd-464b-9989-2b4936cc5ce2?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE","level":"info","message":"auth send jwt","requestID":"269f2c1bd83e167b79daf08abfba8df9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"269f2c1bd83e167b79daf08abfba8df9","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"269f2c1bd83e167b79daf08abfba8df9"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1354,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1354,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.873299,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"269f2c1bd83e167b79daf08abfba8df9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676651,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"269f2c1bd83e167b79daf08abfba8df9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:10.840897585Z"}]},"request_id":"8fdeb063-7af6-4387-8daa-b8adc08d106e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.4391298} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"269f2c1bd83e167b79daf08abfba8df9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"269f2c1bd83e167b79daf08abfba8df9"} gateway-1 | {"time_local":"18/Sep/2024:16:24:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6b8efb74-2469-43cf-a722-3b152c6756fd? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"269f2c1bd83e167b79daf08abfba8df9"} device-1 | {"level":"info","message":"GET /devices/6b8efb74-2469-43cf-a722-3b152c6756fd? 200 13ms","method":"GET","requestID":"269f2c1bd83e167b79daf08abfba8df9","responseTime":13,"status":200,"url":"/devices/6b8efb74-2469-43cf-a722-3b152c6756fd?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE","level":"info","message":"auth send jwt","requestID":"d5c584e8ff5318ff096772da3bc6064a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d5c584e8ff5318ff096772da3bc6064a","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"d5c584e8ff5318ff096772da3bc6064a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1355,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1355,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.080584,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d5c584e8ff5318ff096772da3bc6064a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676651,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d5c584e8ff5318ff096772da3bc6064a","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"},"level":"info","message":"Attempting to run experiment","requestID":"d5c584e8ff5318ff096772da3bc6064a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"},"level":"info","message":"Attempting to book experiment","requestID":"d5c584e8ff5318ff096772da3bc6064a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"},"level":"info","message":"Successfully booked experiment","requestID":"d5c584e8ff5318ff096772da3bc6064a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"700aa1c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"700aefe0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1356,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1356,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.771323,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Received request.","req_id":1357,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"700aa1c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676651,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"700aa1c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Sent response.","req_id":1357,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.683404,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"700aefe0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676651,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"700aefe0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:10.791900187Z"}]},"request_id":"8e677225-8ce4-4ff2-a1cf-da2c78b2ab90","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.4977374} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"700aa1c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:10.840897585Z"}]},"request_id":"aa7562c6-60a1-4d89-9029-b0026e3a729f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.4993849} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"700aefe0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"700aa1c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/75302443-e8dd-464b-9989-2b4936cc5ce2? 200 20ms","method":"GET","requestID":"700aa1c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/75302443-e8dd-464b-9989-2b4936cc5ce2?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"700aefe0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/6b8efb74-2469-43cf-a722-3b152c6756fd? 200 20ms","method":"GET","requestID":"700aefe0-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/6b8efb74-2469-43cf-a722-3b152c6756fd?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"},"level":"info","message":"Setting up experiment","requestID":"d5c584e8ff5318ff096772da3bc6064a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"d5c584e8ff5318ff096772da3bc6064a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"},"level":"info","message":"Successfully locked booking for experiment","requestID":"d5c584e8ff5318ff096772da3bc6064a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"d5c584e8ff5318ff096772da3bc6064a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"d5c584e8ff5318ff096772da3bc6064a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"},"level":"info","message":"Attempting to update booking for experiment","requestID":"d5c584e8ff5318ff096772da3bc6064a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"},"level":"info","message":"Successfully updated booking for experiment","requestID":"d5c584e8ff5318ff096772da3bc6064a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"},"level":"info","message":"Successfully set up experiment","requestID":"d5c584e8ff5318ff096772da3bc6064a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"70152910-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"70157730-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7015ec60-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"},"level":"info","message":"Successfully running experiment","requestID":"d5c584e8ff5318ff096772da3bc6064a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1358,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1358,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.074227,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Received request.","req_id":1359,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"70152910-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676651,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"70152910-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Sent response.","req_id":1359,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.057233,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"70157730-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676651,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"70157730-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1360,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3bb34d64-7180-4c12-b710-31043a466ee7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.5662484} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1360,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.227361,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7015ec60-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7015ec60-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7015ec60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/75302443-e8dd-464b-9989-2b4936cc5ce2/signaling 200 13ms","method":"POST","requestID":"7015ec60-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/75302443-e8dd-464b-9989-2b4936cc5ce2/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:10.791900187Z"}]},"request_id":"91e06a7e-a5ba-43ab-8971-8cde5dfcd877","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.570055} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"70152910-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:10.840897585Z"}]},"request_id":"9eebbc12-e5be-4cd5-bd0d-0a9f1ff7c0d4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.5718145} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"70157730-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"70183650-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1361,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"70152910-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/75302443-e8dd-464b-9989-2b4936cc5ce2? 200 25ms","method":"GET","requestID":"70152910-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/devices/75302443-e8dd-464b-9989-2b4936cc5ce2?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"69023491-4c15-41fc-9e3a-e221ae110b46","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.578165} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"70157730-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1361,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.636079,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} device-1 | {"level":"info","message":"GET /devices/6b8efb74-2469-43cf-a722-3b152c6756fd? 200 24ms","method":"GET","requestID":"70157730-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/devices/6b8efb74-2469-43cf-a722-3b152c6756fd?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"70183650-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"70183650-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"701995e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F70b8f1cf-fa32-47cf-b268-76c45cc329c3#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F70b8f1cf-fa32-47cf-b268-76c45cc329c3","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"d345b90d-f12d-4b7e-a2de-dd808cddd7ea","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.5831509} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5f1aa24f-1b48-40b4-987c-31df3f99636a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.583461} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"70183650-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6b8efb74-2469-43cf-a722-3b152c6756fd/signaling 200 12ms","method":"POST","requestID":"70183650-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/6b8efb74-2469-43cf-a722-3b152c6756fd/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"d5c584e8ff5318ff096772da3bc6064a","responseTime":24,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1362,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e90571a7-8d05-4edb-bca8-eb6c376628c6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.5891387} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1362,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.790339,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"701995e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"701995e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"701995e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/75302443-e8dd-464b-9989-2b4936cc5ce2/signaling 200 12ms","method":"POST","requestID":"701995e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/75302443-e8dd-464b-9989-2b4936cc5ce2/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"d5c584e8ff5318ff096772da3bc6064a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"701bb8c0-75da-11ef-ba7c-09eaa4331ae1"} gateway-1 | {"time_local":"18/Sep/2024:16:24:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1220","request_time":"0.152","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d5c584e8ff5318ff096772da3bc6064a"} experiment-1 | {"level":"info","message":"POST /experiments? 201 147ms","method":"POST","requestID":"d5c584e8ff5318ff096772da3bc6064a","responseTime":147,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1363,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE","level":"info","message":"auth send jwt","requestID":"ba30d3a5c0003364e5575346e33e602a"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e0888221-7704-4946-be56-d22029f6a062","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.6012743} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"ba30d3a5c0003364e5575346e33e602a","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1363,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.648382,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ba30d3a5c0003364e5575346e33e602a"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"701bb8c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"701bb8c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1364,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"701bb8c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6b8efb74-2469-43cf-a722-3b152c6756fd/signaling 200 9ms","method":"POST","requestID":"701bb8c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/6b8efb74-2469-43cf-a722-3b152c6756fd/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1364,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.905146,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"d5c584e8ff5318ff096772da3bc6064a"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ba30d3a5c0003364e5575346e33e602a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676651,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ba30d3a5c0003364e5575346e33e602a","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"701d8d80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"701db490-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1365,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1365,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.606938,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"701d8d80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676651,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"701d8d80-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Received request.","req_id":1366,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Sent response.","req_id":1366,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.627146,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"701db490-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676651,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"701db490-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:10.791900187Z"}]},"request_id":"c09faf0e-4381-4b3d-8585-ad1a8a3cd93e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.6138983} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ba30d3a5c0003364e5575346e33e602a","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ba30d3a5c0003364e5575346e33e602a"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:10.791900187Z"}]},"request_id":"48ed82df-d64b-4c94-a872-6f2e882a5a47","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.6187856} device-1 | {"level":"info","message":"GET /devices/75302443-e8dd-464b-9989-2b4936cc5ce2? 200 17ms","method":"GET","requestID":"ba30d3a5c0003364e5575346e33e602a","responseTime":17,"status":200,"url":"/devices/75302443-e8dd-464b-9989-2b4936cc5ce2?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"701d8d80-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} gateway-1 | {"time_local":"18/Sep/2024:16:24:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/75302443-e8dd-464b-9989-2b4936cc5ce2? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ba30d3a5c0003364e5575346e33e602a"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:10.840897585Z"}]},"request_id":"fca7abd0-3ced-4f50-aaf3-42dcf25f683e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.6195126} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"701db490-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"701d8d80-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE","level":"info","message":"auth send jwt","requestID":"86c8baef0fba444af08acfadb1fe977f"} device-1 | {"level":"info","message":"GET /devices/75302443-e8dd-464b-9989-2b4936cc5ce2? 200 16ms","method":"GET","requestID":"701d8d80-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/75302443-e8dd-464b-9989-2b4936cc5ce2?"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"86c8baef0fba444af08acfadb1fe977f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"701db490-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/6b8efb74-2469-43cf-a722-3b152c6756fd? 200 16ms","method":"GET","requestID":"701db490-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/6b8efb74-2469-43cf-a722-3b152c6756fd?"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"86c8baef0fba444af08acfadb1fe977f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"},"level":"info","message":"Building connection plan","requestID":"d5c584e8ff5318ff096772da3bc6064a"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"3d0ccbaf-954d-4ae9-afa4-9f6cdf7d117f"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"39126da3-bb96-494b-8c56-c4c4128887c0"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"647151ba-f8a1-458a-bb51-20ff36b5b69a"}]},"level":"info","message":"Built pairwise service configurations","requestID":"d5c584e8ff5318ff096772da3bc6064a"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"d5c584e8ff5318ff096772da3bc6064a"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"702073b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1367,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1367,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.605465,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Received request.","req_id":1368,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"86c8baef0fba444af08acfadb1fe977f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676651,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"86c8baef0fba444af08acfadb1fe977f","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52598","level":"info","msg":"Sent response.","req_id":1368,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.538273,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"702073b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676651,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1MX0.-VlGUZsLW_i0gPqO-XYcZHsra72EeiolfLUkhhKvkhE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"702073b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:10.840897585Z"}]},"request_id":"2a718724-6d47-4424-a187-5fad785aa862","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.633983} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"86c8baef0fba444af08acfadb1fe977f","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"86c8baef0fba444af08acfadb1fe977f"} gateway-1 | {"time_local":"18/Sep/2024:16:24:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6b8efb74-2469-43cf-a722-3b152c6756fd? HTTP/1.1","status": "200","body_bytes_sent":"1330","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"86c8baef0fba444af08acfadb1fe977f"} device-1 | {"level":"info","message":"GET /devices/6b8efb74-2469-43cf-a722-3b152c6756fd? 200 11ms","method":"GET","requestID":"86c8baef0fba444af08acfadb1fe977f","responseTime":11,"status":200,"url":"/devices/6b8efb74-2469-43cf-a722-3b152c6756fd?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"a4ee6813-3a1f-4b38-a984-44012d860aef","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.638932} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f323bd90-f2dd-466b-b530-1a1bd90a4761","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.639138} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"702073b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"702073b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"702073b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/166979be-d827-484f-8fe0-84bb13a6c45f'","requestID":"702073b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/166979be-d827-484f-8fe0-84bb13a6c45f'","requestID":"702073b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"702073b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 24ms","method":"POST","requestID":"702073b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"702073b0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"d5c584e8ff5318ff096772da3bc6064a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"70283be0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1369,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"350a8225-8405-4535-8582-94ab399ceefe","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.6836596} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1369,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.044255,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"70283be0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"70283be0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"70283be0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/75302443-e8dd-464b-9989-2b4936cc5ce2/signaling 200 9ms","method":"POST","requestID":"70283be0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/75302443-e8dd-464b-9989-2b4936cc5ce2/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"702a10a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1370,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8ba23404-37a3-4b5e-86e6-603052b8f5e7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676651.6954274} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1370,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.445024,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:11Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"702a10a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"702a10a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"702a10a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6b8efb74-2469-43cf-a722-3b152c6756fd/signaling 200 10ms","method":"POST","requestID":"702a10a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/6b8efb74-2469-43cf-a722-3b152c6756fd/signaling"} device-1 | {"device":"6b8efb74-2469-43cf-a722-3b152c6756fd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"166979be-d827-484f-8fe0-84bb13a6c45f","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"75302443-e8dd-464b-9989-2b4936cc5ce2","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"166979be-d827-484f-8fe0-84bb13a6c45f","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"75302443-e8dd-464b-9989-2b4936cc5ce2","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"75302443-e8dd-464b-9989-2b4936cc5ce2","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"75302443-e8dd-464b-9989-2b4936cc5ce2","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"75302443-e8dd-464b-9989-2b4936cc5ce2","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/166979be-d827-484f-8fe0-84bb13a6c45f' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"166979be-d827-484f-8fe0-84bb13a6c45f","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a8a6c628e6ab5b4c48bef7cbee9f4fe6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a8a6c628e6ab5b4c48bef7cbee9f4fe6","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/166979be-d827-484f-8fe0-84bb13a6c45f"}}},"level":"info","message":"received a callback","requestID":"a8a6c628e6ab5b4c48bef7cbee9f4fe6"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"a8a6c628e6ab5b4c48bef7cbee9f4fe6","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"a8a6c628e6ab5b4c48bef7cbee9f4fe6"} device-1 | {"device":"6b8efb74-2469-43cf-a722-3b152c6756fd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"6b8efb74-2469-43cf-a722-3b152c6756fd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"6b8efb74-2469-43cf-a722-3b152c6756fd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"75302443-e8dd-464b-9989-2b4936cc5ce2","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"166979be-d827-484f-8fe0-84bb13a6c45f","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"6b8efb74-2469-43cf-a722-3b152c6756fd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"75302443-e8dd-464b-9989-2b4936cc5ce2","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"6b8efb74-2469-43cf-a722-3b152c6756fd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"166979be-d827-484f-8fe0-84bb13a6c45f","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/166979be-d827-484f-8fe0-84bb13a6c45f' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"166979be-d827-484f-8fe0-84bb13a6c45f","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bb5edb7ac7af12699c10893d57032862","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"bb5edb7ac7af12699c10893d57032862","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/166979be-d827-484f-8fe0-84bb13a6c45f"}}},"level":"info","message":"received a callback","requestID":"bb5edb7ac7af12699c10893d57032862"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"7167c0c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1371,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:13Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F166979be-d827-484f-8fe0-84bb13a6c45f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c779a0a8-d054-47e2-b254-05f156a8da1a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676653.7796245} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1371,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.707,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/166979be-d827-484f-8fe0-84bb13a6c45f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7167c0c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/166979be-d827-484f-8fe0-84bb13a6c45f","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7167c0c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"7167c0c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/166979be-d827-484f-8fe0-84bb13a6c45f 200 16ms","method":"GET","requestID":"7167c0c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/peerconnections/166979be-d827-484f-8fe0-84bb13a6c45f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 50ms","method":"POST","requestID":"bb5edb7ac7af12699c10893d57032862","responseTime":50,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.054","http_referrer":"","http_user_agent":"node-fetch","requestID":"bb5edb7ac7af12699c10893d57032862"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"716e5070-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1372,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:13Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"64802dd2-daa0-40f1-8e75-cd5b11d51f2a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676653.823563} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1372,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.855305,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"716e5070-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"716e5070-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"716e5070-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/75302443-e8dd-464b-9989-2b4936cc5ce2/signaling 200 16ms","method":"POST","requestID":"716e5070-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/75302443-e8dd-464b-9989-2b4936cc5ce2/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"717136a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1373,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:13Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"90b97db8-63bf-46eb-9f10-f577b98530da","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676653.840418} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1373,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.805326,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"717136a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"717136a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"717136a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6b8efb74-2469-43cf-a722-3b152c6756fd/signaling 200 12ms","method":"POST","requestID":"717136a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/6b8efb74-2469-43cf-a722-3b152c6756fd/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1M30.TF07Ac5XYb9aH4a4vmiYGC2Y9vsUpzhhEsDIMNpkEMA","level":"info","message":"auth send jwt","requestID":"ada6723f00d498db2846db3f5ce07756"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ada6723f00d498db2846db3f5ce07756","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3","requestID":"ada6723f00d498db2846db3f5ce07756"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1374,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1374,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.317511,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ada6723f00d498db2846db3f5ce07756","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676653,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1M30.TF07Ac5XYb9aH4a4vmiYGC2Y9vsUpzhhEsDIMNpkEMA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ada6723f00d498db2846db3f5ce07756","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3","requestID":"ada6723f00d498db2846db3f5ce07756"} experiment-1 | {"level":"info","message":"GET /experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3 200 15ms","method":"GET","requestID":"ada6723f00d498db2846db3f5ce07756","responseTime":15,"status":200,"url":"/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"} gateway-1 | {"time_local":"18/Sep/2024:16:24:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3 HTTP/1.1","status": "200","body_bytes_sent":"1293","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ada6723f00d498db2846db3f5ce07756"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1M30.TF07Ac5XYb9aH4a4vmiYGC2Y9vsUpzhhEsDIMNpkEMA","level":"info","message":"auth send jwt","requestID":"ff7f093332c81d8e6497528095d64581"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ff7f093332c81d8e6497528095d64581","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3","requestID":"ff7f093332c81d8e6497528095d64581"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1375,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1375,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":2.039046,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:13Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ff7f093332c81d8e6497528095d64581","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676653,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1M30.TF07Ac5XYb9aH4a4vmiYGC2Y9vsUpzhhEsDIMNpkEMA"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"ff7f093332c81d8e6497528095d64581","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"},"level":"info","message":"Attempting to finish experiment","requestID":"ff7f093332c81d8e6497528095d64581"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"717b21b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1376,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:13Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1376,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.198366,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:13Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/166979be-d827-484f-8fe0-84bb13a6c45f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"717b21b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/166979be-d827-484f-8fe0-84bb13a6c45f","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676653,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1M30.TF07Ac5XYb9aH4a4vmiYGC2Y9vsUpzhhEsDIMNpkEMA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"717b21b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"75302443-e8dd-464b-9989-2b4936cc5ce2","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"75302443-e8dd-464b-9989-2b4936cc5ce2","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"75302443-e8dd-464b-9989-2b4936cc5ce2","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"6b8efb74-2469-43cf-a722-3b152c6756fd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"6b8efb74-2469-43cf-a722-3b152c6756fd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"6b8efb74-2469-43cf-a722-3b152c6756fd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":48,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/166979be-d827-484f-8fe0-84bb13a6c45f' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/166979be-d827-484f-8fe0-84bb13a6c45f' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"166979be-d827-484f-8fe0-84bb13a6c45f","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F166979be-d827-484f-8fe0-84bb13a6c45f': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F166979be-d827-484f-8fe0-84bb13a6c45f","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"9fb25845-5e47-489f-a14c-e1dd1242f976","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676653.929495} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9f213de6-bff4-4134-9221-c157151bf574","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676653.929984} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"717b21b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"306ec0810338b28492f944e70e671127","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"306ec0810338b28492f944e70e671127","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/166979be-d827-484f-8fe0-84bb13a6c45f"}}},"level":"info","message":"received a callback","requestID":"306ec0810338b28492f944e70e671127"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"21504388546062edc86cfff8054dda96","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"21504388546062edc86cfff8054dda96","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/166979be-d827-484f-8fe0-84bb13a6c45f"}}},"level":"info","message":"received a callback","requestID":"21504388546062edc86cfff8054dda96"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"717b21b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/166979be-d827-484f-8fe0-84bb13a6c45f 204 42ms","method":"DELETE","requestID":"717b21b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":42,"status":204,"url":"/peerconnections/166979be-d827-484f-8fe0-84bb13a6c45f"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"},"level":"info","message":"Successfully finished experiment","requestID":"ff7f093332c81d8e6497528095d64581"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"71855ae0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1377,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:13Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75302443-e8dd-464b-9989-2b4936cc5ce2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6fa03720-53dc-4892-bec7-ee69b3158576","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676653.973277} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1377,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.294029,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"71855ae0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"71855ae0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"71855ae0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/75302443-e8dd-464b-9989-2b4936cc5ce2/signaling 200 14ms","method":"POST","requestID":"71855ae0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/75302443-e8dd-464b-9989-2b4936cc5ce2/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F70b8f1cf-fa32-47cf-b268-76c45cc329c3': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F70b8f1cf-fa32-47cf-b268-76c45cc329c3","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"137cac82-d9c2-4d19-8816-f86c3e902a6f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676653.981862} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5663db93-1c9c-414a-8609-47b7e6c5fdef","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676653.982244} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"71881a00-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"ff7f093332c81d8e6497528095d64581","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1378,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:13Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b8efb74-2469-43cf-a722-3b152c6756fd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"159060a4-b115-42e2-b223-1fdb4ac624ad","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676653.9911861} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1378,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.989372,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"71881a00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"71881a00-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"71881a00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6b8efb74-2469-43cf-a722-3b152c6756fd/signaling 200 14ms","method":"POST","requestID":"71881a00-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/6b8efb74-2469-43cf-a722-3b152c6756fd/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3","requestID":"ff7f093332c81d8e6497528095d64581"} gateway-1 | {"time_local":"18/Sep/2024:16:24:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.177","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ff7f093332c81d8e6497528095d64581"} experiment-1 | {"level":"info","message":"DELETE /experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3 204 173ms","method":"DELETE","requestID":"ff7f093332c81d8e6497528095d64581","responseTime":173,"status":204,"url":"/experiments/70b8f1cf-fa32-47cf-b268-76c45cc329c3"} gateway-1 | {"time_local":"18/Sep/2024:16:24:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3094","request_time":"2.672","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"64e369c95d1c549f53867bd0936f3933"} gateway-1 | {"time_local":"18/Sep/2024:16:24:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3092","request_time":"2.682","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"a0776227be38b7a591c6841e200efe32"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 120ms","method":"POST","requestID":"306ec0810338b28492f944e70e671127","responseTime":120,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.125","http_referrer":"","http_user_agent":"node-fetch","requestID":"306ec0810338b28492f944e70e671127"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 119ms","method":"POST","requestID":"21504388546062edc86cfff8054dda96","responseTime":119,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.125","http_referrer":"","http_user_agent":"node-fetch","requestID":"21504388546062edc86cfff8054dda96"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1NH0.uPeh2_KpPE3XUiX-oZX_uhRanVQ39wTbJgdWbmH0wnY","level":"info","message":"auth send jwt","requestID":"5e2df4adedec5e03f8220c65131ea949"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5e2df4adedec5e03f8220c65131ea949","responseTime":4,"status":200,"url":"/auth"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/6b8efb74-2469-43cf-a722-3b152c6756fd' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"5e2df4adedec5e03f8220c65131ea949"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1379,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1379,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.880904,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5e2df4adedec5e03f8220c65131ea949","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676654,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1NH0.uPeh2_KpPE3XUiX-oZX_uhRanVQ39wTbJgdWbmH0wnY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5e2df4adedec5e03f8220c65131ea949","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/75302443-e8dd-464b-9989-2b4936cc5ce2' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"8ec1c87f-1a59-4468-8743-a641f76d335d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676654.0902622} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5e2df4adedec5e03f8220c65131ea949","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"93fb95f6-841d-45ec-8f6e-5585ebf62429","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676654.096174} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"5e2df4adedec5e03f8220c65131ea949","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"3281553b-a3b8-4a21-9e02-7e1889e76b97","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676654.1077137} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2a17d0d1-03aa-48a2-bb96-03f97e1d7ddd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676654.1078963} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"5e2df4adedec5e03f8220c65131ea949","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:14.107668081Z"}]},"request_id":"f35c5b43-f0d7-4750-b260-b553dddf08da","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676654.1128864} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5e2df4adedec5e03f8220c65131ea949","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"5e2df4adedec5e03f8220c65131ea949"} gateway-1 | {"time_local":"18/Sep/2024:16:24:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.059","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5e2df4adedec5e03f8220c65131ea949"} device-1 | {"level":"info","message":"POST /devices? 201 51ms","method":"POST","requestID":"5e2df4adedec5e03f8220c65131ea949","responseTime":51,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1NH0.uPeh2_KpPE3XUiX-oZX_uhRanVQ39wTbJgdWbmH0wnY","level":"info","message":"auth send jwt","requestID":"6822a576012da90419555a7756eee5e6"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"6822a576012da90419555a7756eee5e6","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"6822a576012da90419555a7756eee5e6"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1380,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:14Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1380,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.90584,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6822a576012da90419555a7756eee5e6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676654,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1NH0.uPeh2_KpPE3XUiX-oZX_uhRanVQ39wTbJgdWbmH0wnY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6822a576012da90419555a7756eee5e6","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ac70fca7-a56a-42b9-bb88-c8aa61f424d7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676654.1390932} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6822a576012da90419555a7756eee5e6","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6560c81d-9bd6-4af4-89fb-a7f708993fdb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676654.1445208} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"6822a576012da90419555a7756eee5e6","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"3c931634-2291-4f0a-8236-0fc6b96a870e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676654.1620643} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5f9b70ad-00c0-47ba-92bb-fdfb530120a0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676654.16227} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"6822a576012da90419555a7756eee5e6","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:14.162011204Z"}]},"request_id":"65700ffc-705b-4e87-9483-8f32681e7200","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676654.1690688} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"6822a576012da90419555a7756eee5e6","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"6822a576012da90419555a7756eee5e6"} device-1 | {"level":"info","message":"POST /devices? 201 52ms","method":"POST","requestID":"6822a576012da90419555a7756eee5e6","responseTime":52,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.056","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6822a576012da90419555a7756eee5e6"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0efa43100be1108e4ddb8a44c4178fa7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"0efa43100be1108e4ddb8a44c4178fa7","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/4267d702-f188-4a08-93f3-ab30105af5ed/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"0efa43100be1108e4ddb8a44c4178fa7"} device-1 | {"level":"info","message":"OPTIONS /devices/4267d702-f188-4a08-93f3-ab30105af5ed/websocket 200 1ms","method":"OPTIONS","requestID":"0efa43100be1108e4ddb8a44c4178fa7","responseTime":1,"status":200,"url":"/devices/4267d702-f188-4a08-93f3-ab30105af5ed/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc","level":"info","message":"auth send jwt","requestID":"ba53d984efce49dd12893d1fb6dd41a4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ba53d984efce49dd12893d1fb6dd41a4","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"ba53d984efce49dd12893d1fb6dd41a4"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1381,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1381,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.147671,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ba53d984efce49dd12893d1fb6dd41a4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"ba53d984efce49dd12893d1fb6dd41a4","responseTime":7,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d00f8bdff5a1fba1647db586ac09bebb","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d00f8bdff5a1fba1647db586ac09bebb","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/6da58e72-24e3-49b8-9470-28ffa833ec05/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d00f8bdff5a1fba1647db586ac09bebb"} device-1 | {"level":"info","message":"OPTIONS /devices/6da58e72-24e3-49b8-9470-28ffa833ec05/websocket 200 1ms","method":"OPTIONS","requestID":"d00f8bdff5a1fba1647db586ac09bebb","responseTime":1,"status":200,"url":"/devices/6da58e72-24e3-49b8-9470-28ffa833ec05/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"ba53d984efce49dd12893d1fb6dd41a4"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/4267d702-f188-4a08-93f3-ab30105af5ed/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.029","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ba53d984efce49dd12893d1fb6dd41a4"} device-1 | {"level":"info","message":"POST /devices/4267d702-f188-4a08-93f3-ab30105af5ed/websocket 200 23ms","method":"POST","requestID":"ba53d984efce49dd12893d1fb6dd41a4","responseTime":23,"status":200,"url":"/devices/4267d702-f188-4a08-93f3-ab30105af5ed/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc","level":"info","message":"auth send jwt","requestID":"d25b5cbaaebeaf532f2ed573e36f31fa"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d25b5cbaaebeaf532f2ed573e36f31fa","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"d25b5cbaaebeaf532f2ed573e36f31fa"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1382,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1382,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.708272,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d25b5cbaaebeaf532f2ed573e36f31fa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d25b5cbaaebeaf532f2ed573e36f31fa","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"device 'http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed' connected"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"d25b5cbaaebeaf532f2ed573e36f31fa"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/6da58e72-24e3-49b8-9470-28ffa833ec05/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.031","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d25b5cbaaebeaf532f2ed573e36f31fa"} device-1 | {"level":"info","message":"POST /devices/6da58e72-24e3-49b8-9470-28ffa833ec05/websocket 200 26ms","method":"POST","requestID":"d25b5cbaaebeaf532f2ed573e36f31fa","responseTime":26,"status":200,"url":"/devices/6da58e72-24e3-49b8-9470-28ffa833ec05/websocket"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"91c2e92f48b80438d3da3d8f9898a5bf","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"91c2e92f48b80438d3da3d8f9898a5bf","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/4267d702-f188-4a08-93f3-ab30105af5ed? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.002","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"91c2e92f48b80438d3da3d8f9898a5bf"} device-1 | {"level":"info","message":"OPTIONS /devices/4267d702-f188-4a08-93f3-ab30105af5ed? 200 0ms","method":"OPTIONS","requestID":"91c2e92f48b80438d3da3d8f9898a5bf","responseTime":0,"status":200,"url":"/devices/4267d702-f188-4a08-93f3-ab30105af5ed?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc","level":"info","message":"auth send jwt","requestID":"c498ec6ee65bbef7e1b216539a93ad6d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c498ec6ee65bbef7e1b216539a93ad6d","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"c498ec6ee65bbef7e1b216539a93ad6d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1383,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1383,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.741636,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c498ec6ee65bbef7e1b216539a93ad6d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c498ec6ee65bbef7e1b216539a93ad6d","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"device 'http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05' connected"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:14.107668081Z"}]},"request_id":"bd315fee-5a13-47b8-b254-8cf6b0744119","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.2127087} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c498ec6ee65bbef7e1b216539a93ad6d","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2fc5a020-3f3e-4773-af8e-01b8b240f4e2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.2184203} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"c498ec6ee65bbef7e1b216539a93ad6d","responseTime":4,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"871df74cdd718e26a203207d34b1f5fc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"871df74cdd718e26a203207d34b1f5fc","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/6da58e72-24e3-49b8-9470-28ffa833ec05? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"871df74cdd718e26a203207d34b1f5fc"} device-1 | {"level":"info","message":"OPTIONS /devices/6da58e72-24e3-49b8-9470-28ffa833ec05? 200 0ms","method":"OPTIONS","requestID":"871df74cdd718e26a203207d34b1f5fc","responseTime":0,"status":200,"url":"/devices/6da58e72-24e3-49b8-9470-28ffa833ec05?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc","level":"info","message":"auth send jwt","requestID":"c828251cae1865c48a4330f04130faaa"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"c828251cae1865c48a4330f04130faaa","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"c828251cae1865c48a4330f04130faaa"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1384,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1384,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.746534,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c828251cae1865c48a4330f04130faaa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c828251cae1865c48a4330f04130faaa","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:14.107668081Z"}]},"request_id":"656cca60-279d-4332-836c-7dd3fb932ce5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.2359002} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c498ec6ee65bbef7e1b216539a93ad6d","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"c498ec6ee65bbef7e1b216539a93ad6d"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/4267d702-f188-4a08-93f3-ab30105af5ed? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.042","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"c498ec6ee65bbef7e1b216539a93ad6d"} device-1 | {"level":"info","message":"PATCH /devices/4267d702-f188-4a08-93f3-ab30105af5ed? 200 37ms","method":"PATCH","requestID":"c498ec6ee65bbef7e1b216539a93ad6d","responseTime":37,"status":200,"url":"/devices/4267d702-f188-4a08-93f3-ab30105af5ed?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:14.162011204Z"}]},"request_id":"ffbc72a0-9eb4-4cbe-9d63-0b4d02b87fce","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.2391646} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c828251cae1865c48a4330f04130faaa","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4754f3c5-fb63-44aa-b269-206f89d6299d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.2444503} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"c828251cae1865c48a4330f04130faaa","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:14.162011204Z"}]},"request_id":"f92b1dda-e702-4ac4-ad1f-d1429f0e56d0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.2558787} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c828251cae1865c48a4330f04130faaa","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"c828251cae1865c48a4330f04130faaa"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/6da58e72-24e3-49b8-9470-28ffa833ec05? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.034","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"c828251cae1865c48a4330f04130faaa"} device-1 | {"level":"info","message":"PATCH /devices/6da58e72-24e3-49b8-9470-28ffa833ec05? 200 31ms","method":"PATCH","requestID":"c828251cae1865c48a4330f04130faaa","responseTime":31,"status":200,"url":"/devices/6da58e72-24e3-49b8-9470-28ffa833ec05?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc","level":"info","message":"auth send jwt","requestID":"4a84b4357843c3b373f393974daa9f47"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"4a84b4357843c3b373f393974daa9f47","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4a84b4357843c3b373f393974daa9f47"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1385,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1385,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.951729,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4a84b4357843c3b373f393974daa9f47","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4a84b4357843c3b373f393974daa9f47","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:14.107668081Z"}]},"request_id":"cc68b6f1-c211-411d-b2ff-f2ead782b347","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.2766662} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4a84b4357843c3b373f393974daa9f47","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4a84b4357843c3b373f393974daa9f47"} device-1 | {"level":"info","message":"GET /devices/4267d702-f188-4a08-93f3-ab30105af5ed? 200 13ms","method":"GET","requestID":"4a84b4357843c3b373f393974daa9f47","responseTime":13,"status":200,"url":"/devices/4267d702-f188-4a08-93f3-ab30105af5ed?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4267d702-f188-4a08-93f3-ab30105af5ed? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4a84b4357843c3b373f393974daa9f47"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc","level":"info","message":"auth send jwt","requestID":"98f52ceda4bd8e08c159ebbc4a21a181"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"98f52ceda4bd8e08c159ebbc4a21a181","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"98f52ceda4bd8e08c159ebbc4a21a181"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1386,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1386,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.00018,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"98f52ceda4bd8e08c159ebbc4a21a181","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"98f52ceda4bd8e08c159ebbc4a21a181","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:14.162011204Z"}]},"request_id":"bf411191-7b9c-44cc-b406-5c3379046d59","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.2965152} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"98f52ceda4bd8e08c159ebbc4a21a181","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"98f52ceda4bd8e08c159ebbc4a21a181"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6da58e72-24e3-49b8-9470-28ffa833ec05? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"98f52ceda4bd8e08c159ebbc4a21a181"} device-1 | {"level":"info","message":"GET /devices/6da58e72-24e3-49b8-9470-28ffa833ec05? 200 13ms","method":"GET","requestID":"98f52ceda4bd8e08c159ebbc4a21a181","responseTime":13,"status":200,"url":"/devices/6da58e72-24e3-49b8-9470-28ffa833ec05?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc","level":"info","message":"auth send jwt","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"1fc1da8fc0f535706a745c5de2b249f1","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1387,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1387,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.741543,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1fc1da8fc0f535706a745c5de2b249f1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1fc1da8fc0f535706a745c5de2b249f1","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"},"level":"info","message":"Attempting to run experiment","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"},"level":"info","message":"Attempting to book experiment","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"},"level":"info","message":"Successfully booked experiment","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"72f00e70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"72f03580-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1388,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1388,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.877813,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"72f00e70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"72f00e70-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1389,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1389,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.992243,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"72f03580-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"72f03580-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:14.107668081Z"}]},"request_id":"c4ec1094-5720-41a1-95ac-1de24ea4f64a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.3538136} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"72f00e70-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:14.162011204Z"}]},"request_id":"c7b9f80b-6b22-4f93-bad7-ad2ae47fe535","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.3584075} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"72f00e70-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"72f03580-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/4267d702-f188-4a08-93f3-ab30105af5ed? 200 16ms","method":"GET","requestID":"72f00e70-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/4267d702-f188-4a08-93f3-ab30105af5ed?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"72f03580-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/6da58e72-24e3-49b8-9470-28ffa833ec05? 200 18ms","method":"GET","requestID":"72f03580-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/6da58e72-24e3-49b8-9470-28ffa833ec05?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"},"level":"info","message":"Setting up experiment","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"},"level":"info","message":"Successfully locked booking for experiment","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"},"level":"info","message":"Attempting to update booking for experiment","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"},"level":"info","message":"Successfully updated booking for experiment","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"},"level":"info","message":"Successfully set up experiment","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"72f8c100-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"72f8e810-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"},"level":"info","message":"Successfully running experiment","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"72f90f20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1390,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1390,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.739193,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1391,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"72f8c100-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"72f8c100-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1391,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.742173,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"72f8e810-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"72f8e810-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35922","level":"info","msg":"Received request.","req_id":1392,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:14.107668081Z"}]},"request_id":"0f6266da-9e11-49cc-9dd6-35c5908262d3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.4120326} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c0216417-b32e-4278-a39c-173a40c9d4d3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.4121916} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"72f8c100-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:14.162011204Z"}]},"request_id":"35d0e6b6-0e8d-4062-9dde-a86e6a16b65c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.4131656} authorization-1 | {"client_addr":"127.0.0.1:35922","level":"info","msg":"Sent response.","req_id":1392,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.469304,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"72f90f20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"72f90f20-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"72f8e810-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"72f8c100-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/4267d702-f188-4a08-93f3-ab30105af5ed? 200 22ms","method":"GET","requestID":"72f8c100-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/4267d702-f188-4a08-93f3-ab30105af5ed?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"72f90f20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4267d702-f188-4a08-93f3-ab30105af5ed/signaling 200 24ms","method":"POST","requestID":"72f90f20-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/devices/4267d702-f188-4a08-93f3-ab30105af5ed/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbef4e484-0d42-4dcb-b9b7-7ffce6ac29f3#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbef4e484-0d42-4dcb-b9b7-7ffce6ac29f3","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"82dab23f-18cb-4cda-b1d7-499e91b57ea0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.4270818} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"72f8e810-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f5b6d55a-821c-4d4a-8663-1297a8275ce3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.427381} device-1 | {"level":"info","message":"GET /devices/6da58e72-24e3-49b8-9470-28ffa833ec05? 200 27ms","method":"GET","requestID":"72f8e810-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":200,"url":"/devices/6da58e72-24e3-49b8-9470-28ffa833ec05?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"72fd2dd0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"1fc1da8fc0f535706a745c5de2b249f1","responseTime":25,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"72fd7bf0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1393,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1394,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"75171430-51df-4f5e-bd2c-4be7b4e8038d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.434588} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1393,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.763912,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1212","request_time":"0.133","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} experiment-1 | {"level":"info","message":"POST /experiments? 201 129ms","method":"POST","requestID":"1fc1da8fc0f535706a745c5de2b249f1","responseTime":129,"status":201,"url":"/experiments?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"72fd2dd0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"72fd2dd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"efa5e21b-3540-4d27-8113-1298d5df674f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.436365} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1394,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.814849,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"72fd7bf0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"72fd7bf0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc","level":"info","message":"auth send jwt","requestID":"02f456a7cb15a43fccee095e5a9bfd99"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"02f456a7cb15a43fccee095e5a9bfd99","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"72fd2dd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6da58e72-24e3-49b8-9470-28ffa833ec05/signaling 200 13ms","method":"POST","requestID":"72fd2dd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/6da58e72-24e3-49b8-9470-28ffa833ec05/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"02f456a7cb15a43fccee095e5a9bfd99"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"72fd7bf0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4267d702-f188-4a08-93f3-ab30105af5ed/signaling 200 13ms","method":"POST","requestID":"72fd7bf0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/4267d702-f188-4a08-93f3-ab30105af5ed/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1395,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1395,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.006705,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"72ffc5e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"02f456a7cb15a43fccee095e5a9bfd99","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"02f456a7cb15a43fccee095e5a9bfd99","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1396,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8f128170-57c7-43fa-8f55-925a515cccde","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.4510736} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:14.107668081Z"}]},"request_id":"8e5d99de-312c-4934-bcd7-cdb2b56974a7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.4511342} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"02f456a7cb15a43fccee095e5a9bfd99","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1396,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.774445,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"72ffc5e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"72ffc5e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"02f456a7cb15a43fccee095e5a9bfd99"} device-1 | {"level":"info","message":"GET /devices/4267d702-f188-4a08-93f3-ab30105af5ed? 200 14ms","method":"GET","requestID":"02f456a7cb15a43fccee095e5a9bfd99","responseTime":14,"status":200,"url":"/devices/4267d702-f188-4a08-93f3-ab30105af5ed?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4267d702-f188-4a08-93f3-ab30105af5ed? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"02f456a7cb15a43fccee095e5a9bfd99"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"72ffc5e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6da58e72-24e3-49b8-9470-28ffa833ec05/signaling 200 10ms","method":"POST","requestID":"72ffc5e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/6da58e72-24e3-49b8-9470-28ffa833ec05/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"73019aa0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7301c1b0-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc","level":"info","message":"auth send jwt","requestID":"5a7f67dc05514d8a2cbe7f56f7262073"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5a7f67dc05514d8a2cbe7f56f7262073","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5a7f67dc05514d8a2cbe7f56f7262073"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1397,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1397,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.661022,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1398,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"73019aa0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"73019aa0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1398,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.625892,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:35922","level":"info","msg":"Received request.","req_id":1399,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:35922","level":"info","msg":"Sent response.","req_id":1399,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.455793,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7301c1b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7301c1b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5a7f67dc05514d8a2cbe7f56f7262073","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"5a7f67dc05514d8a2cbe7f56f7262073","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:14.107668081Z"}]},"request_id":"e2399acd-a24c-492a-b048-8880d49d9eb1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.4714546} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:14.162011204Z"}]},"request_id":"57a42cab-ee69-44e9-a73a-84742b40af7d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.4728625} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"73019aa0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"7301c1b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:14.162011204Z"}]},"request_id":"cfaa5478-9ee7-47c9-afb3-36f2efa66847","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.474258} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"5a7f67dc05514d8a2cbe7f56f7262073","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"73019aa0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/4267d702-f188-4a08-93f3-ab30105af5ed? 200 22ms","method":"GET","requestID":"73019aa0-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/4267d702-f188-4a08-93f3-ab30105af5ed?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7301c1b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/6da58e72-24e3-49b8-9470-28ffa833ec05? 200 22ms","method":"GET","requestID":"7301c1b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/6da58e72-24e3-49b8-9470-28ffa833ec05?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5a7f67dc05514d8a2cbe7f56f7262073"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"},"level":"info","message":"Building connection plan","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"b30bd0a0-0174-4d73-9032-8d4effbb17b8"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"031b06c5-932e-42c6-b6a9-9922598b5d20"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"67877d2a-15d1-4df8-bff4-2e923d2addeb"}]},"level":"info","message":"Built pairwise service configurations","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6da58e72-24e3-49b8-9470-28ffa833ec05? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5a7f67dc05514d8a2cbe7f56f7262073"} device-1 | {"level":"info","message":"GET /devices/6da58e72-24e3-49b8-9470-28ffa833ec05? 200 21ms","method":"GET","requestID":"5a7f67dc05514d8a2cbe7f56f7262073","responseTime":21,"status":200,"url":"/devices/6da58e72-24e3-49b8-9470-28ffa833ec05?"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"73059240-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"73059240-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"73059240-75da-11ef-9672-db8da4810e4b","responseTime":1,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/831831df-12df-409b-b655-7eaf34a1f431?id=f527e1b3-138f-499b-99f3-89ca20a44bcf","ws://localhost/rooms/831831df-12df-409b-b655-7eaf34a1f431?id=754e20a8-ca49-4c65-ac52-1126ac8fc5d8"]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"7305e060-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1400,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1400,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.95438,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7305e060-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7305e060-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"80655c14-92bd-41b1-bce2-a85b9c75c2a2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.4986553} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0bd31f6f-a0e3-46e4-b6fb-9566f4243d78","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.4990168} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"7305e060-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"7305e060-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"7305e060-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7'","requestID":"7305e060-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7'","requestID":"7305e060-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"7305e060-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 26ms","method":"POST","requestID":"7305e060-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"7305e060-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"873771cc-dace-429e-b2e4-81716ed8f7b7","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"730bacc0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"f527e1b3-138f-499b-99f3-89ca20a44bcf\" in room \"http://localhost/rooms/831831df-12df-409b-b655-7eaf34a1f431\"","requestID":"730bacc0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"730bacc0-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"685ff1a762c319429b45a967098666e5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"730bfae0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"754e20a8-ca49-4c65-ac52-1126ac8fc5d8\" in room \"http://localhost/rooms/831831df-12df-409b-b655-7eaf34a1f431\"","requestID":"730bfae0-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"685ff1a762c319429b45a967098666e5","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"730bfae0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"f527e1b3-138f-499b-99f3-89ca20a44bcf\" in room \"http://localhost/rooms/831831df-12df-409b-b655-7eaf34a1f431\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"f527e1b3-138f-499b-99f3-89ca20a44bcf\" in room \"http://localhost/rooms/831831df-12df-409b-b655-7eaf34a1f431\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"f527e1b3-138f-499b-99f3-89ca20a44bcf\" in room \"http://localhost/rooms/831831df-12df-409b-b655-7eaf34a1f431\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"f527e1b3-138f-499b-99f3-89ca20a44bcf\" in room \"http://localhost/rooms/831831df-12df-409b-b655-7eaf34a1f431\""} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7"}}},"level":"info","message":"received a callback","requestID":"685ff1a762c319429b45a967098666e5"} device-1 | {"data":{"peerconnection":"873771cc-dace-429e-b2e4-81716ed8f7b7","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"685ff1a762c319429b45a967098666e5","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"685ff1a762c319429b45a967098666e5"} device-1 | {"data":{"peerconnection":"873771cc-dace-429e-b2e4-81716ed8f7b7","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"1fc1da8fc0f535706a745c5de2b249f1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"730ff280-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1401,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b1c4c0ef-c75d-4d52-aef5-908ecbc02324","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.5572786} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1401,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.07467,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"730ff280-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"873771cc-dace-429e-b2e4-81716ed8f7b7","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"730ff280-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1b7f97cfc2a4be93ccc71f8b0b428659","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"1b7f97cfc2a4be93ccc71f8b0b428659","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7"}}},"level":"info","message":"received a callback","requestID":"1b7f97cfc2a4be93ccc71f8b0b428659"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"730ff280-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4267d702-f188-4a08-93f3-ab30105af5ed/signaling 200 12ms","method":"POST","requestID":"730ff280-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/4267d702-f188-4a08-93f3-ab30105af5ed/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"73121560-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1402,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"73128a90-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b5d40198-a8de-40d6-9667-8c1f14eac804","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.5710833} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1402,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.722614,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1403,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"73121560-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"73121560-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F873771cc-dace-429e-b2e4-81716ed8f7b7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3045c17d-7097-4297-962d-a151c2fe1f5c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.5761971} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1403,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":4.141197,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"73121560-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"73128a90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"level":"info","message":"POST /devices/6da58e72-24e3-49b8-9470-28ffa833ec05/signaling 200 12ms","method":"POST","requestID":"73121560-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/6da58e72-24e3-49b8-9470-28ffa833ec05/signaling"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"73128a90-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"73128a90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7 200 11ms","method":"GET","requestID":"73128a90-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 32ms","method":"POST","requestID":"1b7f97cfc2a4be93ccc71f8b0b428659","responseTime":32,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.035","http_referrer":"","http_user_agent":"node-fetch","requestID":"1b7f97cfc2a4be93ccc71f8b0b428659"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"73168230-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1404,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ad6be0a3-5abd-44b8-ae93-61eb087d9dfe","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.6008046} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1404,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.738335,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"73168230-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"73168230-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"73168230-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6da58e72-24e3-49b8-9470-28ffa833ec05/signaling 200 10ms","method":"POST","requestID":"73168230-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/6da58e72-24e3-49b8-9470-28ffa833ec05/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"731856f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1405,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f640e0e2-9922-42ea-a5db-dcc67a2442bb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.6117058} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1405,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.830647,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"731856f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"731856f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"731856f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4267d702-f188-4a08-93f3-ab30105af5ed/signaling 200 9ms","method":"POST","requestID":"731856f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/4267d702-f188-4a08-93f3-ab30105af5ed/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc","level":"info","message":"auth send jwt","requestID":"53db8515b479d1d503647ecef04c2a6b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"53db8515b479d1d503647ecef04c2a6b","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3","requestID":"53db8515b479d1d503647ecef04c2a6b"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1406,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1406,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.222912,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"53db8515b479d1d503647ecef04c2a6b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"53db8515b479d1d503647ecef04c2a6b","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3","requestID":"53db8515b479d1d503647ecef04c2a6b"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3 HTTP/1.1","status": "200","body_bytes_sent":"1285","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"53db8515b479d1d503647ecef04c2a6b"} experiment-1 | {"level":"info","message":"GET /experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3 200 12ms","method":"GET","requestID":"53db8515b479d1d503647ecef04c2a6b","responseTime":12,"status":200,"url":"/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc","level":"info","message":"auth send jwt","requestID":"e84399562975cf6750af1d31478c0c0a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e84399562975cf6750af1d31478c0c0a","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3","requestID":"e84399562975cf6750af1d31478c0c0a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1407,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1407,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.237495,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e84399562975cf6750af1d31478c0c0a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e84399562975cf6750af1d31478c0c0a","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"},"level":"info","message":"Attempting to finish experiment","requestID":"e84399562975cf6750af1d31478c0c0a"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"73221af0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1408,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1408,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.209106,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"73221af0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"73221af0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7","device":"4267d702-f188-4a08-93f3-ab30105af5ed","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7","device":"6da58e72-24e3-49b8-9470-28ffa833ec05","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/831831df-12df-409b-b655-7eaf34a1f431?id=754e20a8-ca49-4c65-ac52-1126ac8fc5d8 HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.168","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"76e2d8354f6d6886fb3f5ebbb3a92737"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/831831df-12df-409b-b655-7eaf34a1f431?id=f527e1b3-138f-499b-99f3-89ca20a44bcf HTTP/1.1","status": "101","body_bytes_sent":"438","request_time":"0.168","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d5d3989adfef9d889ee09d5cebdb529d"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"754e20a8-ca49-4c65-ac52-1126ac8fc5d8\" in room \"http://localhost/rooms/831831df-12df-409b-b655-7eaf34a1f431\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"754e20a8-ca49-4c65-ac52-1126ac8fc5d8\" from room \"http://localhost/rooms/831831df-12df-409b-b655-7eaf34a1f431\""} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"f527e1b3-138f-499b-99f3-89ca20a44bcf\" in room \"http://localhost/rooms/831831df-12df-409b-b655-7eaf34a1f431\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"f527e1b3-138f-499b-99f3-89ca20a44bcf\" from room \"http://localhost/rooms/831831df-12df-409b-b655-7eaf34a1f431\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"873771cc-dace-429e-b2e4-81716ed8f7b7","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"573a7518682b8286a6134e499f4adcdc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"573a7518682b8286a6134e499f4adcdc","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4c62fa5c5eabf6b5afe4732394929c92","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7"}}},"level":"info","message":"received a callback","requestID":"573a7518682b8286a6134e499f4adcdc"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"4c62fa5c5eabf6b5afe4732394929c92","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F873771cc-dace-429e-b2e4-81716ed8f7b7': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F873771cc-dace-429e-b2e4-81716ed8f7b7","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"e55194e5-16b0-4d88-85c3-a1eca96b997a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.7001293} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"49ffe842-ba8c-43e9-ac69-961c8bb8c554","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.7004633} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7"}}},"level":"info","message":"received a callback","requestID":"4c62fa5c5eabf6b5afe4732394929c92"} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"73221af0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"873771cc-dace-429e-b2e4-81716ed8f7b7","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"73221af0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7 204 48ms","method":"DELETE","requestID":"73221af0-75da-11ef-ba7c-09eaa4331ae1","responseTime":48,"status":204,"url":"/peerconnections/873771cc-dace-429e-b2e4-81716ed8f7b7"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed'"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"},"level":"info","message":"Successfully finished experiment","requestID":"e84399562975cf6750af1d31478c0c0a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"732c7b30-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1409,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6da58e72-24e3-49b8-9470-28ffa833ec05","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bdd10daf-f900-4a31-9e6a-b17873400027","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.7441275} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1409,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.246825,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"732c7b30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"732c7b30-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"732c7b30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/6da58e72-24e3-49b8-9470-28ffa833ec05/signaling 200 10ms","method":"POST","requestID":"732c7b30-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/6da58e72-24e3-49b8-9470-28ffa833ec05/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"732e7700-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbef4e484-0d42-4dcb-b9b7-7ffce6ac29f3': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbef4e484-0d42-4dcb-b9b7-7ffce6ac29f3","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"a33393fb-a0dd-42f6-b314-62096d91c75b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.7527297} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3b4948be-7921-425a-aa55-cecf2028e219","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.7530112} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"e84399562975cf6750af1d31478c0c0a","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1410,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4267d702-f188-4a08-93f3-ab30105af5ed","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cb3bd4eb-4773-4f82-8924-b7bdfd27fff3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.7584333} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1410,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.404813,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"732e7700-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"732e7700-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"732e7700-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/4267d702-f188-4a08-93f3-ab30105af5ed/signaling 200 13ms","method":"POST","requestID":"732e7700-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/4267d702-f188-4a08-93f3-ab30105af5ed/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3","requestID":"e84399562975cf6750af1d31478c0c0a"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.167","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e84399562975cf6750af1d31478c0c0a"} experiment-1 | {"level":"info","message":"DELETE /experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3 204 164ms","method":"DELETE","requestID":"e84399562975cf6750af1d31478c0c0a","responseTime":164,"status":204,"url":"/experiments/bef4e484-0d42-4dcb-b9b7-7ffce6ac29f3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 124ms","method":"POST","requestID":"573a7518682b8286a6134e499f4adcdc","responseTime":124,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.129","http_referrer":"","http_user_agent":"node-fetch","requestID":"573a7518682b8286a6134e499f4adcdc"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 124ms","method":"POST","requestID":"4c62fa5c5eabf6b5afe4732394929c92","responseTime":124,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.129","http_referrer":"","http_user_agent":"node-fetch","requestID":"4c62fa5c5eabf6b5afe4732394929c92"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc","level":"info","message":"auth send jwt","requestID":"d6ce3681affe3d5232da8eaf16c29f57"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"d6ce3681affe3d5232da8eaf16c29f57","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d6ce3681affe3d5232da8eaf16c29f57"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1745","request_time":"0.665","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"2a588e3ded7a527e2d43c7f3674ac39f"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1744","request_time":"0.635","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"586f3a3f18e240b58758263c59f5a266"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1411,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1411,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.92427,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d6ce3681affe3d5232da8eaf16c29f57","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d6ce3681affe3d5232da8eaf16c29f57","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/4267d702-f188-4a08-93f3-ab30105af5ed' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/6da58e72-24e3-49b8-9470-28ffa833ec05' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f1e0cd9d-8495-4506-809b-cbe08f70a4a0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.8480842} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d6ce3681affe3d5232da8eaf16c29f57","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bfa96508-aa73-448c-909e-022f4d320b2a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.85242} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"d6ce3681affe3d5232da8eaf16c29f57","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"63f0d416-a19b-4569-b086-42a0ecd27a76","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.8622468} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"05c34eb6-4e5d-47cf-ad78-62a20e1fd243","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.8623862} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"d6ce3681affe3d5232da8eaf16c29f57","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:16.862217655Z"}]},"request_id":"63306a68-0f96-4167-8937-acfa8d2249b9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.8665724} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d6ce3681affe3d5232da8eaf16c29f57","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d6ce3681affe3d5232da8eaf16c29f57"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"d6ce3681affe3d5232da8eaf16c29f57","responseTime":40,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d6ce3681affe3d5232da8eaf16c29f57"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc","level":"info","message":"auth send jwt","requestID":"0c57faff6da1b941091765f95d5d5a8d"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"0c57faff6da1b941091765f95d5d5a8d","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"0c57faff6da1b941091765f95d5d5a8d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1412,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1412,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.86694,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:16Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0c57faff6da1b941091765f95d5d5a8d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676656,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1Nn0.PX-1ST9YIrGtf61SuDmtuIRBLJXwEGYdgx5hOrKd6Sc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0c57faff6da1b941091765f95d5d5a8d","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"c1b8d132-193a-440c-847a-439a32dc365b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.8891978} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0c57faff6da1b941091765f95d5d5a8d","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fd0811ab-0ce1-4468-af9e-877e2f67e92e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.8941815} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"0c57faff6da1b941091765f95d5d5a8d","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"a981f2ec-63c3-45ae-be38-07f8a0a782b1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.9036176} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"913c6e87-1764-48d7-9876-0f2fc9779633","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.903727} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"0c57faff6da1b941091765f95d5d5a8d","responseTime":11,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:16.903579803Z"}]},"request_id":"798379ab-dbb5-4322-9930-2a42e16cbe84","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676656.9073472} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0c57faff6da1b941091765f95d5d5a8d","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"0c57faff6da1b941091765f95d5d5a8d"} device-1 | {"level":"info","message":"POST /devices? 201 36ms","method":"POST","requestID":"0c57faff6da1b941091765f95d5d5a8d","responseTime":36,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.040","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0c57faff6da1b941091765f95d5d5a8d"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2c39871907934c0b1ab7652e3d5d2354","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"2c39871907934c0b1ab7652e3d5d2354","responseTime":0,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/3718a5c3-9434-4165-aefb-ab7b3718019f/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"2c39871907934c0b1ab7652e3d5d2354"} device-1 | {"level":"info","message":"OPTIONS /devices/3718a5c3-9434-4165-aefb-ab7b3718019f/websocket 200 2ms","method":"OPTIONS","requestID":"2c39871907934c0b1ab7652e3d5d2354","responseTime":2,"status":200,"url":"/devices/3718a5c3-9434-4165-aefb-ab7b3718019f/websocket"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7ed7bb1612ee981d4a125b31de06f420","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"7ed7bb1612ee981d4a125b31de06f420","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/e252937a-93a5-41fa-8693-0dff434a5855/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"7ed7bb1612ee981d4a125b31de06f420"} device-1 | {"level":"info","message":"OPTIONS /devices/e252937a-93a5-41fa-8693-0dff434a5855/websocket 200 1ms","method":"OPTIONS","requestID":"7ed7bb1612ee981d4a125b31de06f420","responseTime":1,"status":200,"url":"/devices/e252937a-93a5-41fa-8693-0dff434a5855/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OH0.rJO1CnUszp2e5YgWFV4OigYiw8MOGUhiPW3eeBO6WiI","level":"info","message":"auth send jwt","requestID":"bb7a31331e20dd3517178338888ed269"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"bb7a31331e20dd3517178338888ed269","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"bb7a31331e20dd3517178338888ed269"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OH0.rJO1CnUszp2e5YgWFV4OigYiw8MOGUhiPW3eeBO6WiI","level":"info","message":"auth send jwt","requestID":"14756e331b6d225228963af4941d1f92"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1413,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:18Z"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"14756e331b6d225228963af4941d1f92","responseTime":6,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1413,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.381187,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:18Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"bb7a31331e20dd3517178338888ed269","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676658,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OH0.rJO1CnUszp2e5YgWFV4OigYiw8MOGUhiPW3eeBO6WiI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bb7a31331e20dd3517178338888ed269","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"14756e331b6d225228963af4941d1f92"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1414,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:18Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1414,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.143934,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:18Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"14756e331b6d225228963af4941d1f92","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676658,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OH0.rJO1CnUszp2e5YgWFV4OigYiw8MOGUhiPW3eeBO6WiI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"14756e331b6d225228963af4941d1f92","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"bb7a31331e20dd3517178338888ed269"} device-1 | {"level":"info","message":"POST /devices/3718a5c3-9434-4165-aefb-ab7b3718019f/websocket 200 28ms","method":"POST","requestID":"bb7a31331e20dd3517178338888ed269","responseTime":28,"status":200,"url":"/devices/3718a5c3-9434-4165-aefb-ab7b3718019f/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:24:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/3718a5c3-9434-4165-aefb-ab7b3718019f/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.033","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"bb7a31331e20dd3517178338888ed269"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"14756e331b6d225228963af4941d1f92"} device-1 | {"level":"info","message":"POST /devices/e252937a-93a5-41fa-8693-0dff434a5855/websocket 200 31ms","method":"POST","requestID":"14756e331b6d225228963af4941d1f92","responseTime":31,"status":200,"url":"/devices/e252937a-93a5-41fa-8693-0dff434a5855/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:24:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/e252937a-93a5-41fa-8693-0dff434a5855/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.041","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"14756e331b6d225228963af4941d1f92"} device-1 | {"level":"info","message":"device 'http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7068c57cd85323b343e49002d9863565","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"7068c57cd85323b343e49002d9863565","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/3718a5c3-9434-4165-aefb-ab7b3718019f? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"7068c57cd85323b343e49002d9863565"} device-1 | {"level":"info","message":"OPTIONS /devices/3718a5c3-9434-4165-aefb-ab7b3718019f? 200 1ms","method":"OPTIONS","requestID":"7068c57cd85323b343e49002d9863565","responseTime":1,"status":200,"url":"/devices/3718a5c3-9434-4165-aefb-ab7b3718019f?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2349be909d1a588cc5064e90e7c3f008","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"2349be909d1a588cc5064e90e7c3f008","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/e252937a-93a5-41fa-8693-0dff434a5855? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"2349be909d1a588cc5064e90e7c3f008"} device-1 | {"level":"info","message":"OPTIONS /devices/e252937a-93a5-41fa-8693-0dff434a5855? 200 1ms","method":"OPTIONS","requestID":"2349be909d1a588cc5064e90e7c3f008","responseTime":1,"status":200,"url":"/devices/e252937a-93a5-41fa-8693-0dff434a5855?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OH0.rJO1CnUszp2e5YgWFV4OigYiw8MOGUhiPW3eeBO6WiI","level":"info","message":"auth send jwt","requestID":"cf422841cf8fc8a447fe88c3499ab31a"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"cf422841cf8fc8a447fe88c3499ab31a","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"cf422841cf8fc8a447fe88c3499ab31a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1415,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c","level":"info","message":"auth send jwt","requestID":"1c3bb436f87de87cfe5bdc8fe1b293ab"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1415,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.122351,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1c3bb436f87de87cfe5bdc8fe1b293ab","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"cf422841cf8fc8a447fe88c3499ab31a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676658,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OH0.rJO1CnUszp2e5YgWFV4OigYiw8MOGUhiPW3eeBO6WiI"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"1c3bb436f87de87cfe5bdc8fe1b293ab"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"cf422841cf8fc8a447fe88c3499ab31a","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1416,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1416,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.787568,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1c3bb436f87de87cfe5bdc8fe1b293ab","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676659,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1c3bb436f87de87cfe5bdc8fe1b293ab","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:16.903579803Z"}]},"request_id":"8250092f-62ef-438a-a175-56619cf89b99","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.014441} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cf422841cf8fc8a447fe88c3499ab31a","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:16.862217655Z"}]},"request_id":"6aa4440a-e1ce-470b-88bd-f86122dbdea3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.018267} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"1c3bb436f87de87cfe5bdc8fe1b293ab","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8a3cb18e-c6ba-4399-bdf2-881520ececf9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.0209563} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"cf422841cf8fc8a447fe88c3499ab31a","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3f158481-3ff8-45d8-a48a-a1be05d9c8e9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.0274794} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"1c3bb436f87de87cfe5bdc8fe1b293ab","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:16.903579803Z"}]},"request_id":"42ec7827-6362-4aa1-b53b-5a4153cd3660","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.0377033} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cf422841cf8fc8a447fe88c3499ab31a","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"cf422841cf8fc8a447fe88c3499ab31a"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/3718a5c3-9434-4165-aefb-ab7b3718019f? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.050","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"cf422841cf8fc8a447fe88c3499ab31a"} device-1 | {"level":"info","message":"PATCH /devices/3718a5c3-9434-4165-aefb-ab7b3718019f? 200 42ms","method":"PATCH","requestID":"cf422841cf8fc8a447fe88c3499ab31a","responseTime":42,"status":200,"url":"/devices/3718a5c3-9434-4165-aefb-ab7b3718019f?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:16.862217655Z"}]},"request_id":"a58a068c-b6c4-4ead-a50b-c0fab42b6e64","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.0500557} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1c3bb436f87de87cfe5bdc8fe1b293ab","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"1c3bb436f87de87cfe5bdc8fe1b293ab"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/e252937a-93a5-41fa-8693-0dff434a5855? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.054","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"1c3bb436f87de87cfe5bdc8fe1b293ab"} device-1 | {"level":"info","message":"PATCH /devices/e252937a-93a5-41fa-8693-0dff434a5855? 200 49ms","method":"PATCH","requestID":"1c3bb436f87de87cfe5bdc8fe1b293ab","responseTime":49,"status":200,"url":"/devices/e252937a-93a5-41fa-8693-0dff434a5855?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c","level":"info","message":"auth send jwt","requestID":"708d490dedce7c962a6fcd41d27d1131"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"708d490dedce7c962a6fcd41d27d1131","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"708d490dedce7c962a6fcd41d27d1131"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1417,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1417,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.103436,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"708d490dedce7c962a6fcd41d27d1131","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676659,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"708d490dedce7c962a6fcd41d27d1131","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:16.862217655Z"}]},"request_id":"1e4566d5-9ce2-4eb8-9dbe-d22d5729e50c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.0829544} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"708d490dedce7c962a6fcd41d27d1131","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"708d490dedce7c962a6fcd41d27d1131"} device-1 | {"level":"info","message":"GET /devices/e252937a-93a5-41fa-8693-0dff434a5855? 200 19ms","method":"GET","requestID":"708d490dedce7c962a6fcd41d27d1131","responseTime":19,"status":200,"url":"/devices/e252937a-93a5-41fa-8693-0dff434a5855?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e252937a-93a5-41fa-8693-0dff434a5855? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"708d490dedce7c962a6fcd41d27d1131"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c","level":"info","message":"auth send jwt","requestID":"0c052ec0288fe45784ca6696199680a2"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"0c052ec0288fe45784ca6696199680a2","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0c052ec0288fe45784ca6696199680a2"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1418,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1418,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.14649,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0c052ec0288fe45784ca6696199680a2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676659,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0c052ec0288fe45784ca6696199680a2","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:16.903579803Z"}]},"request_id":"87cafc1d-f501-43f4-9e95-1d8afe7005ca","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.1099725} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0c052ec0288fe45784ca6696199680a2","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0c052ec0288fe45784ca6696199680a2"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/3718a5c3-9434-4165-aefb-ab7b3718019f? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0c052ec0288fe45784ca6696199680a2"} device-1 | {"level":"info","message":"GET /devices/3718a5c3-9434-4165-aefb-ab7b3718019f? 200 19ms","method":"GET","requestID":"0c052ec0288fe45784ca6696199680a2","responseTime":19,"status":200,"url":"/devices/3718a5c3-9434-4165-aefb-ab7b3718019f?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c","level":"info","message":"auth send jwt","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"feecfb096cb38d2ed8b78fb1336a4359","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1419,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1419,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.96237,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"feecfb096cb38d2ed8b78fb1336a4359","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676659,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"feecfb096cb38d2ed8b78fb1336a4359","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"},"level":"info","message":"Attempting to run experiment","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"},"level":"info","message":"Attempting to book experiment","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"},"level":"info","message":"Successfully booked experiment","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"749ef6f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"749f4510-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1420,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1420,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.843619,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"749ef6f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676659,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"749ef6f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1421,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1421,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.172405,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"749f4510-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676659,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"749f4510-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:16.862217655Z"}]},"request_id":"fe1bfba5-da82-4ff6-8672-faba3166eb6a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.1821194} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"749ef6f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:16.903579803Z"}]},"request_id":"d0886d7b-8c61-41f8-9a8a-dc72745ee203","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.1841502} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"749f4510-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"749ef6f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/e252937a-93a5-41fa-8693-0dff434a5855? 200 26ms","method":"GET","requestID":"749ef6f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":200,"url":"/devices/e252937a-93a5-41fa-8693-0dff434a5855?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"749f4510-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/3718a5c3-9434-4165-aefb-ab7b3718019f? 200 25ms","method":"GET","requestID":"749f4510-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/devices/3718a5c3-9434-4165-aefb-ab7b3718019f?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"},"level":"info","message":"Setting up experiment","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"},"level":"info","message":"Successfully locked booking for experiment","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"},"level":"info","message":"Attempting to update booking for experiment","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"},"level":"info","message":"Successfully updated booking for experiment","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"},"level":"info","message":"Successfully set up experiment","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"74ab5300-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"74aba120-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"74ac1650-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1422,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1422,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.335447,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"},"level":"info","message":"Successfully running experiment","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1423,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"74ab5300-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676659,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"74ab5300-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1423,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.238408,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:35922","level":"info","msg":"Received request.","req_id":1424,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"74aba120-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676659,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"74aba120-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35922","level":"info","msg":"Sent response.","req_id":1424,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.130994,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cd08252e-12eb-4153-a6b4-9b8f0e8cece7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.2626786} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"74ac1650-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"74ac1650-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:16.862217655Z"}]},"request_id":"6d7e0449-c504-459a-98fa-af279d1a8e26","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.2666335} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:16.903579803Z"}]},"request_id":"aed2d5b3-912c-4a38-b4a4-410a8cf65baf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.2693496} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"74ab5300-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"74aba120-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"74ac1650-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/e252937a-93a5-41fa-8693-0dff434a5855/signaling 200 30ms","method":"POST","requestID":"74ac1650-75da-11ef-ba7c-09eaa4331ae1","responseTime":30,"status":200,"url":"/devices/e252937a-93a5-41fa-8693-0dff434a5855/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"74ab5300-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Faa85fe60-a2bb-4f2a-a590-bef787941974#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Faa85fe60-a2bb-4f2a-a590-bef787941974","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"c89a68ae-1ed1-43e1-a4e0-e07a2a7fa1aa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.2836967} device-1 | {"level":"info","message":"GET /devices/e252937a-93a5-41fa-8693-0dff434a5855? 200 36ms","method":"GET","requestID":"74ab5300-75da-11ef-ba7c-09eaa4331ae1","responseTime":36,"status":200,"url":"/devices/e252937a-93a5-41fa-8693-0dff434a5855?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ce177a38-a4cb-4538-bdf1-d0c0f775a5c2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.284217} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"74aba120-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/3718a5c3-9434-4165-aefb-ab7b3718019f? 200 36ms","method":"GET","requestID":"74aba120-75da-11ef-ba7c-09eaa4331ae1","responseTime":36,"status":200,"url":"/devices/3718a5c3-9434-4165-aefb-ab7b3718019f?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"feecfb096cb38d2ed8b78fb1336a4359","responseTime":25,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"74b14670-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"74b19490-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1425,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1426,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"54a66169-26d3-4c1b-907c-be729251d88c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.2934816} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1425,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.342717,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1212","request_time":"0.178","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"74b14670-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} experiment-1 | {"level":"info","message":"POST /experiments? 201 171ms","method":"POST","requestID":"feecfb096cb38d2ed8b78fb1336a4359","responseTime":171,"status":201,"url":"/experiments?"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"74b14670-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1b74d90b-b454-4713-95bc-c56786000c49","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.2948325} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1426,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.956837,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"74b19490-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"74b19490-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c","level":"info","message":"auth send jwt","requestID":"268e95b8bed2d85b2136c8c8bced9a39"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"268e95b8bed2d85b2136c8c8bced9a39","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"74b14670-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/3718a5c3-9434-4165-aefb-ab7b3718019f/signaling 200 15ms","method":"POST","requestID":"74b14670-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/3718a5c3-9434-4165-aefb-ab7b3718019f/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"268e95b8bed2d85b2136c8c8bced9a39"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"74b19490-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/e252937a-93a5-41fa-8693-0dff434a5855/signaling 200 17ms","method":"POST","requestID":"74b19490-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/e252937a-93a5-41fa-8693-0dff434a5855/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1427,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1427,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.597258,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"74b47ac0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"268e95b8bed2d85b2136c8c8bced9a39","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676659,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"268e95b8bed2d85b2136c8c8bced9a39","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1428,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4743a842-5132-4bc7-bbff-23964cb8724a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.3154001} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:16.862217655Z"}]},"request_id":"e14fab8d-a37c-48e0-981a-f136fb9d7c22","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.3160195} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"268e95b8bed2d85b2136c8c8bced9a39","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1428,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.911794,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"74b47ac0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"74b47ac0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"268e95b8bed2d85b2136c8c8bced9a39"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e252937a-93a5-41fa-8693-0dff434a5855? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"268e95b8bed2d85b2136c8c8bced9a39"} device-1 | {"level":"info","message":"GET /devices/e252937a-93a5-41fa-8693-0dff434a5855? 200 18ms","method":"GET","requestID":"268e95b8bed2d85b2136c8c8bced9a39","responseTime":19,"status":200,"url":"/devices/e252937a-93a5-41fa-8693-0dff434a5855?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"74b47ac0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/3718a5c3-9434-4165-aefb-ab7b3718019f/signaling 200 17ms","method":"POST","requestID":"74b47ac0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/3718a5c3-9434-4165-aefb-ab7b3718019f/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c","level":"info","message":"auth send jwt","requestID":"1a7203bd2ea374b9eacee0185c678957"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1a7203bd2ea374b9eacee0185c678957","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1a7203bd2ea374b9eacee0185c678957"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"74b7d620-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"74b7fd30-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1429,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1430,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1429,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.871714,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1430,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.001067,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:35922","level":"info","msg":"Received request.","req_id":1431,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1a7203bd2ea374b9eacee0185c678957","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676659,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1a7203bd2ea374b9eacee0185c678957","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"74b7d620-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676659,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"74b7d620-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35922","level":"info","msg":"Sent response.","req_id":1431,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.507151,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"74b7fd30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676659,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"74b7fd30-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:16.903579803Z"}]},"request_id":"a31c7f3a-4be3-470b-9420-e9188b36ddc4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.3380291} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:16.862217655Z"}]},"request_id":"f3060903-eef2-4dc3-a99d-3739d530bd32","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.3385758} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1a7203bd2ea374b9eacee0185c678957","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:16.903579803Z"}]},"request_id":"394793a1-c96c-467b-a227-6d9d6b2b005d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.3393571} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"74b7d620-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"74b7fd30-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1a7203bd2ea374b9eacee0185c678957"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/3718a5c3-9434-4165-aefb-ab7b3718019f? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1a7203bd2ea374b9eacee0185c678957"} device-1 | {"level":"info","message":"GET /devices/3718a5c3-9434-4165-aefb-ab7b3718019f? 200 17ms","method":"GET","requestID":"1a7203bd2ea374b9eacee0185c678957","responseTime":17,"status":200,"url":"/devices/3718a5c3-9434-4165-aefb-ab7b3718019f?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"74b7d620-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/e252937a-93a5-41fa-8693-0dff434a5855? 200 16ms","method":"GET","requestID":"74b7d620-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/e252937a-93a5-41fa-8693-0dff434a5855?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"74b7fd30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/3718a5c3-9434-4165-aefb-ab7b3718019f? 200 16ms","method":"GET","requestID":"74b7fd30-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/3718a5c3-9434-4165-aefb-ab7b3718019f?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"},"level":"info","message":"Building connection plan","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"afec1a92-4493-467d-96a0-e8fbbd707dfa"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"cce9811a-1e98-46d9-91e8-d4f3e1da4cd2"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"9e9386b6-d95b-43fd-8a83-8a9d6bb4a5d8"}]},"level":"info","message":"Built pairwise service configurations","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"74ba9540-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"74ba9540-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"74ba9540-75da-11ef-9672-db8da4810e4b","responseTime":1,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/b5690a53-f3a2-40b2-bd29-04a5c186f3b2?id=7e88ec19-3d64-49d2-8480-8287bcd8d345","ws://localhost/rooms/b5690a53-f3a2-40b2-bd29-04a5c186f3b2?id=78642d79-6bfc-49cc-ad3c-c16199ea83f8"]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"74bb0a70-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1432,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1432,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.828557,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"74bb0a70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676659,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"74bb0a70-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"3d46b656-f281-40ed-81c3-5a7e91090018","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.364612} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"91bbe93b-8c9c-4517-8a45-620103552786","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.3647768} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"74bb0a70-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"74bb0a70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"74bb0a70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/95e1822c-d975-49f3-8477-739716a25da8'","requestID":"74bb0a70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/95e1822c-d975-49f3-8477-739716a25da8'","requestID":"74bb0a70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"74bb0a70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 27ms","method":"POST","requestID":"74bb0a70-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"74bb0a70-75da-11ef-ba7c-09eaa4331ae1"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"74c0d6d0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"7e88ec19-3d64-49d2-8480-8287bcd8d345\" in room \"http://localhost/rooms/b5690a53-f3a2-40b2-bd29-04a5c186f3b2\"","requestID":"74c0d6d0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"74c0d6d0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"74c0fde0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"78642d79-6bfc-49cc-ad3c-c16199ea83f8\" in room \"http://localhost/rooms/b5690a53-f3a2-40b2-bd29-04a5c186f3b2\"","requestID":"74c0fde0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"74c0fde0-75da-11ef-9672-db8da4810e4b"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/95e1822c-d975-49f3-8477-739716a25da8' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"95e1822c-d975-49f3-8477-739716a25da8","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"7e88ec19-3d64-49d2-8480-8287bcd8d345\" in room \"http://localhost/rooms/b5690a53-f3a2-40b2-bd29-04a5c186f3b2\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"7e88ec19-3d64-49d2-8480-8287bcd8d345\" in room \"http://localhost/rooms/b5690a53-f3a2-40b2-bd29-04a5c186f3b2\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"7e88ec19-3d64-49d2-8480-8287bcd8d345\" in room \"http://localhost/rooms/b5690a53-f3a2-40b2-bd29-04a5c186f3b2\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"7e88ec19-3d64-49d2-8480-8287bcd8d345\" in room \"http://localhost/rooms/b5690a53-f3a2-40b2-bd29-04a5c186f3b2\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"7e88ec19-3d64-49d2-8480-8287bcd8d345\" in room \"http://localhost/rooms/b5690a53-f3a2-40b2-bd29-04a5c186f3b2\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"7e88ec19-3d64-49d2-8480-8287bcd8d345\" in room \"http://localhost/rooms/b5690a53-f3a2-40b2-bd29-04a5c186f3b2\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"7e88ec19-3d64-49d2-8480-8287bcd8d345\" in room \"http://localhost/rooms/b5690a53-f3a2-40b2-bd29-04a5c186f3b2\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"7e88ec19-3d64-49d2-8480-8287bcd8d345\" in room \"http://localhost/rooms/b5690a53-f3a2-40b2-bd29-04a5c186f3b2\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"942112986e8af1286cf177de16c39ba9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"942112986e8af1286cf177de16c39ba9","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/95e1822c-d975-49f3-8477-739716a25da8"}}},"level":"info","message":"received a callback","requestID":"942112986e8af1286cf177de16c39ba9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 4ms","method":"POST","requestID":"942112986e8af1286cf177de16c39ba9","responseTime":4,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.010","http_referrer":"","http_user_agent":"node-fetch","requestID":"942112986e8af1286cf177de16c39ba9"} device-1 | {"data":{"peerconnection":"95e1822c-d975-49f3-8477-739716a25da8","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"feecfb096cb38d2ed8b78fb1336a4359"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"74c43230-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1433,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6f0b1cf0-b4fc-4688-af1e-72932e2eae50","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.4160213} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1433,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.378294,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"74c43230-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"74c43230-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"data":{"peerconnection":"95e1822c-d975-49f3-8477-739716a25da8","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"74c43230-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/e252937a-93a5-41fa-8693-0dff434a5855/signaling 200 14ms","method":"POST","requestID":"74c43230-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/e252937a-93a5-41fa-8693-0dff434a5855/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"74c6ca40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1434,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"376a9551-949e-4fbf-8738-4cc86679553c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.4322736} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1434,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.349691,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"74c6ca40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"74c6ca40-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/95e1822c-d975-49f3-8477-739716a25da8' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"95e1822c-d975-49f3-8477-739716a25da8","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"74c6ca40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/3718a5c3-9434-4165-aefb-ab7b3718019f/signaling 200 10ms","method":"POST","requestID":"74c6ca40-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/3718a5c3-9434-4165-aefb-ab7b3718019f/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"84225c41ec69be9df15b4aad2589c068","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"84225c41ec69be9df15b4aad2589c068","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/95e1822c-d975-49f3-8477-739716a25da8"}}},"level":"info","message":"received a callback","requestID":"84225c41ec69be9df15b4aad2589c068"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"74c96250-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1435,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F95e1822c-d975-49f3-8477-739716a25da8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cc8f0b97-294c-4382-8827-d8a92dd6f1b8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.4493124} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1435,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.328303,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/95e1822c-d975-49f3-8477-739716a25da8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"74c96250-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/95e1822c-d975-49f3-8477-739716a25da8","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"74c96250-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"74c96250-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/95e1822c-d975-49f3-8477-739716a25da8 200 8ms","method":"GET","requestID":"74c96250-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/peerconnections/95e1822c-d975-49f3-8477-739716a25da8"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 26ms","method":"POST","requestID":"84225c41ec69be9df15b4aad2589c068","responseTime":26,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.029","http_referrer":"","http_user_agent":"node-fetch","requestID":"84225c41ec69be9df15b4aad2589c068"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"74ccbdb0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1436,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2761b94a-cdcb-405a-aa54-cbfb95ed9c80","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.4718544} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1436,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.360556,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"74ccbdb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"74ccbdb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"74ccbdb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/3718a5c3-9434-4165-aefb-ab7b3718019f/signaling 200 10ms","method":"POST","requestID":"74ccbdb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/3718a5c3-9434-4165-aefb-ab7b3718019f/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"74ce9270-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1437,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eb781bad-473f-4227-8dc6-3296ff241ba7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.484055} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1437,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.541238,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"74ce9270-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"74ce9270-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"74ce9270-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/e252937a-93a5-41fa-8693-0dff434a5855/signaling 200 9ms","method":"POST","requestID":"74ce9270-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/e252937a-93a5-41fa-8693-0dff434a5855/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c","level":"info","message":"auth send jwt","requestID":"2eb60afe5121c2c24d29c683dfd8fbd4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2eb60afe5121c2c24d29c683dfd8fbd4","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/aa85fe60-a2bb-4f2a-a590-bef787941974","requestID":"2eb60afe5121c2c24d29c683dfd8fbd4"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1438,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1438,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.811247,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2eb60afe5121c2c24d29c683dfd8fbd4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676659,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2eb60afe5121c2c24d29c683dfd8fbd4","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/aa85fe60-a2bb-4f2a-a590-bef787941974","requestID":"2eb60afe5121c2c24d29c683dfd8fbd4"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/aa85fe60-a2bb-4f2a-a590-bef787941974 HTTP/1.1","status": "200","body_bytes_sent":"1285","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2eb60afe5121c2c24d29c683dfd8fbd4"} experiment-1 | {"level":"info","message":"GET /experiments/aa85fe60-a2bb-4f2a-a590-bef787941974 200 10ms","method":"GET","requestID":"2eb60afe5121c2c24d29c683dfd8fbd4","responseTime":10,"status":200,"url":"/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c","level":"info","message":"auth send jwt","requestID":"6fcdd765abab58b4d8da2856a38cc9ac"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6fcdd765abab58b4d8da2856a38cc9ac","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/aa85fe60-a2bb-4f2a-a590-bef787941974","requestID":"6fcdd765abab58b4d8da2856a38cc9ac"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1439,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1439,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.673529,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6fcdd765abab58b4d8da2856a38cc9ac","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676659,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6fcdd765abab58b4d8da2856a38cc9ac","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"},"level":"info","message":"Attempting to finish experiment","requestID":"6fcdd765abab58b4d8da2856a38cc9ac"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"74d63390-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1440,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1440,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.524103,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/95e1822c-d975-49f3-8477-739716a25da8","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"74d63390-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/95e1822c-d975-49f3-8477-739716a25da8","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676659,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"74d63390-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/95e1822c-d975-49f3-8477-739716a25da8","device":"e252937a-93a5-41fa-8693-0dff434a5855","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/95e1822c-d975-49f3-8477-739716a25da8","device":"3718a5c3-9434-4165-aefb-ab7b3718019f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/b5690a53-f3a2-40b2-bd29-04a5c186f3b2?id=7e88ec19-3d64-49d2-8480-8287bcd8d345 HTTP/1.1","status": "101","body_bytes_sent":"874","request_time":"0.160","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"b483ad9315682823c6cde17bd24874da"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/b5690a53-f3a2-40b2-bd29-04a5c186f3b2?id=78642d79-6bfc-49cc-ad3c-c16199ea83f8 HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.158","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e3f4ed36d0fb5dbf144c1672dfe8c823"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"78642d79-6bfc-49cc-ad3c-c16199ea83f8\" in room \"http://localhost/rooms/b5690a53-f3a2-40b2-bd29-04a5c186f3b2\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"78642d79-6bfc-49cc-ad3c-c16199ea83f8\" from room \"http://localhost/rooms/b5690a53-f3a2-40b2-bd29-04a5c186f3b2\""} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"7e88ec19-3d64-49d2-8480-8287bcd8d345\" in room \"http://localhost/rooms/b5690a53-f3a2-40b2-bd29-04a5c186f3b2\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"7e88ec19-3d64-49d2-8480-8287bcd8d345\" from room \"http://localhost/rooms/b5690a53-f3a2-40b2-bd29-04a5c186f3b2\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/95e1822c-d975-49f3-8477-739716a25da8' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/95e1822c-d975-49f3-8477-739716a25da8' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"95e1822c-d975-49f3-8477-739716a25da8","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F95e1822c-d975-49f3-8477-739716a25da8': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F95e1822c-d975-49f3-8477-739716a25da8","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"b0f05ee4-10b2-4bde-bd43-590a09244f49","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.551665} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1de0355a0cff5f30d36ef3750058195d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b36c2916-3089-4fe3-8fdb-536942033bd3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.5519178} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"1de0355a0cff5f30d36ef3750058195d","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"49e5b161eb330ab3053539da0f857920","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"74d63390-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"49e5b161eb330ab3053539da0f857920","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/95e1822c-d975-49f3-8477-739716a25da8"}}},"level":"info","message":"received a callback","requestID":"1de0355a0cff5f30d36ef3750058195d"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/95e1822c-d975-49f3-8477-739716a25da8"}}},"level":"info","message":"received a callback","requestID":"49e5b161eb330ab3053539da0f857920"} device-1 | {"data":{"peerconnection":"95e1822c-d975-49f3-8477-739716a25da8","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"74d63390-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/95e1822c-d975-49f3-8477-739716a25da8 204 44ms","method":"DELETE","requestID":"74d63390-75da-11ef-ba7c-09eaa4331ae1","responseTime":44,"status":204,"url":"/peerconnections/95e1822c-d975-49f3-8477-739716a25da8"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855'"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"},"level":"info","message":"Successfully finished experiment","requestID":"6fcdd765abab58b4d8da2856a38cc9ac"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"74e01ea0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1441,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3718a5c3-9434-4165-aefb-ab7b3718019f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5df63305-7315-47c3-9949-e08d4490ee7d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.6004272} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1441,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.831483,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"74e01ea0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"74e01ea0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"74e01ea0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/3718a5c3-9434-4165-aefb-ab7b3718019f/signaling 200 12ms","method":"POST","requestID":"74e01ea0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/3718a5c3-9434-4165-aefb-ab7b3718019f/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Faa85fe60-a2bb-4f2a-a590-bef787941974': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Faa85fe60-a2bb-4f2a-a590-bef787941974","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"918c10d3-84ee-4750-9994-7839672d38c2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.6094553} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"74e26890-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8aecb32b-aecd-4c8e-80b3-3c0610fea338","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.6096368} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"6fcdd765abab58b4d8da2856a38cc9ac","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1442,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe252937a-93a5-41fa-8693-0dff434a5855","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cea892d2-a337-4032-8b07-3594e7df7034","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.615217} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1442,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.887204,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"74e26890-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"74e26890-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"74e26890-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/e252937a-93a5-41fa-8693-0dff434a5855/signaling 200 12ms","method":"POST","requestID":"74e26890-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/e252937a-93a5-41fa-8693-0dff434a5855/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/aa85fe60-a2bb-4f2a-a590-bef787941974","requestID":"6fcdd765abab58b4d8da2856a38cc9ac"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/aa85fe60-a2bb-4f2a-a590-bef787941974 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.165","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6fcdd765abab58b4d8da2856a38cc9ac"} experiment-1 | {"level":"info","message":"DELETE /experiments/aa85fe60-a2bb-4f2a-a590-bef787941974 204 162ms","method":"DELETE","requestID":"6fcdd765abab58b4d8da2856a38cc9ac","responseTime":162,"status":204,"url":"/experiments/aa85fe60-a2bb-4f2a-a590-bef787941974"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 130ms","method":"POST","requestID":"1de0355a0cff5f30d36ef3750058195d","responseTime":130,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.133","http_referrer":"","http_user_agent":"node-fetch","requestID":"1de0355a0cff5f30d36ef3750058195d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 129ms","method":"POST","requestID":"49e5b161eb330ab3053539da0f857920","responseTime":129,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.134","http_referrer":"","http_user_agent":"node-fetch","requestID":"49e5b161eb330ab3053539da0f857920"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c","level":"info","message":"auth send jwt","requestID":"6338a8e47b78efeb5105389110d24c92"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6338a8e47b78efeb5105389110d24c92","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"6338a8e47b78efeb5105389110d24c92"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1744","request_time":"0.739","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"b76aae2d59d914ebe7e1d2e96536f874"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1745","request_time":"0.731","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"aef57846288fa8efe54527fb14e90418"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1443,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1443,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.912071,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6338a8e47b78efeb5105389110d24c92","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676659,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6338a8e47b78efeb5105389110d24c92","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/3718a5c3-9434-4165-aefb-ab7b3718019f' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"fddccae2-c468-4b0c-ab5a-223c447ed68f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.717529} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6338a8e47b78efeb5105389110d24c92","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/e252937a-93a5-41fa-8693-0dff434a5855' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8a66d384-847a-4fe9-8055-009b2e3cc5de","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.722003} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"6338a8e47b78efeb5105389110d24c92","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"679ded0a-a575-48e7-a5d9-a6ef7cddb1ad","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.7380483} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"67f0f55d-409a-41f2-9b45-17e5e4602173","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.7383115} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"6338a8e47b78efeb5105389110d24c92","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:19.737988044Z"}]},"request_id":"2510f338-4ff7-41f1-af9c-9870ebad93fb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.7423613} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6338a8e47b78efeb5105389110d24c92","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"6338a8e47b78efeb5105389110d24c92"} device-1 | {"level":"info","message":"POST /devices? 201 55ms","method":"POST","requestID":"6338a8e47b78efeb5105389110d24c92","responseTime":55,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.062","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6338a8e47b78efeb5105389110d24c92"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c","level":"info","message":"auth send jwt","requestID":"95cfff4b00ba20b26e3205d7c38c18d6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"95cfff4b00ba20b26e3205d7c38c18d6","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"95cfff4b00ba20b26e3205d7c38c18d6"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1444,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1444,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.793474,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"95cfff4b00ba20b26e3205d7c38c18d6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676659,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY1OX0.Jb-axHKCaUOL2rO5NwXufv50w5nKCikm3zik1wr71_c"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"95cfff4b00ba20b26e3205d7c38c18d6","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"213f411e-117c-4ca4-8096-a5b662e7e634","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.767895} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"95cfff4b00ba20b26e3205d7c38c18d6","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4460aa2e-4248-4ad4-a5dc-18ee87de71bb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.7727766} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"95cfff4b00ba20b26e3205d7c38c18d6","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"6477ffd7-1c21-474f-98da-288603bfcd0f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.783383} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"de40139a-8101-4fca-b575-f3727418e2d9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.7835941} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"95cfff4b00ba20b26e3205d7c38c18d6","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:19.783346136Z"}]},"request_id":"3fb05059-7eb0-4b86-bf2d-74aed0e28c46","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676659.7872581} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"95cfff4b00ba20b26e3205d7c38c18d6","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"95cfff4b00ba20b26e3205d7c38c18d6"} gateway-1 | {"time_local":"18/Sep/2024:16:24:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.044","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"95cfff4b00ba20b26e3205d7c38c18d6"} device-1 | {"level":"info","message":"POST /devices? 201 39ms","method":"POST","requestID":"95cfff4b00ba20b26e3205d7c38c18d6","responseTime":39,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MH0.u95_zAWmr-ILadYYws1ih7Q4XLU9BLODBERClzaStew","level":"info","message":"auth send jwt","requestID":"c04f1ec5eb83f7745e707c615f1eefa8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c04f1ec5eb83f7745e707c615f1eefa8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"c04f1ec5eb83f7745e707c615f1eefa8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1445,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1445,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.149461,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:20Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c04f1ec5eb83f7745e707c615f1eefa8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676660,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MH0.u95_zAWmr-ILadYYws1ih7Q4XLU9BLODBERClzaStew"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c04f1ec5eb83f7745e707c615f1eefa8","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:19.783346136Z"}]},"request_id":"e36dc704-f77f-432b-a8f7-6f31047bf66b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676660.2703893} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c04f1ec5eb83f7745e707c615f1eefa8","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ac6f2064-3430-4eb1-a23f-476192fb5164","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676660.2775629} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"c04f1ec5eb83f7745e707c615f1eefa8","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:19.783346136Z"}]},"request_id":"941e5e12-fd13-487d-b0da-6502e85165b2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676660.2890773} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c04f1ec5eb83f7745e707c615f1eefa8","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"c04f1ec5eb83f7745e707c615f1eefa8"} device-1 | {"level":"info","message":"PATCH /devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1 200 35ms","method":"PATCH","requestID":"c04f1ec5eb83f7745e707c615f1eefa8","responseTime":35,"status":200,"url":"/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1"} gateway-1 | {"time_local":"18/Sep/2024:16:24:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.041","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"c04f1ec5eb83f7745e707c615f1eefa8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MH0.u95_zAWmr-ILadYYws1ih7Q4XLU9BLODBERClzaStew","level":"info","message":"auth send jwt","requestID":"4daadcc1de3c738db497bed47dc2e856"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"4daadcc1de3c738db497bed47dc2e856","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"4daadcc1de3c738db497bed47dc2e856"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1446,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:20Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1446,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.064038,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:20Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"4daadcc1de3c738db497bed47dc2e856","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676660,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MH0.u95_zAWmr-ILadYYws1ih7Q4XLU9BLODBERClzaStew"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4daadcc1de3c738db497bed47dc2e856","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"4daadcc1de3c738db497bed47dc2e856"} gateway-1 | {"time_local":"18/Sep/2024:16:24:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.025","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"4daadcc1de3c738db497bed47dc2e856"} device-1 | {"level":"info","message":"POST /devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1/websocket 200 19ms","method":"POST","requestID":"4daadcc1de3c738db497bed47dc2e856","responseTime":19,"status":200,"url":"/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a0915d91ac819898457fbdae3ba614c9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a0915d91ac819898457fbdae3ba614c9","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"a0915d91ac819898457fbdae3ba614c9"} device-1 | {"level":"info","message":"OPTIONS /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0/websocket 200 1ms","method":"OPTIONS","requestID":"a0915d91ac819898457fbdae3ba614c9","responseTime":1,"status":200,"url":"/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MX0.jvt0gxzASWKqWDLefbpHptjwygNfM-wTt3f_GkpQfzk","level":"info","message":"auth send jwt","requestID":"90aa3bd34e1b1d321d520aa229dad88a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"90aa3bd34e1b1d321d520aa229dad88a","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"90aa3bd34e1b1d321d520aa229dad88a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1447,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:21Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1447,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.23649,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:21Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"90aa3bd34e1b1d321d520aa229dad88a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676661,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MX0.jvt0gxzASWKqWDLefbpHptjwygNfM-wTt3f_GkpQfzk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"90aa3bd34e1b1d321d520aa229dad88a","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"90aa3bd34e1b1d321d520aa229dad88a"} device-1 | {"level":"info","message":"POST /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0/websocket 200 23ms","method":"POST","requestID":"90aa3bd34e1b1d321d520aa229dad88a","responseTime":23,"status":200,"url":"/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:24:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.029","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"90aa3bd34e1b1d321d520aa229dad88a"} device-1 | {"level":"info","message":"device 'http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b989a54a8607d67c5b1afbe135de67c0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b989a54a8607d67c5b1afbe135de67c0","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"OPTIONS /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0? 200 1ms","method":"OPTIONS","requestID":"b989a54a8607d67c5b1afbe135de67c0","responseTime":1,"status":200,"url":"/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"b989a54a8607d67c5b1afbe135de67c0"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MX0.jvt0gxzASWKqWDLefbpHptjwygNfM-wTt3f_GkpQfzk","level":"info","message":"auth send jwt","requestID":"e3c3296ae2d9664c73d7b1de7aac0014"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e3c3296ae2d9664c73d7b1de7aac0014","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e3c3296ae2d9664c73d7b1de7aac0014"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1448,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:21Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1448,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.310442,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:21Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e3c3296ae2d9664c73d7b1de7aac0014","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676661,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MX0.jvt0gxzASWKqWDLefbpHptjwygNfM-wTt3f_GkpQfzk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e3c3296ae2d9664c73d7b1de7aac0014","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:19.737988044Z"}]},"request_id":"e9356fec-a00d-436a-b48e-9d3a56565c1d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676661.899115} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e3c3296ae2d9664c73d7b1de7aac0014","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8a2952b7-5a9f-4ef3-8dec-1fb75cf204fc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676661.906478} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"e3c3296ae2d9664c73d7b1de7aac0014","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:19.737988044Z"}]},"request_id":"28276467-9154-4c58-9f0b-cdb743b5f790","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676661.9184213} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e3c3296ae2d9664c73d7b1de7aac0014","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e3c3296ae2d9664c73d7b1de7aac0014"} device-1 | {"level":"info","message":"PATCH /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0? 200 41ms","method":"PATCH","requestID":"e3c3296ae2d9664c73d7b1de7aac0014","responseTime":41,"status":200,"url":"/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.048","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e3c3296ae2d9664c73d7b1de7aac0014"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MX0.jvt0gxzASWKqWDLefbpHptjwygNfM-wTt3f_GkpQfzk","level":"info","message":"auth send jwt","requestID":"b507f30c583e9e96e11928a6d463ee4e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b507f30c583e9e96e11928a6d463ee4e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b507f30c583e9e96e11928a6d463ee4e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1449,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:21Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1449,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.585594,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b507f30c583e9e96e11928a6d463ee4e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676661,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MX0.jvt0gxzASWKqWDLefbpHptjwygNfM-wTt3f_GkpQfzk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b507f30c583e9e96e11928a6d463ee4e","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:19.737988044Z"}]},"request_id":"8075de46-6620-4e98-bb71-2a4a682e224c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676661.9512537} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b507f30c583e9e96e11928a6d463ee4e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b507f30c583e9e96e11928a6d463ee4e"} gateway-1 | {"time_local":"18/Sep/2024:16:24:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b507f30c583e9e96e11928a6d463ee4e"} device-1 | {"level":"info","message":"GET /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0? 200 18ms","method":"GET","requestID":"b507f30c583e9e96e11928a6d463ee4e","responseTime":18,"status":200,"url":"/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MX0.jvt0gxzASWKqWDLefbpHptjwygNfM-wTt3f_GkpQfzk","level":"info","message":"auth send jwt","requestID":"03aaa64ac7e9e4a621ca8be0d6a13d9d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"03aaa64ac7e9e4a621ca8be0d6a13d9d","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"03aaa64ac7e9e4a621ca8be0d6a13d9d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1450,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:21Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1450,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.254802,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"03aaa64ac7e9e4a621ca8be0d6a13d9d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676661,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MX0.jvt0gxzASWKqWDLefbpHptjwygNfM-wTt3f_GkpQfzk"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"03aaa64ac7e9e4a621ca8be0d6a13d9d","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:19.783346136Z"}]},"request_id":"58081804-50a3-4320-acf9-84792440e8d7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676661.97674} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"03aaa64ac7e9e4a621ca8be0d6a13d9d","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"03aaa64ac7e9e4a621ca8be0d6a13d9d"} gateway-1 | {"time_local":"18/Sep/2024:16:24:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"03aaa64ac7e9e4a621ca8be0d6a13d9d"} device-1 | {"level":"info","message":"GET /devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1? 200 19ms","method":"GET","requestID":"03aaa64ac7e9e4a621ca8be0d6a13d9d","responseTime":19,"status":200,"url":"/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MX0.jvt0gxzASWKqWDLefbpHptjwygNfM-wTt3f_GkpQfzk","level":"info","message":"auth send jwt","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1451,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:21Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1451,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.216191,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:21Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"af1a75e5ba7e1cbe221a798d068d3fa7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676661,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MX0.jvt0gxzASWKqWDLefbpHptjwygNfM-wTt3f_GkpQfzk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"},"level":"info","message":"Attempting to run experiment","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"},"level":"info","message":"Attempting to book experiment","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"},"level":"info","message":"Successfully booked experiment","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"76546f20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7654bd40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1452,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1452,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.316203,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"76546f20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676661,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MX0.jvt0gxzASWKqWDLefbpHptjwygNfM-wTt3f_GkpQfzk"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"76546f20-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1453,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1453,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.217888,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7654bd40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676661,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MX0.jvt0gxzASWKqWDLefbpHptjwygNfM-wTt3f_GkpQfzk"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7654bd40-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:19.737988044Z"}]},"request_id":"05d2889c-13df-4b7e-81ee-48e7e3c740a8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.0470526} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"76546f20-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:19.783346136Z"}]},"request_id":"2a5a0878-b1cf-4fa0-ae86-d6327308201d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.048502} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7654bd40-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"76546f20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0? 200 22ms","method":"GET","requestID":"76546f20-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7654bd40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1? 200 21ms","method":"GET","requestID":"7654bd40-75da-11ef-ba7c-09eaa4331ae1","responseTime":21,"status":200,"url":"/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"},"level":"info","message":"Setting up experiment","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"},"level":"info","message":"Successfully locked booking for experiment","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"},"level":"info","message":"Attempting to update booking for experiment","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"},"level":"info","message":"Successfully updated booking for experiment","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"},"level":"info","message":"Successfully set up experiment","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"765f4490-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"765f92b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"765fe0d0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"},"level":"info","message":"Successfully running experiment","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1454,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1455,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1454,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.366387,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1455,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.400524,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"client_addr":"127.0.0.1:35922","level":"info","msg":"Received request.","req_id":1456,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"765f4490-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676661,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MX0.jvt0gxzASWKqWDLefbpHptjwygNfM-wTt3f_GkpQfzk"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"765f4490-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"765f92b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676661,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MX0.jvt0gxzASWKqWDLefbpHptjwygNfM-wTt3f_GkpQfzk"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"765f92b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35922","level":"info","msg":"Sent response.","req_id":1456,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.73942,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c24441e8-c345-4651-83ec-916bb75d3a0b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.116692} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"765fe0d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"765fe0d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:19.737988044Z"}]},"request_id":"54d875b1-2e00-44f8-8ef8-67ce3224f579","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.123821} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"765fe0d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0/signaling 200 16ms","method":"POST","requestID":"765fe0d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"765f4490-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:19.783346136Z"}]},"request_id":"48d004af-f708-40be-8a53-4db171230126","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.125334} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"765f92b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7662ee10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"765f4490-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0? 200 29ms","method":"GET","requestID":"765f4490-75da-11ef-ba7c-09eaa4331ae1","responseTime":29,"status":200,"url":"/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"765f92b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1457,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} device-1 | {"level":"info","message":"GET /devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1? 200 29ms","method":"GET","requestID":"765f92b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":29,"status":200,"url":"/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fdef65b5c-bd91-4c44-8a4c-75a6359c3184#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fdef65b5c-bd91-4c44-8a4c-75a6359c3184","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"32fb121a-3d5b-4132-9062-1375b3953aa2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.1361773} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1d2625c4-8852-4b26-a961-c1d57ab567bb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.136446} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"549e972e-8f71-4744-9d4f-9a01c828a08e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.1366277} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1457,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.065006,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"76644da0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7662ee10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7662ee10-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7","responseTime":25,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1458,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7662ee10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1/signaling 200 13ms","method":"POST","requestID":"7662ee10-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2a17b203-91e4-45c9-b974-439b33dfe339","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.143578} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1458,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.409374,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"76644da0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"76644da0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"76644da0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0/signaling 200 12ms","method":"POST","requestID":"76644da0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0/signaling"} experiment-1 | {"level":"info","message":"POST /experiments? 201 158ms","method":"POST","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7","responseTime":158,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1216","request_time":"0.166","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"76669790-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2Mn0.gtFJ2GwXeNmzRuF6u2I2wxW8akHhglM2B02BY06e8Lg","level":"info","message":"auth send jwt","requestID":"28d9a843ea24a1bf72f9134a112084ae"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"28d9a843ea24a1bf72f9134a112084ae","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1459,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"28d9a843ea24a1bf72f9134a112084ae"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2a90cba2-8876-4639-8397-a772af533e39","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.1579876} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1459,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.581631,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1460,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"76669790-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"76669790-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1460,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.723702,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"28d9a843ea24a1bf72f9134a112084ae","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676662,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2Mn0.gtFJ2GwXeNmzRuF6u2I2wxW8akHhglM2B02BY06e8Lg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"28d9a843ea24a1bf72f9134a112084ae","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"76669790-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1/signaling 200 13ms","method":"POST","requestID":"76669790-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:19.737988044Z"}]},"request_id":"7b5a5b1a-2b74-4449-9b7e-f5b3c7f04a16","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.1662314} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"28d9a843ea24a1bf72f9134a112084ae","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"76690890-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"76692fa0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"28d9a843ea24a1bf72f9134a112084ae"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1461,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1461,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.153882,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1462,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} device-1 | {"level":"info","message":"GET /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0? 200 17ms","method":"GET","requestID":"28d9a843ea24a1bf72f9134a112084ae","responseTime":17,"status":200,"url":"/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"28d9a843ea24a1bf72f9134a112084ae"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"76690890-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676661,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MX0.jvt0gxzASWKqWDLefbpHptjwygNfM-wTt3f_GkpQfzk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"76690890-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1462,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.992669,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"76692fa0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676661,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MX0.jvt0gxzASWKqWDLefbpHptjwygNfM-wTt3f_GkpQfzk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"76692fa0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2Mn0.gtFJ2GwXeNmzRuF6u2I2wxW8akHhglM2B02BY06e8Lg","level":"info","message":"auth send jwt","requestID":"8a4a5b6706cad53d1af5fb263da6b681"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8a4a5b6706cad53d1af5fb263da6b681","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8a4a5b6706cad53d1af5fb263da6b681"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:19.737988044Z"}]},"request_id":"498f6f31-a405-4e67-a52c-c7a7f84100d4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.179171} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"76690890-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:19.783346136Z"}]},"request_id":"172b5db5-9409-4b54-ac2b-3f8cd5a23b1f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.1814601} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"76692fa0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1463,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1463,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.071469,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"76690890-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8a4a5b6706cad53d1af5fb263da6b681","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676662,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2Mn0.gtFJ2GwXeNmzRuF6u2I2wxW8akHhglM2B02BY06e8Lg"} device-1 | {"level":"info","message":"GET /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0? 200 18ms","method":"GET","requestID":"76690890-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0?"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8a4a5b6706cad53d1af5fb263da6b681","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"76692fa0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1? 200 18ms","method":"GET","requestID":"76692fa0-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"},"level":"info","message":"Building connection plan","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"426436fc-5056-49b0-ba08-c09c0b8973e4"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"1fd1a1de-4494-4d7d-88ef-756d28f81abf"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"62fffadd-d6f1-4f3f-9a97-73363dbb9b79"}]},"level":"info","message":"Built pairwise service configurations","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"766c3ce0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"766c3ce0-75da-11ef-9672-db8da4810e4b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:19.783346136Z"}]},"request_id":"e141af9b-4d44-4901-995a-3e5311191456","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.1916692} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"766c3ce0-75da-11ef-9672-db8da4810e4b","responseTime":1,"status":201,"url":"/rooms"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8a4a5b6706cad53d1af5fb263da6b681","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/356c95d0-b1a0-41ec-9954-76a961b01846?id=a08e8d26-7e72-459c-8620-0ed2b1361e13","ws://localhost/rooms/356c95d0-b1a0-41ec-9954-76a961b01846?id=cf63e963-1124-4eba-b386-38ec30f57e34"]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"766d0030-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8a4a5b6706cad53d1af5fb263da6b681"} device-1 | {"level":"info","message":"GET /devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1? 200 17ms","method":"GET","requestID":"8a4a5b6706cad53d1af5fb263da6b681","responseTime":17,"status":200,"url":"/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8a4a5b6706cad53d1af5fb263da6b681"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1464,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1464,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.076971,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"766d0030-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676661,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2MX0.jvt0gxzASWKqWDLefbpHptjwygNfM-wTt3f_GkpQfzk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"766d0030-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"52f628c2-4f43-481b-8357-d1ecf1726c58","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.2132113} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ca79bbb4-57f7-4203-a841-e5ae2ad83124","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.2133932} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"766d0030-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"766d0030-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"766d0030-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead'","requestID":"766d0030-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead'","requestID":"766d0030-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"766d0030-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 32ms","method":"POST","requestID":"766d0030-75da-11ef-ba7c-09eaa4331ae1","responseTime":32,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"766d0030-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"7673b6f0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"cf63e963-1124-4eba-b386-38ec30f57e34\" in room \"http://localhost/rooms/356c95d0-b1a0-41ec-9954-76a961b01846\"","requestID":"7673b6f0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"7673b6f0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"76740510-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"a08e8d26-7e72-459c-8620-0ed2b1361e13\" in room \"http://localhost/rooms/356c95d0-b1a0-41ec-9954-76a961b01846\"","requestID":"76740510-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"76740510-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c39be08a0d0ff618d2931842e8d3c8c1","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"c39be08a0d0ff618d2931842e8d3c8c1","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead"}}},"level":"info","message":"received a callback","requestID":"c39be08a0d0ff618d2931842e8d3c8c1"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"cf63e963-1124-4eba-b386-38ec30f57e34\" in room \"http://localhost/rooms/356c95d0-b1a0-41ec-9954-76a961b01846\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"cf63e963-1124-4eba-b386-38ec30f57e34\" in room \"http://localhost/rooms/356c95d0-b1a0-41ec-9954-76a961b01846\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"cf63e963-1124-4eba-b386-38ec30f57e34\" in room \"http://localhost/rooms/356c95d0-b1a0-41ec-9954-76a961b01846\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"cf63e963-1124-4eba-b386-38ec30f57e34\" in room \"http://localhost/rooms/356c95d0-b1a0-41ec-9954-76a961b01846\""} device-1 | {"data":{"peerconnection":"9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 10ms","method":"POST","requestID":"c39be08a0d0ff618d2931842e8d3c8c1","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch","requestID":"c39be08a0d0ff618d2931842e8d3c8c1"} device-1 | {"data":{"peerconnection":"9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"af1a75e5ba7e1cbe221a798d068d3fa7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"76784ad0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1465,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"accb9ba0-bc76-434e-8c8f-fde16188cd7b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.2742286} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1465,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.599653,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"76784ad0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"76784ad0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"500872855d24878d4b626123401ce2fd","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"76784ad0-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"500872855d24878d4b626123401ce2fd","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"POST /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0/signaling 200 10ms","method":"POST","requestID":"76784ad0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"767a1f90-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead"}}},"level":"info","message":"received a callback","requestID":"500872855d24878d4b626123401ce2fd"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1466,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f5462660-0b7c-46e3-9686-1c114d2e2c7a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.2858348} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1466,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.327493,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"767ae2e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"767a1f90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"767a1f90-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1467,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"767a1f90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1/signaling 200 9ms","method":"POST","requestID":"767a1f90-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"093b095e-23e3-47b3-b4a0-d461de8f9303","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.2910457} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1467,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.716202,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"767ae2e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"767ae2e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"767ae2e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead 200 8ms","method":"GET","requestID":"767ae2e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 25ms","method":"POST","requestID":"500872855d24878d4b626123401ce2fd","responseTime":25,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch","requestID":"500872855d24878d4b626123401ce2fd"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"767df020-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1468,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"610c73b9-7b6f-4284-b6c1-1360af7032e3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.3108468} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1468,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.24596,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"767df020-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"767df020-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"767df020-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0/signaling 200 8ms","method":"POST","requestID":"767df020-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"767f76c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1469,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"13242f8e-94e4-4349-8208-f25b6212cc92","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.32076} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1469,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.295376,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"767f76c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"767f76c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"767f76c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1/signaling 200 8ms","method":"POST","requestID":"767f76c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2Mn0.gtFJ2GwXeNmzRuF6u2I2wxW8akHhglM2B02BY06e8Lg","level":"info","message":"auth send jwt","requestID":"6a4f80f6751d2e469c8bdafb63047cbe"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6a4f80f6751d2e469c8bdafb63047cbe","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184","requestID":"6a4f80f6751d2e469c8bdafb63047cbe"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1470,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1470,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.016286,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6a4f80f6751d2e469c8bdafb63047cbe","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676662,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2Mn0.gtFJ2GwXeNmzRuF6u2I2wxW8akHhglM2B02BY06e8Lg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6a4f80f6751d2e469c8bdafb63047cbe","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184","requestID":"6a4f80f6751d2e469c8bdafb63047cbe"} experiment-1 | {"level":"info","message":"GET /experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184 200 14ms","method":"GET","requestID":"6a4f80f6751d2e469c8bdafb63047cbe","responseTime":14,"status":200,"url":"/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"} gateway-1 | {"time_local":"18/Sep/2024:16:24:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184 HTTP/1.1","status": "200","body_bytes_sent":"1289","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6a4f80f6751d2e469c8bdafb63047cbe"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2Mn0.gtFJ2GwXeNmzRuF6u2I2wxW8akHhglM2B02BY06e8Lg","level":"info","message":"auth send jwt","requestID":"aa7770452c675de9d49618c4c5d7ac0a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"aa7770452c675de9d49618c4c5d7ac0a","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184","requestID":"aa7770452c675de9d49618c4c5d7ac0a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1471,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1471,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.104969,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"aa7770452c675de9d49618c4c5d7ac0a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676662,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2Mn0.gtFJ2GwXeNmzRuF6u2I2wxW8akHhglM2B02BY06e8Lg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"aa7770452c675de9d49618c4c5d7ac0a","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"},"level":"info","message":"Attempting to finish experiment","requestID":"aa7770452c675de9d49618c4c5d7ac0a"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"768a4c30-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1472,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1472,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.335533,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"768a4c30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676662,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2Mn0.gtFJ2GwXeNmzRuF6u2I2wxW8akHhglM2B02BY06e8Lg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"768a4c30-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:24:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/356c95d0-b1a0-41ec-9954-76a961b01846?id=cf63e963-1124-4eba-b386-38ec30f57e34 HTTP/1.1","status": "101","body_bytes_sent":"436","request_time":"0.163","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"a9d0653b2b149b5cffbbf2bcd0084f86"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"cf63e963-1124-4eba-b386-38ec30f57e34\" in room \"http://localhost/rooms/356c95d0-b1a0-41ec-9954-76a961b01846\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"cf63e963-1124-4eba-b386-38ec30f57e34\" from room \"http://localhost/rooms/356c95d0-b1a0-41ec-9954-76a961b01846\""} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead","device":"920e1ceb-e0b4-4df5-babe-90d7cf6090b0","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"18/Sep/2024:16:24:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/356c95d0-b1a0-41ec-9954-76a961b01846?id=a08e8d26-7e72-459c-8620-0ed2b1361e13 HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.163","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"de60470b949fe1f386c17dbd722afa96"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"a08e8d26-7e72-459c-8620-0ed2b1361e13\" in room \"http://localhost/rooms/356c95d0-b1a0-41ec-9954-76a961b01846\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"a08e8d26-7e72-459c-8620-0ed2b1361e13\" from room \"http://localhost/rooms/356c95d0-b1a0-41ec-9954-76a961b01846\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"adb055b256df9af646e46587e55ee7ef","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"6cc243e1-fffd-4a85-8e7a-729b5b1508d0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.4082367} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2c6118df-577e-4027-98f6-ae89da6fb59d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.408547} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"adb055b256df9af646e46587e55ee7ef","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f7589571e8c39df5db38d566fe643486","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead"}}},"level":"info","message":"received a callback","requestID":"adb055b256df9af646e46587e55ee7ef"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f7589571e8c39df5db38d566fe643486","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"768a4c30-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead"}}},"level":"info","message":"received a callback","requestID":"f7589571e8c39df5db38d566fe643486"} device-1 | {"data":{"peerconnection":"9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"768a4c30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead 204 44ms","method":"DELETE","requestID":"768a4c30-75da-11ef-ba7c-09eaa4331ae1","responseTime":44,"status":204,"url":"/peerconnections/9b59ddf9-e4c5-4dcb-bdfb-ec7c271a4ead"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"},"level":"info","message":"Successfully finished experiment","requestID":"aa7770452c675de9d49618c4c5d7ac0a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7693c210-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1473,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F920e1ceb-e0b4-4df5-babe-90d7cf6090b0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"76a63a15-9f21-4313-bd99-f4aaf18d0557","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.4563673} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1473,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.718352,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7693c210-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7693c210-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7693c210-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0/signaling 200 13ms","method":"POST","requestID":"7693c210-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fdef65b5c-bd91-4c44-8a4c-75a6359c3184': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fdef65b5c-bd91-4c44-8a4c-75a6359c3184","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"fe1c2067-debf-4d8c-91d5-c03d5041abfb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.462891} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"eb1fd73a-70c6-47c8-aead-56539261a554","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.4632783} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"aa7770452c675de9d49618c4c5d7ac0a","responseTime":18,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"76963310-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1474,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b48abb8b-0a85-4a7a-9801-b4c6caa8a699","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.4714978} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1474,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.328605,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"76963310-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"76963310-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"76963310-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1/signaling 200 13ms","method":"POST","requestID":"76963310-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184","requestID":"aa7770452c675de9d49618c4c5d7ac0a"} gateway-1 | {"time_local":"18/Sep/2024:16:24:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.153","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"aa7770452c675de9d49618c4c5d7ac0a"} experiment-1 | {"level":"info","message":"DELETE /experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184 204 149ms","method":"DELETE","requestID":"aa7770452c675de9d49618c4c5d7ac0a","responseTime":149,"status":204,"url":"/experiments/def65b5c-bd91-4c44-8a4c-75a6359c3184"} gateway-1 | {"time_local":"18/Sep/2024:16:24:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1743","request_time":"2.201","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"6162c2c6ceb0e4900a937b257af2c2d0"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 114ms","method":"POST","requestID":"adb055b256df9af646e46587e55ee7ef","responseTime":114,"status":200,"url":"/callbacks/experiment"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 113ms","method":"POST","requestID":"f7589571e8c39df5db38d566fe643486","responseTime":113,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.120","http_referrer":"","http_user_agent":"node-fetch","requestID":"adb055b256df9af646e46587e55ee7ef"} gateway-1 | {"time_local":"18/Sep/2024:16:24:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.119","http_referrer":"","http_user_agent":"node-fetch","requestID":"f7589571e8c39df5db38d566fe643486"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2Mn0.gtFJ2GwXeNmzRuF6u2I2wxW8akHhglM2B02BY06e8Lg","level":"info","message":"auth send jwt","requestID":"b4c1e304e36e48827b15b9eed77596a1"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"b4c1e304e36e48827b15b9eed77596a1","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"b4c1e304e36e48827b15b9eed77596a1"} gateway-1 | {"time_local":"18/Sep/2024:16:24:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2070","request_time":"0.698","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"6a4ef4b90421853300c4c0db87283f18"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1475,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1475,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":2.648809,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b4c1e304e36e48827b15b9eed77596a1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676662,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2Mn0.gtFJ2GwXeNmzRuF6u2I2wxW8akHhglM2B02BY06e8Lg"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"b4c1e304e36e48827b15b9eed77596a1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/5fa9f339-2f39-4409-a3d2-aefdcd6c46f1' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f8b40a33-a32d-4f9d-a712-13ac8ae3bb50","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.5515785} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b4c1e304e36e48827b15b9eed77596a1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/920e1ceb-e0b4-4df5-babe-90d7cf6090b0' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"48d92a81-497c-40fb-995f-95b41a345cd6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.5578153} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"b4c1e304e36e48827b15b9eed77596a1","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"9b1d2136-321d-4b4f-8181-a59b62093d37","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.567616} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e056fcd4-54e8-4ec1-be85-6dd6591d8070","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.5679252} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"b4c1e304e36e48827b15b9eed77596a1","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:22.567567320Z"}]},"request_id":"66cf3a31-6b7e-4f3c-a7a4-6797d487edc2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.572869} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b4c1e304e36e48827b15b9eed77596a1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b4c1e304e36e48827b15b9eed77596a1"} gateway-1 | {"time_local":"18/Sep/2024:16:24:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b4c1e304e36e48827b15b9eed77596a1"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"b4c1e304e36e48827b15b9eed77596a1","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2Mn0.gtFJ2GwXeNmzRuF6u2I2wxW8akHhglM2B02BY06e8Lg","level":"info","message":"auth send jwt","requestID":"6c54e77ad605925f4c83ab802ff34bf1"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"6c54e77ad605925f4c83ab802ff34bf1","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"6c54e77ad605925f4c83ab802ff34bf1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1476,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1476,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.762389,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:22Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6c54e77ad605925f4c83ab802ff34bf1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676662,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2Mn0.gtFJ2GwXeNmzRuF6u2I2wxW8akHhglM2B02BY06e8Lg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6c54e77ad605925f4c83ab802ff34bf1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"7b05edde-95b9-49f0-859d-dd3f342d9221","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.6015792} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"6c54e77ad605925f4c83ab802ff34bf1","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"49e8b7fc-5a1f-4068-962e-e78cdcc34356","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.6067028} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"6c54e77ad605925f4c83ab802ff34bf1","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"4849054c-59ac-4b91-b897-bccb333949aa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.616629} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"46e9f3c4-4f0e-48f0-ad06-b413af197613","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.6167598} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"6c54e77ad605925f4c83ab802ff34bf1","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:22.616594794Z"}]},"request_id":"f9a2a13c-d9c0-41cb-a4d4-2e8d365cfaa7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676662.6208622} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6c54e77ad605925f4c83ab802ff34bf1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"6c54e77ad605925f4c83ab802ff34bf1"} gateway-1 | {"time_local":"18/Sep/2024:16:24:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.047","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6c54e77ad605925f4c83ab802ff34bf1"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"6c54e77ad605925f4c83ab802ff34bf1","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2M30.cFlUhQ5lvNG1gcBSRMJP9wKO9-p3lcheWlZD_mtKbuE","level":"info","message":"auth send jwt","requestID":"9af4d659ee6fb957b52eb1eaa1f0a270"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9af4d659ee6fb957b52eb1eaa1f0a270","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"9af4d659ee6fb957b52eb1eaa1f0a270"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1477,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:23Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1477,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.065397,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:23Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9af4d659ee6fb957b52eb1eaa1f0a270","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676663,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2M30.cFlUhQ5lvNG1gcBSRMJP9wKO9-p3lcheWlZD_mtKbuE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9af4d659ee6fb957b52eb1eaa1f0a270","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:22.616594794Z"}]},"request_id":"12b3984a-75de-4376-8c9f-eacf49dd92b5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676663.118198} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9af4d659ee6fb957b52eb1eaa1f0a270","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dbefa4f5-5559-440d-86b2-3b3e492ced62","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676663.1245265} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"9af4d659ee6fb957b52eb1eaa1f0a270","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:22.616594794Z"}]},"request_id":"e2e3515f-c71f-46b4-97db-daa50776b712","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676663.1361217} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9af4d659ee6fb957b52eb1eaa1f0a270","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"9af4d659ee6fb957b52eb1eaa1f0a270"} gateway-1 | {"time_local":"18/Sep/2024:16:24:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.042","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"9af4d659ee6fb957b52eb1eaa1f0a270"} device-1 | {"level":"info","message":"PATCH /devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a 200 37ms","method":"PATCH","requestID":"9af4d659ee6fb957b52eb1eaa1f0a270","responseTime":37,"status":200,"url":"/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2M30.cFlUhQ5lvNG1gcBSRMJP9wKO9-p3lcheWlZD_mtKbuE","level":"info","message":"auth send jwt","requestID":"9c56366b27a20b71153cad0cf64a6267"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9c56366b27a20b71153cad0cf64a6267","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"9c56366b27a20b71153cad0cf64a6267"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1478,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:23Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1478,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.884144,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:23Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9c56366b27a20b71153cad0cf64a6267","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676663,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2M30.cFlUhQ5lvNG1gcBSRMJP9wKO9-p3lcheWlZD_mtKbuE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9c56366b27a20b71153cad0cf64a6267","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"9c56366b27a20b71153cad0cf64a6267"} gateway-1 | {"time_local":"18/Sep/2024:16:24:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.021","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"9c56366b27a20b71153cad0cf64a6267"} device-1 | {"level":"info","message":"POST /devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a/websocket 200 18ms","method":"POST","requestID":"9c56366b27a20b71153cad0cf64a6267","responseTime":18,"status":200,"url":"/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9f825f91125a6e66b9911d3e2e360c6b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"9f825f91125a6e66b9911d3e2e360c6b","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"9f825f91125a6e66b9911d3e2e360c6b"} device-1 | {"level":"info","message":"OPTIONS /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84/websocket 200 1ms","method":"OPTIONS","requestID":"9f825f91125a6e66b9911d3e2e360c6b","responseTime":1,"status":200,"url":"/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k","level":"info","message":"auth send jwt","requestID":"c5a8391badb596589f2cb49599b5bb89"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c5a8391badb596589f2cb49599b5bb89","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"c5a8391badb596589f2cb49599b5bb89"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1479,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1479,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.167048,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c5a8391badb596589f2cb49599b5bb89","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676664,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c5a8391badb596589f2cb49599b5bb89","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"c5a8391badb596589f2cb49599b5bb89"} gateway-1 | {"time_local":"18/Sep/2024:16:24:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"c5a8391badb596589f2cb49599b5bb89"} device-1 | {"level":"info","message":"POST /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84/websocket 200 20ms","method":"POST","requestID":"c5a8391badb596589f2cb49599b5bb89","responseTime":20,"status":200,"url":"/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"66121511f122953cac9a707a14779cd9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"66121511f122953cac9a707a14779cd9","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"66121511f122953cac9a707a14779cd9"} device-1 | {"level":"info","message":"OPTIONS /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84? 200 1ms","method":"OPTIONS","requestID":"66121511f122953cac9a707a14779cd9","responseTime":1,"status":200,"url":"/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k","level":"info","message":"auth send jwt","requestID":"6db27e972468b8964f566b2637924c8f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6db27e972468b8964f566b2637924c8f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"6db27e972468b8964f566b2637924c8f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1480,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1480,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.203367,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6db27e972468b8964f566b2637924c8f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676664,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"6db27e972468b8964f566b2637924c8f","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:22.567567320Z"}]},"request_id":"36ed03cc-f970-4a2d-9d54-7b2cb913bca5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.7444968} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"6db27e972468b8964f566b2637924c8f","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cf15c6ac-32d1-4c2b-8d3d-9710cf57e02c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.7532961} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"6db27e972468b8964f566b2637924c8f","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:22.567567320Z"}]},"request_id":"99cc66e3-ce6e-4002-aaa6-228dec4906bd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.7648468} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6db27e972468b8964f566b2637924c8f","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"6db27e972468b8964f566b2637924c8f"} gateway-1 | {"time_local":"18/Sep/2024:16:24:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.046","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"6db27e972468b8964f566b2637924c8f"} device-1 | {"level":"info","message":"PATCH /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84? 200 41ms","method":"PATCH","requestID":"6db27e972468b8964f566b2637924c8f","responseTime":41,"status":200,"url":"/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k","level":"info","message":"auth send jwt","requestID":"0e8d562b4b15e8e150b1b9b2235d308a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0e8d562b4b15e8e150b1b9b2235d308a","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0e8d562b4b15e8e150b1b9b2235d308a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1481,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1481,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.783906,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0e8d562b4b15e8e150b1b9b2235d308a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676664,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0e8d562b4b15e8e150b1b9b2235d308a","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:22.567567320Z"}]},"request_id":"7f4b6ecc-4401-4d5d-a59d-482781a8d65a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.785731} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0e8d562b4b15e8e150b1b9b2235d308a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0e8d562b4b15e8e150b1b9b2235d308a"} gateway-1 | {"time_local":"18/Sep/2024:16:24:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0e8d562b4b15e8e150b1b9b2235d308a"} device-1 | {"level":"info","message":"GET /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84? 200 11ms","method":"GET","requestID":"0e8d562b4b15e8e150b1b9b2235d308a","responseTime":11,"status":200,"url":"/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k","level":"info","message":"auth send jwt","requestID":"856b7189259da5672ede7e82d6bbe906"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"856b7189259da5672ede7e82d6bbe906","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"856b7189259da5672ede7e82d6bbe906"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1482,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1482,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.14419,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"856b7189259da5672ede7e82d6bbe906","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676664,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"856b7189259da5672ede7e82d6bbe906","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:22.616594794Z"}]},"request_id":"d830d13d-7cba-4303-90bf-688427a84f5a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.805433} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"856b7189259da5672ede7e82d6bbe906","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"856b7189259da5672ede7e82d6bbe906"} gateway-1 | {"time_local":"18/Sep/2024:16:24:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"856b7189259da5672ede7e82d6bbe906"} device-1 | {"level":"info","message":"GET /devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a? 200 17ms","method":"GET","requestID":"856b7189259da5672ede7e82d6bbe906","responseTime":17,"status":200,"url":"/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k","level":"info","message":"auth send jwt","requestID":"9f33d6249955114337b653e79c9f88d5"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9f33d6249955114337b653e79c9f88d5","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"9f33d6249955114337b653e79c9f88d5"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1483,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1483,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.208767,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9f33d6249955114337b653e79c9f88d5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676664,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9f33d6249955114337b653e79c9f88d5","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"},"level":"info","message":"Attempting to run experiment","requestID":"9f33d6249955114337b653e79c9f88d5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"},"level":"info","message":"Attempting to book experiment","requestID":"9f33d6249955114337b653e79c9f88d5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"},"level":"info","message":"Successfully booked experiment","requestID":"9f33d6249955114337b653e79c9f88d5"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7801a9f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7801f810-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1484,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1484,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.701549,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7801a9f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676664,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7801a9f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1485,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1485,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.679319,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7801f810-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676664,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7801f810-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:22.567567320Z"}]},"request_id":"dc889842-bf28-4127-90e3-4a3b9643623e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.8588665} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7801a9f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:22.616594794Z"}]},"request_id":"832e27e6-645f-4de4-b17e-9ff8011bbae3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.86067} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7801f810-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7801a9f0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"},"level":"info","message":"Setting up experiment","requestID":"9f33d6249955114337b653e79c9f88d5"} device-1 | {"level":"info","message":"GET /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84? 200 18ms","method":"GET","requestID":"7801a9f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"9f33d6249955114337b653e79c9f88d5"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7801f810-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a? 200 17ms","method":"GET","requestID":"7801f810-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"},"level":"info","message":"Successfully locked booking for experiment","requestID":"9f33d6249955114337b653e79c9f88d5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"9f33d6249955114337b653e79c9f88d5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"9f33d6249955114337b653e79c9f88d5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"},"level":"info","message":"Attempting to update booking for experiment","requestID":"9f33d6249955114337b653e79c9f88d5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"},"level":"info","message":"Successfully updated booking for experiment","requestID":"9f33d6249955114337b653e79c9f88d5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"},"level":"info","message":"Successfully set up experiment","requestID":"9f33d6249955114337b653e79c9f88d5"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"78097220-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7809c040-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7809e750-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"},"level":"info","message":"Successfully running experiment","requestID":"9f33d6249955114337b653e79c9f88d5"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1486,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1486,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.729853,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1487,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"78097220-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676664,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"78097220-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1487,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.745464,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7809c040-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676664,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7809c040-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1488,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1488,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.347288,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c534c59b-12da-48e7-bce2-12e6d508f8f4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.9078112} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7809e750-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7809e750-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:22.567567320Z"}]},"request_id":"37c7083d-cf26-4336-9197-c18904d15404","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.910679} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"78097220-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7809e750-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:22.616594794Z"}]},"request_id":"5cecf154-a99c-4cb4-a2f7-c34e320ca57e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.913435} device-1 | {"level":"info","message":"POST /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84/signaling 200 13ms","method":"POST","requestID":"7809e750-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7809c040-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"780ca670-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"78097220-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84? 200 23ms","method":"GET","requestID":"78097220-75da-11ef-ba7c-09eaa4331ae1","responseTime":23,"status":200,"url":"/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7809c040-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1489,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:24Z"} device-1 | {"level":"info","message":"GET /devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a? 200 22ms","method":"GET","requestID":"7809c040-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"780d69c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4d70fbc3-eb38-4bb3-97a4-de52dde5cdaf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.9246082} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1489,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.794782,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"780ca670-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"780ca670-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fcae8d870-001d-4914-93bc-2bf28bb0faca#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fcae8d870-001d-4914-93bc-2bf28bb0faca","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"9966d906-34c3-47fc-9cd3-d58b22dde7e7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.9262679} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fa8e23ca-ec01-4df3-aa75-798c920008ff","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.9264457} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"780ca670-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a/signaling 200 11ms","method":"POST","requestID":"780ca670-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"9f33d6249955114337b653e79c9f88d5","responseTime":25,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1490,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c63683fd-5e53-4328-a86d-c080a9677e7e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.933119} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1490,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.542347,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"780d69c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"780d69c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"9f33d6249955114337b653e79c9f88d5"} experiment-1 | {"level":"info","message":"POST /experiments? 201 121ms","method":"POST","requestID":"9f33d6249955114337b653e79c9f88d5","responseTime":121,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1216","request_time":"0.125","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9f33d6249955114337b653e79c9f88d5"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"780d69c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84/signaling 200 14ms","method":"POST","requestID":"780d69c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"780fdac0-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k","level":"info","message":"auth send jwt","requestID":"7f195e1f01330aa35873e2ba7e93c509"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7f195e1f01330aa35873e2ba7e93c509","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1491,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:24Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7f195e1f01330aa35873e2ba7e93c509"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"476835df-4d34-4490-9635-860116f405c7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.9443383} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1491,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.256218,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1492,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"780fdac0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"780fdac0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1492,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.694238,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7f195e1f01330aa35873e2ba7e93c509","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676664,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7f195e1f01330aa35873e2ba7e93c509","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"780fdac0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a/signaling 200 11ms","method":"POST","requestID":"780fdac0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:22.567567320Z"}]},"request_id":"fc4b0b40-5775-4f7f-ab1f-2ea76a4ec7f2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.9513521} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7f195e1f01330aa35873e2ba7e93c509","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"9f33d6249955114337b653e79c9f88d5"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7811d690-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7811fda0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7f195e1f01330aa35873e2ba7e93c509"} gateway-1 | {"time_local":"18/Sep/2024:16:24:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7f195e1f01330aa35873e2ba7e93c509"} device-1 | {"level":"info","message":"GET /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84? 200 14ms","method":"GET","requestID":"7f195e1f01330aa35873e2ba7e93c509","responseTime":14,"status":200,"url":"/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1493,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1493,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.654014,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1494,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7811d690-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676664,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7811d690-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1494,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.898881,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7811fda0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676664,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7811fda0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k","level":"info","message":"auth send jwt","requestID":"1f402c0a8c1ecc0b0c981b0ca96927a6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1f402c0a8c1ecc0b0c981b0ca96927a6","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1f402c0a8c1ecc0b0c981b0ca96927a6"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:22.567567320Z"}]},"request_id":"765d3684-315b-4397-b7e3-7d0e3f968a5e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.9620752} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7811d690-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:22.616594794Z"}]},"request_id":"cd354bf6-e3d8-400a-a2e8-042da1fe4c0f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.9632704} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7811d690-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"7811fda0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1495,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1495,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.73509,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:24Z"} device-1 | {"level":"info","message":"GET /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84? 200 13ms","method":"GET","requestID":"7811d690-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"1f402c0a8c1ecc0b0c981b0ca96927a6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676664,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1f402c0a8c1ecc0b0c981b0ca96927a6","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7811fda0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a? 200 16ms","method":"GET","requestID":"7811fda0-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:22.616594794Z"}]},"request_id":"711d3f66-f87c-4725-8552-54b12d3a3c6d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.970758} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"},"level":"info","message":"Building connection plan","requestID":"9f33d6249955114337b653e79c9f88d5"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"8a0948dd-be16-41f0-ac9c-5aed173277c3"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"c08f3cfc-931f-4f7d-93c5-938a63e1553b"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"29637420-f106-4495-ab78-866d350958a8"}]},"level":"info","message":"Built pairwise service configurations","requestID":"9f33d6249955114337b653e79c9f88d5"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1f402c0a8c1ecc0b0c981b0ca96927a6","responseTime":4,"status":200,"url":"/relations/query"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"7814bcc0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"7814bcc0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 2ms","method":"POST","requestID":"7814bcc0-75da-11ef-9672-db8da4810e4b","responseTime":2,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/e6f66424-f28f-409a-b896-4abbda6579fb?id=3d0a6531-598f-45b9-afa1-fec9121d6f03","ws://localhost/rooms/e6f66424-f28f-409a-b896-4abbda6579fb?id=471106e4-1cc7-4e20-8de9-a92be442dd18"]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"9f33d6249955114337b653e79c9f88d5"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"78155900-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1f402c0a8c1ecc0b0c981b0ca96927a6"} gateway-1 | {"time_local":"18/Sep/2024:16:24:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1f402c0a8c1ecc0b0c981b0ca96927a6"} device-1 | {"level":"info","message":"GET /devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a? 200 17ms","method":"GET","requestID":"1f402c0a8c1ecc0b0c981b0ca96927a6","responseTime":17,"status":200,"url":"/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1496,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1496,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.699643,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:24Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"78155900-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676664,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NH0.WIpbEciQO-tmCqmrAJK0e_ufjTYti1S6Y-s7D7he41k"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"78155900-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"254f53a7-55e5-4bca-b240-0561a5661985","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.9871504} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a682cb02-51aa-4dd2-a1aa-be4d454a63ad","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676664.9873385} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"78155900-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"78155900-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"78155900-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b'","requestID":"78155900-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b'","requestID":"78155900-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"78155900-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 23ms","method":"POST","requestID":"78155900-75da-11ef-ba7c-09eaa4331ae1","responseTime":23,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"78155900-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"206392f5-5f8d-4bc1-8cd9-f16b465c201b","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"781a3b00-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"471106e4-1cc7-4e20-8de9-a92be442dd18\" in room \"http://localhost/rooms/e6f66424-f28f-409a-b896-4abbda6579fb\"","requestID":"781a3b00-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"781a3b00-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"781a6210-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"3d0a6531-598f-45b9-afa1-fec9121d6f03\" in room \"http://localhost/rooms/e6f66424-f28f-409a-b896-4abbda6579fb\"","requestID":"781a6210-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"781a6210-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ff293edb7689ca1cdaf391d8df4b2f43","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ff293edb7689ca1cdaf391d8df4b2f43","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b"}}},"level":"info","message":"received a callback","requestID":"ff293edb7689ca1cdaf391d8df4b2f43"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"471106e4-1cc7-4e20-8de9-a92be442dd18\" in room \"http://localhost/rooms/e6f66424-f28f-409a-b896-4abbda6579fb\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"471106e4-1cc7-4e20-8de9-a92be442dd18\" in room \"http://localhost/rooms/e6f66424-f28f-409a-b896-4abbda6579fb\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"471106e4-1cc7-4e20-8de9-a92be442dd18\" in room \"http://localhost/rooms/e6f66424-f28f-409a-b896-4abbda6579fb\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"471106e4-1cc7-4e20-8de9-a92be442dd18\" in room \"http://localhost/rooms/e6f66424-f28f-409a-b896-4abbda6579fb\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"471106e4-1cc7-4e20-8de9-a92be442dd18\" in room \"http://localhost/rooms/e6f66424-f28f-409a-b896-4abbda6579fb\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"471106e4-1cc7-4e20-8de9-a92be442dd18\" in room \"http://localhost/rooms/e6f66424-f28f-409a-b896-4abbda6579fb\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"471106e4-1cc7-4e20-8de9-a92be442dd18\" in room \"http://localhost/rooms/e6f66424-f28f-409a-b896-4abbda6579fb\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"471106e4-1cc7-4e20-8de9-a92be442dd18\" in room \"http://localhost/rooms/e6f66424-f28f-409a-b896-4abbda6579fb\""} device-1 | {"data":{"peerconnection":"206392f5-5f8d-4bc1-8cd9-f16b465c201b","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"ff293edb7689ca1cdaf391d8df4b2f43","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"ff293edb7689ca1cdaf391d8df4b2f43"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"9f33d6249955114337b653e79c9f88d5"} device-1 | {"data":{"peerconnection":"206392f5-5f8d-4bc1-8cd9-f16b465c201b","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"781e59b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1497,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6bed5c57-4898-48e7-b72d-85824f977898","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.039798} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1497,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.153593,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"781e59b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"781e59b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"206392f5-5f8d-4bc1-8cd9-f16b465c201b","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"781e59b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84/signaling 200 14ms","method":"POST","requestID":"781e59b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d95760e8f04fab38f05f37924a2dd898","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d95760e8f04fab38f05f37924a2dd898","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7820cab0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b"}}},"level":"info","message":"received a callback","requestID":"d95760e8f04fab38f05f37924a2dd898"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1498,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a02c70e0-c8de-40c7-a226-81bada2bf7f0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.0552742} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1498,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.364959,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:25Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"78218e00-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7820cab0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7820cab0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1499,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:25Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7820cab0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F206392f5-5f8d-4bc1-8cd9-f16b465c201b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7c7f29b6-0ce9-47e1-a3e8-f6fc4705f254","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.0602243} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1499,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.657042,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:25Z"} device-1 | {"level":"info","message":"POST /devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a/signaling 200 10ms","method":"POST","requestID":"7820cab0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a/signaling"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"78218e00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"78218e00-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"78218e00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b 200 8ms","method":"GET","requestID":"78218e00-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 27ms","method":"POST","requestID":"d95760e8f04fab38f05f37924a2dd898","responseTime":27,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.030","http_referrer":"","http_user_agent":"node-fetch","requestID":"d95760e8f04fab38f05f37924a2dd898"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7824e960-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1500,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8e3cfc48-343e-4962-ace7-2b917a5826d9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.0830357} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1500,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.267832,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7824e960-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7824e960-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7824e960-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84/signaling 200 9ms","method":"POST","requestID":"7824e960-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"78269710-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1501,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6438ecb5-3f3b-4850-9ea7-8cff73e3e7c9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.0942743} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1501,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.221046,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"78269710-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"78269710-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"78269710-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a/signaling 200 9ms","method":"POST","requestID":"78269710-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NX0.fMFTd21a_wka21pfOILDBMWADC1O4aXrxjzzemeSs_g","level":"info","message":"auth send jwt","requestID":"8f6602bf759618e65b23ffb22992f957"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8f6602bf759618e65b23ffb22992f957","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/cae8d870-001d-4914-93bc-2bf28bb0faca","requestID":"8f6602bf759618e65b23ffb22992f957"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1502,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1502,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.879057,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8f6602bf759618e65b23ffb22992f957","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676665,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NX0.fMFTd21a_wka21pfOILDBMWADC1O4aXrxjzzemeSs_g"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8f6602bf759618e65b23ffb22992f957","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/cae8d870-001d-4914-93bc-2bf28bb0faca","requestID":"8f6602bf759618e65b23ffb22992f957"} experiment-1 | {"level":"info","message":"GET /experiments/cae8d870-001d-4914-93bc-2bf28bb0faca 200 11ms","method":"GET","requestID":"8f6602bf759618e65b23ffb22992f957","responseTime":11,"status":200,"url":"/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"} gateway-1 | {"time_local":"18/Sep/2024:16:24:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/cae8d870-001d-4914-93bc-2bf28bb0faca HTTP/1.1","status": "200","body_bytes_sent":"1289","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8f6602bf759618e65b23ffb22992f957"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NX0.fMFTd21a_wka21pfOILDBMWADC1O4aXrxjzzemeSs_g","level":"info","message":"auth send jwt","requestID":"52455930b0e3869846b565679667860d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"52455930b0e3869846b565679667860d","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/cae8d870-001d-4914-93bc-2bf28bb0faca","requestID":"52455930b0e3869846b565679667860d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1503,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1503,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.75645,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"52455930b0e3869846b565679667860d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676665,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NX0.fMFTd21a_wka21pfOILDBMWADC1O4aXrxjzzemeSs_g"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"52455930b0e3869846b565679667860d","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"},"level":"info","message":"Attempting to finish experiment","requestID":"52455930b0e3869846b565679667860d"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"782f2290-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1504,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1504,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.119053,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"782f2290-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676665,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NX0.fMFTd21a_wka21pfOILDBMWADC1O4aXrxjzzemeSs_g"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"782f2290-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:24:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/e6f66424-f28f-409a-b896-4abbda6579fb?id=471106e4-1cc7-4e20-8de9-a92be442dd18 HTTP/1.1","status": "101","body_bytes_sent":"872","request_time":"0.152","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"d2fb7ffac5af6d0dc1a196fbdb50ddd3"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"471106e4-1cc7-4e20-8de9-a92be442dd18\" in room \"http://localhost/rooms/e6f66424-f28f-409a-b896-4abbda6579fb\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"471106e4-1cc7-4e20-8de9-a92be442dd18\" from room \"http://localhost/rooms/e6f66424-f28f-409a-b896-4abbda6579fb\""} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b","device":"303e197e-898d-4fc4-9b7e-b388f2a87b84","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"18/Sep/2024:16:24:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/e6f66424-f28f-409a-b896-4abbda6579fb?id=3d0a6531-598f-45b9-afa1-fec9121d6f03 HTTP/1.1","status": "101","body_bytes_sent":"2","request_time":"0.152","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d30f2e369e2961acad33d1f0d8c47fe9"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"206392f5-5f8d-4bc1-8cd9-f16b465c201b","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"3d0a6531-598f-45b9-afa1-fec9121d6f03\" in room \"http://localhost/rooms/e6f66424-f28f-409a-b896-4abbda6579fb\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"3d0a6531-598f-45b9-afa1-fec9121d6f03\" from room \"http://localhost/rooms/e6f66424-f28f-409a-b896-4abbda6579fb\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9740b167d18eb1fdcbe4b0b836de7214","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"9740b167d18eb1fdcbe4b0b836de7214","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3204ebf34f51d75b0a4463f60183e0f5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b"}}},"level":"info","message":"received a callback","requestID":"9740b167d18eb1fdcbe4b0b836de7214"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"3204ebf34f51d75b0a4463f60183e0f5","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F206392f5-5f8d-4bc1-8cd9-f16b465c201b': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F206392f5-5f8d-4bc1-8cd9-f16b465c201b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"742c67b6-f456-4d64-bef9-834bf00e9628","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.166296} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b7d7637c-2c58-4407-b8d2-36442ae08f53","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.16655} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b"}}},"level":"info","message":"received a callback","requestID":"3204ebf34f51d75b0a4463f60183e0f5"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"782f2290-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"206392f5-5f8d-4bc1-8cd9-f16b465c201b","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"782f2290-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b 204 41ms","method":"DELETE","requestID":"782f2290-75da-11ef-ba7c-09eaa4331ae1","responseTime":41,"status":204,"url":"/peerconnections/206392f5-5f8d-4bc1-8cd9-f16b465c201b"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"},"level":"info","message":"Successfully finished experiment","requestID":"52455930b0e3869846b565679667860d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"78382340-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1505,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F303e197e-898d-4fc4-9b7e-b388f2a87b84","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2a052892-32f6-4e98-8d26-b8bf5d2cc5d8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.2114358} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1505,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.450699,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"78382340-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"78382340-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"78382340-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/303e197e-898d-4fc4-9b7e-b388f2a87b84/signaling 200 14ms","method":"POST","requestID":"78382340-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fcae8d870-001d-4914-93bc-2bf28bb0faca': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fcae8d870-001d-4914-93bc-2bf28bb0faca","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"4bf56337-76e8-45b3-ae54-2a967072ddb8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.2198513} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3a1f128d-f73c-4a34-a0fd-14bfd2b792f3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.2202685} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"783abb50-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"52455930b0e3869846b565679667860d","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1506,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff5935b0c-003a-4a11-b5f6-6f333f081f2a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6ab4cfa9-2b03-4e48-a166-df5594685545","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.2267811} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1506,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.052287,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"783abb50-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"783abb50-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"783abb50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a/signaling 200 11ms","method":"POST","requestID":"783abb50-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/cae8d870-001d-4914-93bc-2bf28bb0faca","requestID":"52455930b0e3869846b565679667860d"} gateway-1 | {"time_local":"18/Sep/2024:16:24:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/cae8d870-001d-4914-93bc-2bf28bb0faca HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.153","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"52455930b0e3869846b565679667860d"} experiment-1 | {"level":"info","message":"DELETE /experiments/cae8d870-001d-4914-93bc-2bf28bb0faca 204 150ms","method":"DELETE","requestID":"52455930b0e3869846b565679667860d","responseTime":150,"status":204,"url":"/experiments/cae8d870-001d-4914-93bc-2bf28bb0faca"} gateway-1 | {"time_local":"18/Sep/2024:16:24:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1743","request_time":"2.121","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"fd57b3485402a955fce9f9a0a96e659c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 121ms","method":"POST","requestID":"9740b167d18eb1fdcbe4b0b836de7214","responseTime":121,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.125","http_referrer":"","http_user_agent":"node-fetch","requestID":"9740b167d18eb1fdcbe4b0b836de7214"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 121ms","method":"POST","requestID":"3204ebf34f51d75b0a4463f60183e0f5","responseTime":121,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.125","http_referrer":"","http_user_agent":"node-fetch","requestID":"3204ebf34f51d75b0a4463f60183e0f5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NX0.fMFTd21a_wka21pfOILDBMWADC1O4aXrxjzzemeSs_g","level":"info","message":"auth send jwt","requestID":"7b1ee1fae9008d216ae46970a343b640"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7b1ee1fae9008d216ae46970a343b640","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"7b1ee1fae9008d216ae46970a343b640"} gateway-1 | {"time_local":"18/Sep/2024:16:24:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2070","request_time":"0.613","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"8233f26afcaaba7ae17fa5f88d711c17"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1507,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1507,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.144908,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b1ee1fae9008d216ae46970a343b640","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676665,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NX0.fMFTd21a_wka21pfOILDBMWADC1O4aXrxjzzemeSs_g"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7b1ee1fae9008d216ae46970a343b640","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/f5935b0c-003a-4a11-b5f6-6f333f081f2a' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"2e1ff115-af7c-4a85-aa54-e5afc210db29","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.3168654} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7b1ee1fae9008d216ae46970a343b640","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/303e197e-898d-4fc4-9b7e-b388f2a87b84' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"aa236565-a5a6-49ac-994b-41797db2b099","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.3226159} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"7b1ee1fae9008d216ae46970a343b640","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"675b342f-d02e-4749-934e-318cacb927c8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.3381867} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"72b42738-207c-4018-8f8f-a14c03d2240d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.3383627} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"7b1ee1fae9008d216ae46970a343b640","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:25.338153485Z"}]},"request_id":"215c5a00-c5ad-45ac-a4ff-a587c27daecb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.3428423} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7b1ee1fae9008d216ae46970a343b640","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"7b1ee1fae9008d216ae46970a343b640"} gateway-1 | {"time_local":"18/Sep/2024:16:24:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.058","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7b1ee1fae9008d216ae46970a343b640"} device-1 | {"level":"info","message":"POST /devices? 201 53ms","method":"POST","requestID":"7b1ee1fae9008d216ae46970a343b640","responseTime":53,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NX0.fMFTd21a_wka21pfOILDBMWADC1O4aXrxjzzemeSs_g","level":"info","message":"auth send jwt","requestID":"0b6a66fc974b752f796fab9f23a6c953"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0b6a66fc974b752f796fab9f23a6c953","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"0b6a66fc974b752f796fab9f23a6c953"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1508,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1508,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.779616,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0b6a66fc974b752f796fab9f23a6c953","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676665,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NX0.fMFTd21a_wka21pfOILDBMWADC1O4aXrxjzzemeSs_g"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0b6a66fc974b752f796fab9f23a6c953","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"890485e3-7706-4d51-a8fd-d52a6648d0e6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.3662574} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0b6a66fc974b752f796fab9f23a6c953","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1a059d0e-23b8-4236-86e0-213626e1309c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.3705807} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"0b6a66fc974b752f796fab9f23a6c953","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"fe46d6fe-f418-4065-9d5e-b2d84d470694","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.3810065} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"32908361-5b2a-4bdc-b2d1-a0229a6218fb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.3811293} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"0b6a66fc974b752f796fab9f23a6c953","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:25.380963019Z"}]},"request_id":"361fcc13-96b9-4dae-b640-0b627388f73c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.3850598} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0b6a66fc974b752f796fab9f23a6c953","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"0b6a66fc974b752f796fab9f23a6c953"} device-1 | {"level":"info","message":"POST /devices? 201 38ms","method":"POST","requestID":"0b6a66fc974b752f796fab9f23a6c953","responseTime":38,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.040","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0b6a66fc974b752f796fab9f23a6c953"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NX0.fMFTd21a_wka21pfOILDBMWADC1O4aXrxjzzemeSs_g","level":"info","message":"auth send jwt","requestID":"f47b5c8481543e28e38461817cd95dec"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f47b5c8481543e28e38461817cd95dec","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"f47b5c8481543e28e38461817cd95dec"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1509,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1509,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.683948,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f47b5c8481543e28e38461817cd95dec","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676665,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NX0.fMFTd21a_wka21pfOILDBMWADC1O4aXrxjzzemeSs_g"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f47b5c8481543e28e38461817cd95dec","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:25.338153485Z"}]},"request_id":"4c8089f6-b8fb-4a1f-b250-0ad1f0202341","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.8738632} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f47b5c8481543e28e38461817cd95dec","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"348e466a-b9e9-4c30-9390-85e8328b17ad","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.8792782} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"f47b5c8481543e28e38461817cd95dec","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:25.338153485Z"}]},"request_id":"c551ec44-653e-4fa9-81f1-d41618ce8bba","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676665.891108} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f47b5c8481543e28e38461817cd95dec","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"f47b5c8481543e28e38461817cd95dec"} device-1 | {"level":"info","message":"PATCH /devices/24eca4fc-b9a8-422d-a169-4a84e576a534 200 32ms","method":"PATCH","requestID":"f47b5c8481543e28e38461817cd95dec","responseTime":32,"status":200,"url":"/devices/24eca4fc-b9a8-422d-a169-4a84e576a534"} gateway-1 | {"time_local":"18/Sep/2024:16:24:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/24eca4fc-b9a8-422d-a169-4a84e576a534 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.037","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"f47b5c8481543e28e38461817cd95dec"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NX0.fMFTd21a_wka21pfOILDBMWADC1O4aXrxjzzemeSs_g","level":"info","message":"auth send jwt","requestID":"a1f3ff5839e7c29dcf799a476e673ebc"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a1f3ff5839e7c29dcf799a476e673ebc","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"a1f3ff5839e7c29dcf799a476e673ebc"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1510,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1510,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.138021,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:25Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a1f3ff5839e7c29dcf799a476e673ebc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676665,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2NX0.fMFTd21a_wka21pfOILDBMWADC1O4aXrxjzzemeSs_g"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a1f3ff5839e7c29dcf799a476e673ebc","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"a1f3ff5839e7c29dcf799a476e673ebc"} gateway-1 | {"time_local":"18/Sep/2024:16:24:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/24eca4fc-b9a8-422d-a169-4a84e576a534/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.024","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"a1f3ff5839e7c29dcf799a476e673ebc"} device-1 | {"level":"info","message":"POST /devices/24eca4fc-b9a8-422d-a169-4a84e576a534/websocket 200 18ms","method":"POST","requestID":"a1f3ff5839e7c29dcf799a476e673ebc","responseTime":18,"status":200,"url":"/devices/24eca4fc-b9a8-422d-a169-4a84e576a534/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ec682cbe242bff860b0dfb238412cf09","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ec682cbe242bff860b0dfb238412cf09","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/da7f88a7-108b-4535-add7-aaca4b6acef1/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ec682cbe242bff860b0dfb238412cf09"} device-1 | {"level":"info","message":"OPTIONS /devices/da7f88a7-108b-4535-add7-aaca4b6acef1/websocket 200 1ms","method":"OPTIONS","requestID":"ec682cbe242bff860b0dfb238412cf09","responseTime":1,"status":200,"url":"/devices/da7f88a7-108b-4535-add7-aaca4b6acef1/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s","level":"info","message":"auth send jwt","requestID":"bd2cca1c0e33666bdd6d3ece0df621a3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"bd2cca1c0e33666bdd6d3ece0df621a3","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"bd2cca1c0e33666bdd6d3ece0df621a3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1511,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1511,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.329938,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"bd2cca1c0e33666bdd6d3ece0df621a3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676667,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bd2cca1c0e33666bdd6d3ece0df621a3","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"bd2cca1c0e33666bdd6d3ece0df621a3"} gateway-1 | {"time_local":"18/Sep/2024:16:24:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/da7f88a7-108b-4535-add7-aaca4b6acef1/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.029","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"bd2cca1c0e33666bdd6d3ece0df621a3"} device-1 | {"level":"info","message":"POST /devices/da7f88a7-108b-4535-add7-aaca4b6acef1/websocket 200 23ms","method":"POST","requestID":"bd2cca1c0e33666bdd6d3ece0df621a3","responseTime":23,"status":200,"url":"/devices/da7f88a7-108b-4535-add7-aaca4b6acef1/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ca53372d8c5522198afcc0b9739c3a32","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ca53372d8c5522198afcc0b9739c3a32","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/da7f88a7-108b-4535-add7-aaca4b6acef1? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ca53372d8c5522198afcc0b9739c3a32"} device-1 | {"level":"info","message":"OPTIONS /devices/da7f88a7-108b-4535-add7-aaca4b6acef1? 200 1ms","method":"OPTIONS","requestID":"ca53372d8c5522198afcc0b9739c3a32","responseTime":1,"status":200,"url":"/devices/da7f88a7-108b-4535-add7-aaca4b6acef1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s","level":"info","message":"auth send jwt","requestID":"577c64a3e652bfcf399704f4f45b20c7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"577c64a3e652bfcf399704f4f45b20c7","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"577c64a3e652bfcf399704f4f45b20c7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1512,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1512,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.149196,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"577c64a3e652bfcf399704f4f45b20c7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676667,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"577c64a3e652bfcf399704f4f45b20c7","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:25.380963019Z"}]},"request_id":"8b2c9c33-895f-4249-a0d4-b98b8e54b377","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.519612} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"577c64a3e652bfcf399704f4f45b20c7","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"70451878-0e16-4d73-9fab-2ebc0e10de2a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.5273662} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"577c64a3e652bfcf399704f4f45b20c7","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:25.380963019Z"}]},"request_id":"0da73850-eb77-4bd2-a9dd-bef67572beea","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.5408974} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"577c64a3e652bfcf399704f4f45b20c7","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"577c64a3e652bfcf399704f4f45b20c7"} gateway-1 | {"time_local":"18/Sep/2024:16:24:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/da7f88a7-108b-4535-add7-aaca4b6acef1? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.045","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"577c64a3e652bfcf399704f4f45b20c7"} device-1 | {"level":"info","message":"PATCH /devices/da7f88a7-108b-4535-add7-aaca4b6acef1? 200 39ms","method":"PATCH","requestID":"577c64a3e652bfcf399704f4f45b20c7","responseTime":39,"status":200,"url":"/devices/da7f88a7-108b-4535-add7-aaca4b6acef1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s","level":"info","message":"auth send jwt","requestID":"8973f2c685e2b3fd22befe8d3b1dd9db"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8973f2c685e2b3fd22befe8d3b1dd9db","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8973f2c685e2b3fd22befe8d3b1dd9db"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1513,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1513,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.195509,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8973f2c685e2b3fd22befe8d3b1dd9db","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676667,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8973f2c685e2b3fd22befe8d3b1dd9db","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:25.338153485Z"}]},"request_id":"39e7f9eb-52bf-485b-989a-df7fa509b0bf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.570018} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8973f2c685e2b3fd22befe8d3b1dd9db","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8973f2c685e2b3fd22befe8d3b1dd9db"} device-1 | {"level":"info","message":"GET /devices/24eca4fc-b9a8-422d-a169-4a84e576a534? 200 18ms","method":"GET","requestID":"8973f2c685e2b3fd22befe8d3b1dd9db","responseTime":18,"status":200,"url":"/devices/24eca4fc-b9a8-422d-a169-4a84e576a534?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/24eca4fc-b9a8-422d-a169-4a84e576a534? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8973f2c685e2b3fd22befe8d3b1dd9db"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s","level":"info","message":"auth send jwt","requestID":"63521ea9b59b049aa475d9692516b50a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"63521ea9b59b049aa475d9692516b50a","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"63521ea9b59b049aa475d9692516b50a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1514,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1514,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.816184,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"63521ea9b59b049aa475d9692516b50a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676667,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"63521ea9b59b049aa475d9692516b50a","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:25.380963019Z"}]},"request_id":"6ff41030-2afe-4552-9141-6a7338ad7ea7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.59571} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"63521ea9b59b049aa475d9692516b50a","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"63521ea9b59b049aa475d9692516b50a"} gateway-1 | {"time_local":"18/Sep/2024:16:24:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/da7f88a7-108b-4535-add7-aaca4b6acef1? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"63521ea9b59b049aa475d9692516b50a"} device-1 | {"level":"info","message":"GET /devices/da7f88a7-108b-4535-add7-aaca4b6acef1? 200 17ms","method":"GET","requestID":"63521ea9b59b049aa475d9692516b50a","responseTime":17,"status":200,"url":"/devices/da7f88a7-108b-4535-add7-aaca4b6acef1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s","level":"info","message":"auth send jwt","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f11912ecd7698c2cb409bce6c0dac4cf","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1515,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1515,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.365583,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f11912ecd7698c2cb409bce6c0dac4cf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676667,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f11912ecd7698c2cb409bce6c0dac4cf","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"},"level":"info","message":"Attempting to run experiment","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"},"level":"info","message":"Attempting to book experiment","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"},"level":"info","message":"Successfully booked experiment","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"79adac40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"79adfa60-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1516,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1516,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.882958,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79adac40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676667,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"79adac40-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1517,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1517,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.540888,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79adfa60-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676667,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"79adfa60-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:25.338153485Z"}]},"request_id":"15a7d0f4-932e-48b7-adbb-f4e330af2e16","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.6654243} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"79adac40-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:25.380963019Z"}]},"request_id":"1328211f-ac6e-42f7-ae36-41c682d9d738","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.6668892} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"79adfa60-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"79adac40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/24eca4fc-b9a8-422d-a169-4a84e576a534? 200 22ms","method":"GET","requestID":"79adac40-75da-11ef-ba7c-09eaa4331ae1","responseTime":22,"status":200,"url":"/devices/24eca4fc-b9a8-422d-a169-4a84e576a534?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"79adfa60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/da7f88a7-108b-4535-add7-aaca4b6acef1? 200 21ms","method":"GET","requestID":"79adfa60-75da-11ef-ba7c-09eaa4331ae1","responseTime":21,"status":200,"url":"/devices/da7f88a7-108b-4535-add7-aaca4b6acef1?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"},"level":"info","message":"Setting up experiment","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"},"level":"info","message":"Successfully locked booking for experiment","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"},"level":"info","message":"Attempting to update booking for experiment","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"},"level":"info","message":"Successfully updated booking for experiment","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"},"level":"info","message":"Successfully set up experiment","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"79b8f6e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"79b94500-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"79b99320-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"},"level":"info","message":"Successfully running experiment","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1518,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1518,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.868846,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1519,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79b8f6e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676667,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"79b8f6e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1519,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.398042,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79b94500-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676667,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"79b94500-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1520,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e09fec11-0a68-4143-ad74-c86cccdaeafa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.7414615} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1520,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.203696,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79b99320-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"79b99320-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:25.338153485Z"}]},"request_id":"8ec6ecfd-8f90-4e00-96e7-14b267ef61f7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.7449656} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"79b8f6e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"79b99320-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:25.380963019Z"}]},"request_id":"61fbe9be-9462-4586-8720-778f3a13c4e3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.7497191} device-1 | {"level":"info","message":"POST /devices/24eca4fc-b9a8-422d-a169-4a84e576a534/signaling 200 21ms","method":"POST","requestID":"79b99320-75da-11ef-ba7c-09eaa4331ae1","responseTime":21,"status":200,"url":"/devices/24eca4fc-b9a8-422d-a169-4a84e576a534/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"79b94500-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"79bd8ac0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"79b8f6e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/24eca4fc-b9a8-422d-a169-4a84e576a534? 200 35ms","method":"GET","requestID":"79b8f6e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":35,"status":200,"url":"/devices/24eca4fc-b9a8-422d-a169-4a84e576a534?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"79b94500-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/da7f88a7-108b-4535-add7-aaca4b6acef1? 200 35ms","method":"GET","requestID":"79b94500-75da-11ef-ba7c-09eaa4331ae1","responseTime":35,"status":200,"url":"/devices/da7f88a7-108b-4535-add7-aaca4b6acef1?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb57560ea-0c20-4ba3-a29d-cdc326af77c3#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb57560ea-0c20-4ba3-a29d-cdc326af77c3","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"8c22cf33-b6f3-4f05-9528-03fdd5be6b5e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.7617173} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0d534131-fadf-4ae5-b5bd-83da3fc91feb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.762419} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1521,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"79bf1160-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 30ms","method":"POST","requestID":"f11912ecd7698c2cb409bce6c0dac4cf","responseTime":30,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2ef17098-c7a0-465f-8014-03d90108cee8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.7668953} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1521,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.463818,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79bd8ac0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"79bd8ac0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1522,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"79bd8ac0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/da7f88a7-108b-4535-add7-aaca4b6acef1/signaling 200 19ms","method":"POST","requestID":"79bd8ac0-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/da7f88a7-108b-4535-add7-aaca4b6acef1/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"626b7729-0572-448f-a72b-01f8d0726203","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.7763395} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1522,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.098981,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} gateway-1 | {"time_local":"18/Sep/2024:16:24:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1216","request_time":"0.176","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} experiment-1 | {"level":"info","message":"POST /experiments? 201 171ms","method":"POST","requestID":"f11912ecd7698c2cb409bce6c0dac4cf","responseTime":171,"status":201,"url":"/experiments?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79bf1160-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"79bf1160-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"79bf1160-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/24eca4fc-b9a8-422d-a169-4a84e576a534/signaling 200 18ms","method":"POST","requestID":"79bf1160-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/24eca4fc-b9a8-422d-a169-4a84e576a534/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s","level":"info","message":"auth send jwt","requestID":"b5ff0f1562163b599afb0d845a14f578"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"b5ff0f1562163b599afb0d845a14f578","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"79c26cc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b5ff0f1562163b599afb0d845a14f578"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1523,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1524,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2d8b0654-53bc-4d92-be84-84a4dda61493","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.794399} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1524,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.284084,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b5ff0f1562163b599afb0d845a14f578","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676667,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b5ff0f1562163b599afb0d845a14f578","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1523,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.46359,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79c26cc0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"79c26cc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:25.338153485Z"}]},"request_id":"a6a0114e-6219-489d-8589-05f724840aec","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.7996216} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"79c26cc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/da7f88a7-108b-4535-add7-aaca4b6acef1/signaling 200 12ms","method":"POST","requestID":"79c26cc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/da7f88a7-108b-4535-add7-aaca4b6acef1/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b5ff0f1562163b599afb0d845a14f578","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"79c552f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"79c57a00-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b5ff0f1562163b599afb0d845a14f578"} gateway-1 | {"time_local":"18/Sep/2024:16:24:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/24eca4fc-b9a8-422d-a169-4a84e576a534? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.029","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b5ff0f1562163b599afb0d845a14f578"} device-1 | {"level":"info","message":"GET /devices/24eca4fc-b9a8-422d-a169-4a84e576a534? 200 21ms","method":"GET","requestID":"b5ff0f1562163b599afb0d845a14f578","responseTime":21,"status":200,"url":"/devices/24eca4fc-b9a8-422d-a169-4a84e576a534?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1525,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1525,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.237434,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1526,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79c552f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676667,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"79c552f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1526,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.851734,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79c57a00-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676667,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"79c57a00-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s","level":"info","message":"auth send jwt","requestID":"a8e296a91523557db8a796bcee2e8684"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"a8e296a91523557db8a796bcee2e8684","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a8e296a91523557db8a796bcee2e8684"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:25.338153485Z"}]},"request_id":"2d80095c-6c3d-4827-87e9-e8e9c53a9608","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.8185675} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"79c552f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:25.380963019Z"}]},"request_id":"e1b79b5a-c9d6-4cc7-bafa-ff5e57b44ca9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.819896} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"79c57a00-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1527,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1527,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.680959,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"79c552f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/24eca4fc-b9a8-422d-a169-4a84e576a534? 200 18ms","method":"GET","requestID":"79c552f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/24eca4fc-b9a8-422d-a169-4a84e576a534?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a8e296a91523557db8a796bcee2e8684","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676667,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"79c57a00-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a8e296a91523557db8a796bcee2e8684","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/da7f88a7-108b-4535-add7-aaca4b6acef1? 200 18ms","method":"GET","requestID":"79c57a00-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/da7f88a7-108b-4535-add7-aaca4b6acef1?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"},"level":"info","message":"Building connection plan","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"6febca38-1c0e-49a3-a51f-a828d9fec85f"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"1236c1ad-edd5-46fb-9371-739c41a456b5"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"4f1638c6-67a5-4d64-87e1-778dce5656f8"}]},"level":"info","message":"Built pairwise service configurations","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"79c8d560-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"79c8d560-75da-11ef-9672-db8da4810e4b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:25.380963019Z"}]},"request_id":"70bb9cf9-0691-4ae2-ab9b-54a0cb15743e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.8312519} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"79c8d560-75da-11ef-9672-db8da4810e4b","responseTime":1,"status":201,"url":"/rooms"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a8e296a91523557db8a796bcee2e8684","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/e5363aab-a4a5-4126-b1be-24752ab24314?id=7e0a85f8-e0ba-4beb-820f-e11a7f4afd18","ws://localhost/rooms/e5363aab-a4a5-4126-b1be-24752ab24314?id=61dc9af4-f77d-42f4-a8cc-25e96d42c980"]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"79c998b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a8e296a91523557db8a796bcee2e8684"} gateway-1 | {"time_local":"18/Sep/2024:16:24:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/da7f88a7-108b-4535-add7-aaca4b6acef1? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a8e296a91523557db8a796bcee2e8684"} device-1 | {"level":"info","message":"GET /devices/da7f88a7-108b-4535-add7-aaca4b6acef1? 200 20ms","method":"GET","requestID":"a8e296a91523557db8a796bcee2e8684","responseTime":20,"status":200,"url":"/devices/da7f88a7-108b-4535-add7-aaca4b6acef1?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1528,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1528,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.976429,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79c998b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676667,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"79c998b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"ee6a0837-bfa9-4ea4-bb9c-a99c98583add","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.8484251} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8031f923-1af9-41dc-b5fd-a05ef66974fb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.8486526} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"79c998b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"79c998b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"79c998b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/725c6454-5045-439e-95f7-7e466c7e751b'","requestID":"79c998b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/725c6454-5045-439e-95f7-7e466c7e751b'","requestID":"79c998b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"79c998b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 26ms","method":"POST","requestID":"79c998b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"79c998b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/725c6454-5045-439e-95f7-7e466c7e751b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"725c6454-5045-439e-95f7-7e466c7e751b","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"79d00150-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"7e0a85f8-e0ba-4beb-820f-e11a7f4afd18\" in room \"http://localhost/rooms/e5363aab-a4a5-4126-b1be-24752ab24314\"","requestID":"79d00150-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"79d00150-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7fb8cc35cd570d9d7f4cdfbb7f0129c9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"7fb8cc35cd570d9d7f4cdfbb7f0129c9","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"79d09d90-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"61dc9af4-f77d-42f4-a8cc-25e96d42c980\" in room \"http://localhost/rooms/e5363aab-a4a5-4126-b1be-24752ab24314\"","requestID":"79d09d90-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"79d09d90-75da-11ef-9672-db8da4810e4b"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/725c6454-5045-439e-95f7-7e466c7e751b"}}},"level":"info","message":"received a callback","requestID":"7fb8cc35cd570d9d7f4cdfbb7f0129c9"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"61dc9af4-f77d-42f4-a8cc-25e96d42c980\" in room \"http://localhost/rooms/e5363aab-a4a5-4126-b1be-24752ab24314\"","requestID":"79d09d90-75da-11ef-9672-db8da4810e4b"} device-1 | {"data":{"peerconnection":"725c6454-5045-439e-95f7-7e466c7e751b","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 10ms","method":"POST","requestID":"7fb8cc35cd570d9d7f4cdfbb7f0129c9","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"7fb8cc35cd570d9d7f4cdfbb7f0129c9"} device-1 | {"data":{"peerconnection":"725c6454-5045-439e-95f7-7e466c7e751b","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"f11912ecd7698c2cb409bce6c0dac4cf"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"79d4bc40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1529,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7dd22199-9235-4ac2-9490-0fe069d56d8f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.9131107} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1529,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.498838,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79d4bc40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"79d4bc40-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/725c6454-5045-439e-95f7-7e466c7e751b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"725c6454-5045-439e-95f7-7e466c7e751b","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"79d4bc40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/24eca4fc-b9a8-422d-a169-4a84e576a534/signaling 200 12ms","method":"POST","requestID":"79d4bc40-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/24eca4fc-b9a8-422d-a169-4a84e576a534/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a39c9d703c85db837178f7cbe7903c4d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a39c9d703c85db837178f7cbe7903c4d","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"79d6df20-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/725c6454-5045-439e-95f7-7e466c7e751b"}}},"level":"info","message":"received a callback","requestID":"a39c9d703c85db837178f7cbe7903c4d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1530,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0d4fdc19-6009-44cf-ace2-e529e2600dff","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.9269907} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1530,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.491291,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79d6df20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"79d6df20-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"79d817a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"79d6df20-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1531,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} device-1 | {"level":"info","message":"POST /devices/da7f88a7-108b-4535-add7-aaca4b6acef1/signaling 200 11ms","method":"POST","requestID":"79d6df20-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/da7f88a7-108b-4535-add7-aaca4b6acef1/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F725c6454-5045-439e-95f7-7e466c7e751b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1a2b739c-84dc-4fe0-811a-3d36e7c7a5af","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.9356668} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1531,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.270214,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/725c6454-5045-439e-95f7-7e466c7e751b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79d817a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/725c6454-5045-439e-95f7-7e466c7e751b","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"79d817a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"79d817a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/725c6454-5045-439e-95f7-7e466c7e751b 200 10ms","method":"GET","requestID":"79d817a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/peerconnections/725c6454-5045-439e-95f7-7e466c7e751b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 31ms","method":"POST","requestID":"a39c9d703c85db837178f7cbe7903c4d","responseTime":31,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.034","http_referrer":"","http_user_agent":"node-fetch","requestID":"a39c9d703c85db837178f7cbe7903c4d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"79dbc120-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1532,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c3bc6b09-c335-4570-8e49-50ca6a87393f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.9580395} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1532,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.178604,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79dbc120-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"79dbc120-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"79dbc120-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/24eca4fc-b9a8-422d-a169-4a84e576a534/signaling 200 8ms","method":"POST","requestID":"79dbc120-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/24eca4fc-b9a8-422d-a169-4a84e576a534/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"79dd20b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1533,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4e1ff111-4302-417c-a74c-672345762470","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676667.9678276} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1533,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.100537,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79dd20b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"79dd20b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"79dd20b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/da7f88a7-108b-4535-add7-aaca4b6acef1/signaling 200 8ms","method":"POST","requestID":"79dd20b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/da7f88a7-108b-4535-add7-aaca4b6acef1/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s","level":"info","message":"auth send jwt","requestID":"69fff98e50cb41e91c7f20051f066ff7"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"69fff98e50cb41e91c7f20051f066ff7","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3","requestID":"69fff98e50cb41e91c7f20051f066ff7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1534,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1534,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.871945,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"69fff98e50cb41e91c7f20051f066ff7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676667,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2N30.m-mZW4YOVzaiZ-ybClJawHRLiJLlqVuER3KURXeh1_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"69fff98e50cb41e91c7f20051f066ff7","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3","requestID":"69fff98e50cb41e91c7f20051f066ff7"} experiment-1 | {"level":"info","message":"GET /experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3 200 9ms","method":"GET","requestID":"69fff98e50cb41e91c7f20051f066ff7","responseTime":9,"status":200,"url":"/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"} gateway-1 | {"time_local":"18/Sep/2024:16:24:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3 HTTP/1.1","status": "200","body_bytes_sent":"1289","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"69fff98e50cb41e91c7f20051f066ff7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2OH0.2_ddPwJyq5sLFaF1Ioz1i9yBo3VVferjf26cSRnZnA4","level":"info","message":"auth send jwt","requestID":"3ed0d65407f2f50b17726e2bd0c85e49"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"3ed0d65407f2f50b17726e2bd0c85e49","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3","requestID":"3ed0d65407f2f50b17726e2bd0c85e49"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1535,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1535,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.893154,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:28Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3ed0d65407f2f50b17726e2bd0c85e49","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676668,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2OH0.2_ddPwJyq5sLFaF1Ioz1i9yBo3VVferjf26cSRnZnA4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3ed0d65407f2f50b17726e2bd0c85e49","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"},"level":"info","message":"Attempting to finish experiment","requestID":"3ed0d65407f2f50b17726e2bd0c85e49"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"79e49ac0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1536,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1536,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.720688,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:28Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/725c6454-5045-439e-95f7-7e466c7e751b","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79e49ac0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/725c6454-5045-439e-95f7-7e466c7e751b","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676668,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2OH0.2_ddPwJyq5sLFaF1Ioz1i9yBo3VVferjf26cSRnZnA4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"79e49ac0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:24:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/e5363aab-a4a5-4126-b1be-24752ab24314?id=7e0a85f8-e0ba-4beb-820f-e11a7f4afd18 HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.146","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"fa039764c3460db1a785a2f9eb9c3bef"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"7e0a85f8-e0ba-4beb-820f-e11a7f4afd18\" in room \"http://localhost/rooms/e5363aab-a4a5-4126-b1be-24752ab24314\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"7e0a85f8-e0ba-4beb-820f-e11a7f4afd18\" from room \"http://localhost/rooms/e5363aab-a4a5-4126-b1be-24752ab24314\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/725c6454-5045-439e-95f7-7e466c7e751b' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/725c6454-5045-439e-95f7-7e466c7e751b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"725c6454-5045-439e-95f7-7e466c7e751b","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} gateway-1 | {"time_local":"18/Sep/2024:16:24:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/e5363aab-a4a5-4126-b1be-24752ab24314?id=61dc9af4-f77d-42f4-a8cc-25e96d42c980 HTTP/1.1","status": "101","body_bytes_sent":"460","request_time":"0.143","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"8428192ae412bdde20212855a084ef9f"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"61dc9af4-f77d-42f4-a8cc-25e96d42c980\" in room \"http://localhost/rooms/e5363aab-a4a5-4126-b1be-24752ab24314\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"61dc9af4-f77d-42f4-a8cc-25e96d42c980\" from room \"http://localhost/rooms/e5363aab-a4a5-4126-b1be-24752ab24314\""} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/725c6454-5045-439e-95f7-7e466c7e751b","device":"da7f88a7-108b-4535-add7-aaca4b6acef1","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e999671e223c8b59fa66421644bf601b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"e999671e223c8b59fa66421644bf601b","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ed0c18cf97ba736f6decdbc4f917c07f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F725c6454-5045-439e-95f7-7e466c7e751b': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F725c6454-5045-439e-95f7-7e466c7e751b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"55f685d1-6489-41e6-aaf9-1929dd886d73","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.027613} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/725c6454-5045-439e-95f7-7e466c7e751b"}}},"level":"info","message":"received a callback","requestID":"e999671e223c8b59fa66421644bf601b"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ed0c18cf97ba736f6decdbc4f917c07f","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/725c6454-5045-439e-95f7-7e466c7e751b"}}},"level":"info","message":"received a callback","requestID":"ed0c18cf97ba736f6decdbc4f917c07f"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1020843a-589b-4b54-a1d5-94ae804a253b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.0283792} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"79e49ac0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"725c6454-5045-439e-95f7-7e466c7e751b","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"79e49ac0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/725c6454-5045-439e-95f7-7e466c7e751b 204 34ms","method":"DELETE","requestID":"79e49ac0-75da-11ef-ba7c-09eaa4331ae1","responseTime":34,"status":204,"url":"/peerconnections/725c6454-5045-439e-95f7-7e466c7e751b"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"},"level":"info","message":"Successfully finished experiment","requestID":"3ed0d65407f2f50b17726e2bd0c85e49"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"79ec62f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1537,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:28Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F24eca4fc-b9a8-422d-a169-4a84e576a534","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c28f1c4f-9f68-4f6c-8aff-169ac498ea0f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.0680492} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1537,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.607044,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79ec62f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"79ec62f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"79ec62f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/24eca4fc-b9a8-422d-a169-4a84e576a534/signaling 200 9ms","method":"POST","requestID":"79ec62f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/24eca4fc-b9a8-422d-a169-4a84e576a534/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"79ede990-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb57560ea-0c20-4ba3-a29d-cdc326af77c3': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb57560ea-0c20-4ba3-a29d-cdc326af77c3","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"21c0c3b5-dd57-4d0e-b036-2858c88453aa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.074563} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2392c5b3-1619-43ea-9fa5-df028a3d7382","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.0751836} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"3ed0d65407f2f50b17726e2bd0c85e49","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1538,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:28Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7f88a7-108b-4535-add7-aaca4b6acef1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d0271276-d1e9-47a5-a894-abd0738611d8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.0793324} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1538,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.115905,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"79ede990-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"79ede990-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"79ede990-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/da7f88a7-108b-4535-add7-aaca4b6acef1/signaling 200 10ms","method":"POST","requestID":"79ede990-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/da7f88a7-108b-4535-add7-aaca4b6acef1/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3","requestID":"3ed0d65407f2f50b17726e2bd0c85e49"} gateway-1 | {"time_local":"18/Sep/2024:16:24:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.143","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3ed0d65407f2f50b17726e2bd0c85e49"} gateway-1 | {"time_local":"18/Sep/2024:16:24:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1746","request_time":"2.224","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"18bd3de73eea9f0b8741d254f57e3945"} experiment-1 | {"level":"info","message":"DELETE /experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3 204 141ms","method":"DELETE","requestID":"3ed0d65407f2f50b17726e2bd0c85e49","responseTime":141,"status":204,"url":"/experiments/b57560ea-0c20-4ba3-a29d-cdc326af77c3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 119ms","method":"POST","requestID":"e999671e223c8b59fa66421644bf601b","responseTime":119,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.122","http_referrer":"","http_user_agent":"node-fetch","requestID":"e999671e223c8b59fa66421644bf601b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2OH0.2_ddPwJyq5sLFaF1Ioz1i9yBo3VVferjf26cSRnZnA4","level":"info","message":"auth send jwt","requestID":"b43edb3331f43666510047dac54299cd"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b43edb3331f43666510047dac54299cd","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"b43edb3331f43666510047dac54299cd"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 123ms","method":"POST","requestID":"ed0c18cf97ba736f6decdbc4f917c07f","responseTime":123,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.128","http_referrer":"","http_user_agent":"node-fetch","requestID":"ed0c18cf97ba736f6decdbc4f917c07f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1539,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1539,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.070396,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:28Z"} gateway-1 | {"time_local":"18/Sep/2024:16:24:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2067","request_time":"0.696","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"7a9b8bd048d3498c08a4bfa5616dd5f8"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b43edb3331f43666510047dac54299cd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676668,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2OH0.2_ddPwJyq5sLFaF1Ioz1i9yBo3VVferjf26cSRnZnA4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b43edb3331f43666510047dac54299cd","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/24eca4fc-b9a8-422d-a169-4a84e576a534' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"0a907a09-66f5-4c33-a983-19aaa3dbd270","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.1707227} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b43edb3331f43666510047dac54299cd","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/da7f88a7-108b-4535-add7-aaca4b6acef1' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e7e81939-4461-45f5-8ab9-8f7bb2545c20","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.1751454} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"b43edb3331f43666510047dac54299cd","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"fc8cdc55-295b-4d2f-b814-50dd9ee3bd9f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.1832018} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7e7078b1-3b06-4362-bf6e-d8ae0327381b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.1833355} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"b43edb3331f43666510047dac54299cd","responseTime":10,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:28.183157373Z"}]},"request_id":"9cb701a2-e801-4da0-be40-465f5d1da7bc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.1873703} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b43edb3331f43666510047dac54299cd","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b43edb3331f43666510047dac54299cd"} gateway-1 | {"time_local":"18/Sep/2024:16:24:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b43edb3331f43666510047dac54299cd"} device-1 | {"level":"info","message":"POST /devices? 201 39ms","method":"POST","requestID":"b43edb3331f43666510047dac54299cd","responseTime":39,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2OH0.2_ddPwJyq5sLFaF1Ioz1i9yBo3VVferjf26cSRnZnA4","level":"info","message":"auth send jwt","requestID":"2e96612e8ef24c433b9e754525b8d142"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"2e96612e8ef24c433b9e754525b8d142","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"2e96612e8ef24c433b9e754525b8d142"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1540,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1540,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.725361,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:28Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2e96612e8ef24c433b9e754525b8d142","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676668,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2OH0.2_ddPwJyq5sLFaF1Ioz1i9yBo3VVferjf26cSRnZnA4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2e96612e8ef24c433b9e754525b8d142","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"032c6b1b-c7e1-44cc-8e51-6a615061f688","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.21394} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"2e96612e8ef24c433b9e754525b8d142","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"83eb9fd2-795e-449b-95d8-b199778ea462","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.2184799} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"2e96612e8ef24c433b9e754525b8d142","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"dedf977a-7c6a-4097-ab4b-95cda292acc9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.2290506} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ee49d429-2c51-4102-86b0-920a2607f776","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.22921} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"2e96612e8ef24c433b9e754525b8d142","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:28.229017718Z"}]},"request_id":"dd755188-5bc7-4cd4-9f98-298a032d6b3e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.2339876} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2e96612e8ef24c433b9e754525b8d142","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"2e96612e8ef24c433b9e754525b8d142"} gateway-1 | {"time_local":"18/Sep/2024:16:24:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.046","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2e96612e8ef24c433b9e754525b8d142"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"2e96612e8ef24c433b9e754525b8d142","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2OH0.2_ddPwJyq5sLFaF1Ioz1i9yBo3VVferjf26cSRnZnA4","level":"info","message":"auth send jwt","requestID":"d263fc65a512b8cf37100bf3af3709a0"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d263fc65a512b8cf37100bf3af3709a0","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"d263fc65a512b8cf37100bf3af3709a0"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1541,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1541,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.200485,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:28Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d263fc65a512b8cf37100bf3af3709a0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676668,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2OH0.2_ddPwJyq5sLFaF1Ioz1i9yBo3VVferjf26cSRnZnA4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d263fc65a512b8cf37100bf3af3709a0","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:28.183157373Z"}]},"request_id":"fcec7f7d-501c-4d19-bab8-eb9bd1d8c99a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.7214425} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d263fc65a512b8cf37100bf3af3709a0","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fa12c622-d471-4aef-b6d8-7153862f2b47","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.7287145} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"d263fc65a512b8cf37100bf3af3709a0","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:28.183157373Z"}]},"request_id":"4ba840b6-6fe4-4021-ac99-108cf69f4e7b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676668.7417347} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d263fc65a512b8cf37100bf3af3709a0","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"d263fc65a512b8cf37100bf3af3709a0"} device-1 | {"level":"info","message":"PATCH /devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e 200 38ms","method":"PATCH","requestID":"d263fc65a512b8cf37100bf3af3709a0","responseTime":38,"status":200,"url":"/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e"} gateway-1 | {"time_local":"18/Sep/2024:16:24:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.044","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"d263fc65a512b8cf37100bf3af3709a0"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2OH0.2_ddPwJyq5sLFaF1Ioz1i9yBo3VVferjf26cSRnZnA4","level":"info","message":"auth send jwt","requestID":"a2513e2c0215c5aa2438d61f2aba347f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a2513e2c0215c5aa2438d61f2aba347f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"a2513e2c0215c5aa2438d61f2aba347f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1542,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1542,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.380121,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:28Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a2513e2c0215c5aa2438d61f2aba347f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676668,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY2OH0.2_ddPwJyq5sLFaF1Ioz1i9yBo3VVferjf26cSRnZnA4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a2513e2c0215c5aa2438d61f2aba347f","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"a2513e2c0215c5aa2438d61f2aba347f"} device-1 | {"level":"info","message":"POST /devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e/websocket 200 20ms","method":"POST","requestID":"a2513e2c0215c5aa2438d61f2aba347f","responseTime":20,"status":200,"url":"/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:24:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.025","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"a2513e2c0215c5aa2438d61f2aba347f"} device-1 | {"level":"info","message":"device 'http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5f86041bee562f289e6dd22e7b0d7571","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"5f86041bee562f289e6dd22e7b0d7571","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"5f86041bee562f289e6dd22e7b0d7571"} device-1 | {"level":"info","message":"OPTIONS /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1/websocket 200 1ms","method":"OPTIONS","requestID":"5f86041bee562f289e6dd22e7b0d7571","responseTime":1,"status":200,"url":"/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg","level":"info","message":"auth send jwt","requestID":"876f6181752dad35e0106c3a1133f711"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"876f6181752dad35e0106c3a1133f711","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"876f6181752dad35e0106c3a1133f711"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1543,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1543,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.210202,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"876f6181752dad35e0106c3a1133f711","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676670,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"876f6181752dad35e0106c3a1133f711","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"876f6181752dad35e0106c3a1133f711"} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.029","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"876f6181752dad35e0106c3a1133f711"} device-1 | {"level":"info","message":"POST /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1/websocket 200 22ms","method":"POST","requestID":"876f6181752dad35e0106c3a1133f711","responseTime":22,"status":200,"url":"/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"65529625def255277839e7fd353edb0b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"65529625def255277839e7fd353edb0b","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"65529625def255277839e7fd353edb0b"} device-1 | {"level":"info","message":"OPTIONS /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1? 200 1ms","method":"OPTIONS","requestID":"65529625def255277839e7fd353edb0b","responseTime":1,"status":200,"url":"/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg","level":"info","message":"auth send jwt","requestID":"889df10a1fbca427104ab684fdee2efb"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"889df10a1fbca427104ab684fdee2efb","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"889df10a1fbca427104ab684fdee2efb"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1544,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1544,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.189461,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"889df10a1fbca427104ab684fdee2efb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676670,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"889df10a1fbca427104ab684fdee2efb","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:28.229017718Z"}]},"request_id":"979a0ab5-501e-4add-b6a1-8ca977b07372","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.375214} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"889df10a1fbca427104ab684fdee2efb","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"80a437f4-ff13-48cc-ad3c-beff28e27e88","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.382691} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"889df10a1fbca427104ab684fdee2efb","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:28.229017718Z"}]},"request_id":"a17f8e80-6906-458d-9bfd-cbe59c67d183","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.3961227} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"889df10a1fbca427104ab684fdee2efb","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"889df10a1fbca427104ab684fdee2efb"} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.044","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"889df10a1fbca427104ab684fdee2efb"} device-1 | {"level":"info","message":"PATCH /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1? 200 38ms","method":"PATCH","requestID":"889df10a1fbca427104ab684fdee2efb","responseTime":38,"status":200,"url":"/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg","level":"info","message":"auth send jwt","requestID":"e3c61c23e68387ca66eb6bbd44386a15"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e3c61c23e68387ca66eb6bbd44386a15","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e3c61c23e68387ca66eb6bbd44386a15"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1545,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1545,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.311947,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e3c61c23e68387ca66eb6bbd44386a15","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676670,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e3c61c23e68387ca66eb6bbd44386a15","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:28.183157373Z"}]},"request_id":"1acbdf7b-5bde-40da-8591-abae4c26a62a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.4256465} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e3c61c23e68387ca66eb6bbd44386a15","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e3c61c23e68387ca66eb6bbd44386a15"} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e3c61c23e68387ca66eb6bbd44386a15"} device-1 | {"level":"info","message":"GET /devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e? 200 18ms","method":"GET","requestID":"e3c61c23e68387ca66eb6bbd44386a15","responseTime":18,"status":200,"url":"/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg","level":"info","message":"auth send jwt","requestID":"aa0c141d45bc8eb9d13aba25d9aeac9f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"aa0c141d45bc8eb9d13aba25d9aeac9f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"aa0c141d45bc8eb9d13aba25d9aeac9f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1546,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1546,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.260957,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"aa0c141d45bc8eb9d13aba25d9aeac9f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676670,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"aa0c141d45bc8eb9d13aba25d9aeac9f","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:28.229017718Z"}]},"request_id":"3979d27a-f8eb-45cd-82fa-88bc17b2a146","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.4500225} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"aa0c141d45bc8eb9d13aba25d9aeac9f","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"aa0c141d45bc8eb9d13aba25d9aeac9f"} device-1 | {"level":"info","message":"GET /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1? 200 16ms","method":"GET","requestID":"aa0c141d45bc8eb9d13aba25d9aeac9f","responseTime":16,"status":200,"url":"/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"aa0c141d45bc8eb9d13aba25d9aeac9f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg","level":"info","message":"auth send jwt","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1547,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1547,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.231195,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"cf83abb44c0b6fbdd3a4c0386dda8887","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676670,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409"},"level":"info","message":"Attempting to run experiment","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409"},"level":"info","message":"Attempting to book experiment","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409"},"level":"info","message":"Successfully booked experiment","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7b60b370-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7b610190-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1548,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1548,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.112852,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1549,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b60b370-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676670,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7b60b370-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1549,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.794869,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b610190-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676670,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7b610190-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:28.183157373Z"}]},"request_id":"a1a27e02-1531-4164-b8fa-82d7ff85f081","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.5160291} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"7b60b370-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:28.229017718Z"}]},"request_id":"c8dd5f13-76e0-4352-82bb-06d67c9ba9f1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.5182579} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"7b610190-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7b60b370-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e? 200 24ms","method":"GET","requestID":"7b60b370-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7b610190-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1? 200 23ms","method":"GET","requestID":"7b610190-75da-11ef-ba7c-09eaa4331ae1","responseTime":23,"status":200,"url":"/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409"},"level":"info","message":"Setting up experiment","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409"},"level":"info","message":"Successfully locked booking for experiment","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409"},"level":"info","message":"Attempting to update booking for experiment","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409"},"level":"info","message":"Successfully updated booking for experiment","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409"},"level":"info","message":"Successfully set up experiment","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7b6bfe10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7b6c4c30-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409"},"level":"info","message":"Successfully running experiment","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1550,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1550,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.948332,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1551,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b6bfe10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676670,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7b6bfe10-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1551,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.925842,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7b6d0f80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b6c4c30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676670,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7b6c4c30-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1552,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:28.183157373Z"}]},"request_id":"38ddc34f-a60f-4c13-bd79-6c5fbea34216","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.59086} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eac6c832-51e8-4ae5-8a77-9c04815198c3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.5913205} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"7b6bfe10-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1552,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.254252,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b6d0f80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7b6d0f80-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:28.229017718Z"}]},"request_id":"7b2cec14-7342-4310-bbb3-d46380a38fe3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.5949197} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"7b6c4c30-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7b6bfe10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e? 200 23ms","method":"GET","requestID":"7b6bfe10-75da-11ef-ba7c-09eaa4331ae1","responseTime":23,"status":200,"url":"/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7b6d0f80-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F323c80aa-7224-4b26-8879-7772c3c70409#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F323c80aa-7224-4b26-8879-7772c3c70409","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"a83597ea-ecb0-4e0b-bb7b-97c8917b5926","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.6015933} device-1 | {"level":"info","message":"POST /devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e/signaling 200 18ms","method":"POST","requestID":"7b6d0f80-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c17d403a-21a1-47c3-b272-1250a400329e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.6019285} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887","responseTime":19,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7b701cc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7b6c4c30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1? 200 28ms","method":"GET","requestID":"7b6c4c30-75da-11ef-ba7c-09eaa4331ae1","responseTime":28,"status":200,"url":"/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1553,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6496882e-b6f3-47e3-bb6c-0bbbd7f084e0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.6102045} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1553,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.320413,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b701cc0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1216","request_time":"0.156","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} experiment-1 | {"level":"info","message":"POST /experiments? 201 150ms","method":"POST","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887","responseTime":150,"status":201,"url":"/experiments?"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7b701cc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7b71ca70-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg","level":"info","message":"auth send jwt","requestID":"917d85cfc3ca705c8f3cb76d8178ac1f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"917d85cfc3ca705c8f3cb76d8178ac1f","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1554,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"917d85cfc3ca705c8f3cb76d8178ac1f"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e70d48d1-c3b3-40ec-888c-bb503df3ee5a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.6213458} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7b701cc0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1/signaling 200 17ms","method":"POST","requestID":"7b701cc0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1554,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.592238,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b71ca70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7b71ca70-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1555,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1555,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.938854,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"917d85cfc3ca705c8f3cb76d8178ac1f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676670,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"917d85cfc3ca705c8f3cb76d8178ac1f","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7b71ca70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e/signaling 200 13ms","method":"POST","requestID":"7b71ca70-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e/signaling"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:28.183157373Z"}]},"request_id":"ff9d18ec-5c93-4764-9d63-2798bf678188","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.6289139} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"917d85cfc3ca705c8f3cb76d8178ac1f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7b741460-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1556,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"917d85cfc3ca705c8f3cb76d8178ac1f"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4ba52376-e577-46c1-a719-7b55419be5c9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.6350982} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"917d85cfc3ca705c8f3cb76d8178ac1f"} device-1 | {"level":"info","message":"GET /devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e? 200 15ms","method":"GET","requestID":"917d85cfc3ca705c8f3cb76d8178ac1f","responseTime":15,"status":200,"url":"/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1556,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.467618,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b741460-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7b741460-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg","level":"info","message":"auth send jwt","requestID":"b0e9e2808fa70e385ab82a05606b3544"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7b741460-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b0e9e2808fa70e385ab82a05606b3544","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"POST /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1/signaling 200 10ms","method":"POST","requestID":"7b741460-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b0e9e2808fa70e385ab82a05606b3544"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7b75e920-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1557,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7b761030-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1557,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.743064,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1558,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"b0e9e2808fa70e385ab82a05606b3544","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676670,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b0e9e2808fa70e385ab82a05606b3544","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1558,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.547151,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b75e920-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676670,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7b75e920-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:28.229017718Z"}]},"request_id":"3f7a3095-7999-42a7-9375-a998805fbe0c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.6493838} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b0e9e2808fa70e385ab82a05606b3544","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:28.183157373Z"}]},"request_id":"b693da21-bcba-4ca1-9be2-386b52b0afa5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.6503425} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7b75e920-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:55260","level":"info","msg":"Received request.","req_id":1559,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"client_addr":"127.0.0.1:55260","level":"info","msg":"Sent response.","req_id":1559,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.829138,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b761030-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676670,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7b761030-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b0e9e2808fa70e385ab82a05606b3544"} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1? HTTP/1.1","status": "200","body_bytes_sent":"1007","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b0e9e2808fa70e385ab82a05606b3544"} device-1 | {"level":"info","message":"GET /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1? 200 15ms","method":"GET","requestID":"b0e9e2808fa70e385ab82a05606b3544","responseTime":15,"status":200,"url":"/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7b75e920-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:28.229017718Z"}]},"request_id":"7bca9ad2-9ff7-4ff0-9ece-3ea697590673","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.6556988} device-1 | {"level":"info","message":"GET /devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e? 200 14ms","method":"GET","requestID":"7b75e920-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7b761030-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7b761030-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1? 200 15ms","method":"GET","requestID":"7b761030-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409"},"level":"info","message":"Building connection plan","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"597ed171-bfa5-4147-afc8-ffea9299129b"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"2a2a04f9-27ae-452b-bbe1-719607714421"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"bec9da01-8e4f-413d-b2cf-3489a8bd3d23"}]},"level":"info","message":"Built pairwise service configurations","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"7b78a840-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"7b78a840-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"7b78a840-75da-11ef-9672-db8da4810e4b","responseTime":1,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/c98e7141-c6f1-4d3a-a80b-a6a4406e1e59?id=e1bc8fe2-390c-47d2-bcb5-f394acc92612","ws://localhost/rooms/c98e7141-c6f1-4d3a-a80b-a6a4406e1e59?id=93f204f5-cb6a-466c-b4e3-330ed3b6365e"]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"7b791d70-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1560,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1560,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.62148,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b791d70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676670,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7b791d70-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"3c7739db-5754-4702-9823-513e7e329c91","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.6737878} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"29b6e0dd-fe6a-4ffc-ac14-072fe69a33fd","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.673963} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"7b791d70-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"7b791d70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"7b791d70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229'","requestID":"7b791d70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229'","requestID":"7b791d70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"7b791d70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 24ms","method":"POST","requestID":"7b791d70-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"7b791d70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e9425fa1-67ad-4ba0-abc1-af1bc6502229","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"7b7e2680-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"e1bc8fe2-390c-47d2-bcb5-f394acc92612\" in room \"http://localhost/rooms/c98e7141-c6f1-4d3a-a80b-a6a4406e1e59\"","requestID":"7b7e2680-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"7b7e2680-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fb07d6cec2618ff35971840ceb18ca93","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"fb07d6cec2618ff35971840ceb18ca93","responseTime":2,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"7b7e74a0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"93f204f5-cb6a-466c-b4e3-330ed3b6365e\" in room \"http://localhost/rooms/c98e7141-c6f1-4d3a-a80b-a6a4406e1e59\"","requestID":"7b7e74a0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"7b7e74a0-75da-11ef-9672-db8da4810e4b"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229"}}},"level":"info","message":"received a callback","requestID":"fb07d6cec2618ff35971840ceb18ca93"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"93f204f5-cb6a-466c-b4e3-330ed3b6365e\" in room \"http://localhost/rooms/c98e7141-c6f1-4d3a-a80b-a6a4406e1e59\"","requestID":"7b7e74a0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"93f204f5-cb6a-466c-b4e3-330ed3b6365e\" in room \"http://localhost/rooms/c98e7141-c6f1-4d3a-a80b-a6a4406e1e59\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"93f204f5-cb6a-466c-b4e3-330ed3b6365e\" in room \"http://localhost/rooms/c98e7141-c6f1-4d3a-a80b-a6a4406e1e59\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"93f204f5-cb6a-466c-b4e3-330ed3b6365e\" in room \"http://localhost/rooms/c98e7141-c6f1-4d3a-a80b-a6a4406e1e59\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"93f204f5-cb6a-466c-b4e3-330ed3b6365e\" in room \"http://localhost/rooms/c98e7141-c6f1-4d3a-a80b-a6a4406e1e59\""} device-1 | {"data":{"peerconnection":"e9425fa1-67ad-4ba0-abc1-af1bc6502229","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 14ms","method":"POST","requestID":"fb07d6cec2618ff35971840ceb18ca93","responseTime":14,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch","requestID":"fb07d6cec2618ff35971840ceb18ca93"} device-1 | {"data":{"peerconnection":"e9425fa1-67ad-4ba0-abc1-af1bc6502229","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"cf83abb44c0b6fbdd3a4c0386dda8887"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7b8356a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1561,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e9425fa1-67ad-4ba0-abc1-af1bc6502229","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6fbb05f7-5137-4019-97ef-d2136f06fac1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.7344131} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1561,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.34501,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b8356a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f14a262893ac09791baeec04301778b4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f14a262893ac09791baeec04301778b4","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7b8356a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229"}}},"level":"info","message":"received a callback","requestID":"f14a262893ac09791baeec04301778b4"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"7b85a090-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7b8356a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e/signaling 200 17ms","method":"POST","requestID":"7b8356a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1562,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7b863cd0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe9425fa1-67ad-4ba0-abc1-af1bc6502229","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6db7fa15-2789-4a46-84b6-97e529152f69","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.7510965} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1562,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.127708,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1563,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b85a090-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7b85a090-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"80f851ef-44ca-4668-8193-b4b61d823e17","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.7537947} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1563,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.143969,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"7b85a090-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b863cd0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"level":"info","message":"GET /peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229 200 10ms","method":"GET","requestID":"7b85a090-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7b863cd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7b863cd0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1/signaling 200 8ms","method":"POST","requestID":"7b863cd0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1/signaling"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 31ms","method":"POST","requestID":"f14a262893ac09791baeec04301778b4","responseTime":31,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.035","http_referrer":"","http_user_agent":"node-fetch","requestID":"f14a262893ac09791baeec04301778b4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7b894a10-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1564,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a36d317a-6f44-4ed1-8b10-37290c5e5cb2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.7737536} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1564,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.285381,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b894a10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7b894a10-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7b894a10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e/signaling 200 8ms","method":"POST","requestID":"7b894a10-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7b8ad0b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1565,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ad2efcaf-fcf7-4c31-ad17-87c815f3336b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.7830524} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1565,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.248257,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b8ad0b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7b8ad0b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7b8ad0b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1/signaling 200 8ms","method":"POST","requestID":"7b8ad0b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg","level":"info","message":"auth send jwt","requestID":"46eb5fec77bd5fc4071892639bb9e72f"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"46eb5fec77bd5fc4071892639bb9e72f","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/323c80aa-7224-4b26-8879-7772c3c70409","requestID":"46eb5fec77bd5fc4071892639bb9e72f"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1566,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1566,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.65431,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"46eb5fec77bd5fc4071892639bb9e72f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676670,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"46eb5fec77bd5fc4071892639bb9e72f","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/323c80aa-7224-4b26-8879-7772c3c70409","requestID":"46eb5fec77bd5fc4071892639bb9e72f"} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/323c80aa-7224-4b26-8879-7772c3c70409 HTTP/1.1","status": "200","body_bytes_sent":"1289","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"46eb5fec77bd5fc4071892639bb9e72f"} experiment-1 | {"level":"info","message":"GET /experiments/323c80aa-7224-4b26-8879-7772c3c70409 200 12ms","method":"GET","requestID":"46eb5fec77bd5fc4071892639bb9e72f","responseTime":12,"status":200,"url":"/experiments/323c80aa-7224-4b26-8879-7772c3c70409"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg","level":"info","message":"auth send jwt","requestID":"d092f94f1bf35046d308d7efb258b459"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d092f94f1bf35046d308d7efb258b459","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/323c80aa-7224-4b26-8879-7772c3c70409","requestID":"d092f94f1bf35046d308d7efb258b459"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1567,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1567,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.658874,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d092f94f1bf35046d308d7efb258b459","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676670,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d092f94f1bf35046d308d7efb258b459","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409"},"level":"info","message":"Attempting to finish experiment","requestID":"d092f94f1bf35046d308d7efb258b459"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"7b933520-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1568,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1568,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.682583,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b933520-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676670,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7b933520-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/c98e7141-c6f1-4d3a-a80b-a6a4406e1e59?id=e1bc8fe2-390c-47d2-bcb5-f394acc92612 HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.149","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"41a9194828b94d4d40136810d4b52297"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"e1bc8fe2-390c-47d2-bcb5-f394acc92612\" in room \"http://localhost/rooms/c98e7141-c6f1-4d3a-a80b-a6a4406e1e59\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"e1bc8fe2-390c-47d2-bcb5-f394acc92612\" from room \"http://localhost/rooms/c98e7141-c6f1-4d3a-a80b-a6a4406e1e59\""} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229","device":"e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/c98e7141-c6f1-4d3a-a80b-a6a4406e1e59?id=93f204f5-cb6a-466c-b4e3-330ed3b6365e HTTP/1.1","status": "101","body_bytes_sent":"918","request_time":"0.148","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ee608feb6b05e837f57486079eaaf9a1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229' to 'http://localhost/callbacks/experiment'"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"93f204f5-cb6a-466c-b4e3-330ed3b6365e\" in room \"http://localhost/rooms/c98e7141-c6f1-4d3a-a80b-a6a4406e1e59\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"93f204f5-cb6a-466c-b4e3-330ed3b6365e\" from room \"http://localhost/rooms/c98e7141-c6f1-4d3a-a80b-a6a4406e1e59\""} device-1 | {"data":{"peerconnection":"e9425fa1-67ad-4ba0-abc1-af1bc6502229","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe9425fa1-67ad-4ba0-abc1-af1bc6502229': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe9425fa1-67ad-4ba0-abc1-af1bc6502229","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"6660bdd8-11c4-44ce-85ed-73d4fd111fbc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.8492403} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"130564593c8f36b540c7458ee343eeb6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2d779a68-67e8-445f-a2a1-ae0cb33582eb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.8494399} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"130564593c8f36b540c7458ee343eeb6","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229"}}},"level":"info","message":"received a callback","requestID":"130564593c8f36b540c7458ee343eeb6"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9b0fd0e25e588bf13ba5b2879c3505d4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"7b933520-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9b0fd0e25e588bf13ba5b2879c3505d4","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229"}}},"level":"info","message":"received a callback","requestID":"9b0fd0e25e588bf13ba5b2879c3505d4"} device-1 | {"data":{"peerconnection":"e9425fa1-67ad-4ba0-abc1-af1bc6502229","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"7b933520-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229 204 33ms","method":"DELETE","requestID":"7b933520-75da-11ef-ba7c-09eaa4331ae1","responseTime":33,"status":204,"url":"/peerconnections/e9425fa1-67ad-4ba0-abc1-af1bc6502229"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/323c80aa-7224-4b26-8879-7772c3c70409"},"level":"info","message":"Successfully finished experiment","requestID":"d092f94f1bf35046d308d7efb258b459"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7b9a8820-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1569,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a9e1b3d-6b1f-4945-9796-fd214e5f780e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"275b0bc2-3185-4268-b5e2-c52163cb4d5e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.8863492} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1569,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.352734,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b9a8820-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7b9a8820-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7b9a8820-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e/signaling 200 8ms","method":"POST","requestID":"7b9a8820-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F323c80aa-7224-4b26-8879-7772c3c70409': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F323c80aa-7224-4b26-8879-7772c3c70409","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"32a9dbda-0d14-4fc1-8820-8feda3c9e4bc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.8913963} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"344399d1-b8a0-4c9c-9c1b-910c100b2378","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.8918262} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7b9c35d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"d092f94f1bf35046d308d7efb258b459","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1570,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe9ab88e7-7b0c-4561-bc85-3b6c02e379a1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b5ed431f-576c-4d5c-bb61-971ffc5f1485","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.8978963} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1570,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.59696,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7b9c35d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7b9c35d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7b9c35d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1/signaling 200 8ms","method":"POST","requestID":"7b9c35d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/323c80aa-7224-4b26-8879-7772c3c70409","requestID":"d092f94f1bf35046d308d7efb258b459"} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/323c80aa-7224-4b26-8879-7772c3c70409 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.134","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d092f94f1bf35046d308d7efb258b459"} experiment-1 | {"level":"info","message":"DELETE /experiments/323c80aa-7224-4b26-8879-7772c3c70409 204 131ms","method":"DELETE","requestID":"d092f94f1bf35046d308d7efb258b459","responseTime":131,"status":204,"url":"/experiments/323c80aa-7224-4b26-8879-7772c3c70409"} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"1746","request_time":"2.184","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"24339e7bfb24ddb9d8edb0f0a2b5aca5"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 107ms","method":"POST","requestID":"130564593c8f36b540c7458ee343eeb6","responseTime":107,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.110","http_referrer":"","http_user_agent":"node-fetch","requestID":"130564593c8f36b540c7458ee343eeb6"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 106ms","method":"POST","requestID":"9b0fd0e25e588bf13ba5b2879c3505d4","responseTime":106,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.110","http_referrer":"","http_user_agent":"node-fetch","requestID":"9b0fd0e25e588bf13ba5b2879c3505d4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg","level":"info","message":"auth send jwt","requestID":"6ceacb5009a3e155cd51f6d06798c55b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6ceacb5009a3e155cd51f6d06798c55b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"6ceacb5009a3e155cd51f6d06798c55b"} gateway-1 | {"time_local":"18/Sep/2024:16:24:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2067","request_time":"0.647","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"43613d07bb57c888d70eab95bc354e1d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1571,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:30Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1571,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.764631,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:30Z"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/7a9e1b3d-6b1f-4945-9796-fd214e5f780e' closed"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"6ceacb5009a3e155cd51f6d06798c55b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676670,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MH0.BGQDYSOWUWkTS5TIzpcvmjPvJvrUD7yxEOi3jCEWkkg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6ceacb5009a3e155cd51f6d06798c55b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/e9ab88e7-7b0c-4561-bc85-3b6c02e379a1' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"a486d0f2-75ed-4098-af80-d6b5ae6091ef","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.984325} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6ceacb5009a3e155cd51f6d06798c55b","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"69de5d3a-d00d-4b09-9697-41a8d43f19ac","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.989555} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"6ceacb5009a3e155cd51f6d06798c55b","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"c514bad6-d2f0-4bc2-90db-07396440ca62","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.9987614} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4f891a27-e5b3-4fcb-a5a4-98b67b6f4993","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676670.998833} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"6ceacb5009a3e155cd51f6d06798c55b","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:30.998727559Z"}]},"request_id":"953601e9-7b5e-40d2-b835-edb34177996c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.0033646} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"6ceacb5009a3e155cd51f6d06798c55b","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"6ceacb5009a3e155cd51f6d06798c55b"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"6ceacb5009a3e155cd51f6d06798c55b","responseTime":46,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.052","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6ceacb5009a3e155cd51f6d06798c55b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw","level":"info","message":"auth send jwt","requestID":"e8e1d9cd2cdcea9f40b0b1917b4481e3"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"e8e1d9cd2cdcea9f40b0b1917b4481e3","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e8e1d9cd2cdcea9f40b0b1917b4481e3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1572,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1572,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.734029,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e8e1d9cd2cdcea9f40b0b1917b4481e3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676671,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e8e1d9cd2cdcea9f40b0b1917b4481e3","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"09a310ca-c5ba-4166-9306-191f06b64eab","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.0270028} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e8e1d9cd2cdcea9f40b0b1917b4481e3","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"105ab759-4ee6-4d5f-8485-d2512b1bfa3e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.0314841} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e8e1d9cd2cdcea9f40b0b1917b4481e3","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"822ea19b-19ad-44b2-a077-2948801b7288","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.047151} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"10da8380-897a-4606-8a8e-3272f23897d4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.047252} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"e8e1d9cd2cdcea9f40b0b1917b4481e3","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:31.047098895Z"}]},"request_id":"79dd32bf-cf3e-4883-8abd-85472051f76f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.0512128} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e8e1d9cd2cdcea9f40b0b1917b4481e3","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e8e1d9cd2cdcea9f40b0b1917b4481e3"} gateway-1 | {"time_local":"18/Sep/2024:16:24:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.044","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e8e1d9cd2cdcea9f40b0b1917b4481e3"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"e8e1d9cd2cdcea9f40b0b1917b4481e3","responseTime":40,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw","level":"info","message":"auth send jwt","requestID":"078b9c8b36b50333a28a133667ad45b7"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"078b9c8b36b50333a28a133667ad45b7","responseTime":5,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw","level":"info","message":"auth send jwt","requestID":"062ab06fa00d74435a528141b07b9113"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"062ab06fa00d74435a528141b07b9113","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"078b9c8b36b50333a28a133667ad45b7"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"062ab06fa00d74435a528141b07b9113"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1573,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1574,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1573,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.764061,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1574,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.640598,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"078b9c8b36b50333a28a133667ad45b7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676671,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"078b9c8b36b50333a28a133667ad45b7","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"062ab06fa00d74435a528141b07b9113","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676671,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"062ab06fa00d74435a528141b07b9113","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:30.998727559Z"}]},"request_id":"a040fa17-9856-4122-a1e7-e9afc189a08a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.533911} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"078b9c8b36b50333a28a133667ad45b7","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:31.047098895Z"}]},"request_id":"3829a1a9-69ed-436a-a572-4265109a7017","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.534815} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"062ab06fa00d74435a528141b07b9113","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"85bcde28-26a8-4dc6-aedf-b2677c14463c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.5393543} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"078b9c8b36b50333a28a133667ad45b7","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3c27fd43-a6f1-407d-aa41-ebe9fd43c729","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.5409756} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"062ab06fa00d74435a528141b07b9113","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:31.047098895Z"}]},"request_id":"b97b423b-fafa-4cfe-a224-208f47f2a28d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.5444188} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"062ab06fa00d74435a528141b07b9113","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"062ab06fa00d74435a528141b07b9113"} gateway-1 | {"time_local":"18/Sep/2024:16:24:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/111b9b89-a4cd-46b1-b387-484b95ccdb49 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.032","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"062ab06fa00d74435a528141b07b9113"} device-1 | {"level":"info","message":"PATCH /devices/111b9b89-a4cd-46b1-b387-484b95ccdb49 200 23ms","method":"PATCH","requestID":"062ab06fa00d74435a528141b07b9113","responseTime":23,"status":200,"url":"/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw","level":"info","message":"auth send jwt","requestID":"e29efa75924907504889f0838eea5a63"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e29efa75924907504889f0838eea5a63","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"e29efa75924907504889f0838eea5a63"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:30.998727559Z"}]},"request_id":"5e49f2de-a90c-4982-b4fa-3729809ec853","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.556308} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"078b9c8b36b50333a28a133667ad45b7","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1575,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1575,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.93167,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"078b9c8b36b50333a28a133667ad45b7"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e29efa75924907504889f0838eea5a63","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676671,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw"} gateway-1 | {"time_local":"18/Sep/2024:16:24:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.045","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"078b9c8b36b50333a28a133667ad45b7"} device-1 | {"level":"info","message":"PATCH /devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a 200 38ms","method":"PATCH","requestID":"078b9c8b36b50333a28a133667ad45b7","responseTime":38,"status":200,"url":"/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e29efa75924907504889f0838eea5a63","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw","level":"info","message":"auth send jwt","requestID":"9ec21498fb91383060f43022abcb73fd"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9ec21498fb91383060f43022abcb73fd","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"9ec21498fb91383060f43022abcb73fd"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1576,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1576,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.048332,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9ec21498fb91383060f43022abcb73fd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676671,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9ec21498fb91383060f43022abcb73fd","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"e29efa75924907504889f0838eea5a63"} device-1 | {"level":"info","message":"POST /devices/111b9b89-a4cd-46b1-b387-484b95ccdb49/websocket 200 21ms","method":"POST","requestID":"e29efa75924907504889f0838eea5a63","responseTime":21,"status":200,"url":"/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:24:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/111b9b89-a4cd-46b1-b387-484b95ccdb49/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.028","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"e29efa75924907504889f0838eea5a63"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"9ec21498fb91383060f43022abcb73fd"} gateway-1 | {"time_local":"18/Sep/2024:16:24:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"9ec21498fb91383060f43022abcb73fd"} device-1 | {"level":"info","message":"POST /devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a/websocket 200 22ms","method":"POST","requestID":"9ec21498fb91383060f43022abcb73fd","responseTime":22,"status":200,"url":"/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw","level":"info","message":"auth send jwt","requestID":"3e9062b95c6a1f77febeb4e03866a288"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"3e9062b95c6a1f77febeb4e03866a288","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3e9062b95c6a1f77febeb4e03866a288"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1577,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1577,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.142666,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3e9062b95c6a1f77febeb4e03866a288","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676671,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3e9062b95c6a1f77febeb4e03866a288","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:30.998727559Z"}]},"request_id":"96a63d0c-ac82-4ab0-83c0-da85ea68d269","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.6308212} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3e9062b95c6a1f77febeb4e03866a288","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3e9062b95c6a1f77febeb4e03866a288"} device-1 | {"level":"info","message":"GET /devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a? 200 14ms","method":"GET","requestID":"3e9062b95c6a1f77febeb4e03866a288","responseTime":14,"status":200,"url":"/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3e9062b95c6a1f77febeb4e03866a288"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw","level":"info","message":"auth send jwt","requestID":"baa79fe8d0baa2cd440acf327fd3f39d"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"baa79fe8d0baa2cd440acf327fd3f39d","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"baa79fe8d0baa2cd440acf327fd3f39d"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1578,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1578,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.991978,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"baa79fe8d0baa2cd440acf327fd3f39d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676671,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"baa79fe8d0baa2cd440acf327fd3f39d","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:31.047098895Z"}]},"request_id":"d99f04c5-35a8-405d-8d91-2e2d09997094","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.6476648} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"baa79fe8d0baa2cd440acf327fd3f39d","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"baa79fe8d0baa2cd440acf327fd3f39d"} gateway-1 | {"time_local":"18/Sep/2024:16:24:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/111b9b89-a4cd-46b1-b387-484b95ccdb49? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"baa79fe8d0baa2cd440acf327fd3f39d"} device-1 | {"level":"info","message":"GET /devices/111b9b89-a4cd-46b1-b387-484b95ccdb49? 200 15ms","method":"GET","requestID":"baa79fe8d0baa2cd440acf327fd3f39d","responseTime":15,"status":200,"url":"/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw","level":"info","message":"auth send jwt","requestID":"99b97d7a11efb367c7aacdd318784c57"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"99b97d7a11efb367c7aacdd318784c57","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"99b97d7a11efb367c7aacdd318784c57"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1579,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1579,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.092728,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"99b97d7a11efb367c7aacdd318784c57","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676671,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"99b97d7a11efb367c7aacdd318784c57","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"},"level":"info","message":"Attempting to run experiment","requestID":"99b97d7a11efb367c7aacdd318784c57"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"},"level":"info","message":"Attempting to book experiment","requestID":"99b97d7a11efb367c7aacdd318784c57"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"},"level":"info","message":"Successfully booked experiment","requestID":"99b97d7a11efb367c7aacdd318784c57"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7c173230-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7c178050-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1580,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1580,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.590206,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1581,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c173230-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676671,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"7c173230-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1581,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.548442,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c178050-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676671,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"7c178050-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:30.998727559Z"}]},"request_id":"7b1d8b86-a9cd-43ed-956e-f48776353e67","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.7078116} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"7c173230-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:31.047098895Z"}]},"request_id":"dd77a30c-eb4c-4c7c-817d-f4f87a7ab163","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.7095175} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7c178050-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7c178050-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/111b9b89-a4cd-46b1-b387-484b95ccdb49? 200 16ms","method":"GET","requestID":"7c178050-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7c173230-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a? 200 19ms","method":"GET","requestID":"7c173230-75da-11ef-ba7c-09eaa4331ae1","responseTime":19,"status":200,"url":"/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"},"level":"info","message":"Setting up experiment","requestID":"99b97d7a11efb367c7aacdd318784c57"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"99b97d7a11efb367c7aacdd318784c57"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"},"level":"info","message":"Successfully locked booking for experiment","requestID":"99b97d7a11efb367c7aacdd318784c57"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"99b97d7a11efb367c7aacdd318784c57"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"99b97d7a11efb367c7aacdd318784c57"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"},"level":"info","message":"Attempting to update booking for experiment","requestID":"99b97d7a11efb367c7aacdd318784c57"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"},"level":"info","message":"Successfully updated booking for experiment","requestID":"99b97d7a11efb367c7aacdd318784c57"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"},"level":"info","message":"Successfully set up experiment","requestID":"99b97d7a11efb367c7aacdd318784c57"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7c211d40-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7c219270-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7c21e090-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"},"level":"info","message":"Successfully running experiment","requestID":"99b97d7a11efb367c7aacdd318784c57"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1582,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1582,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.725781,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1583,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c211d40-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676671,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"7c211d40-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1583,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.679779,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:55260","level":"info","msg":"Received request.","req_id":1584,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c219270-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676671,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"7c219270-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:55260","level":"info","msg":"Sent response.","req_id":1584,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.277834,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3a95f878-e5cb-4757-890f-5e6a2e73a166","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.7779586} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c21e090-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"7c21e090-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:30.998727559Z"}]},"request_id":"646f5be3-7e71-4b4e-bb56-24b6438b3eb3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.7832444} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"7c211d40-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:31.047098895Z"}]},"request_id":"90923212-0481-494e-92d3-ed776875f47a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.7865863} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7c219270-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7c21e090-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a/signaling 200 20ms","method":"POST","requestID":"7c21e090-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F37bdf1fe-1aca-4893-9191-21b0093b0f4a#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F37bdf1fe-1aca-4893-9191-21b0093b0f4a","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"98209f97-b047-4f29-9e6e-4008031c2e91","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.7944555} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b02dd3e7-3322-4e5c-ab57-0d62a17a9d56","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.7945988} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7c25d830-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"99b97d7a11efb367c7aacdd318784c57","responseTime":21,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7c211d40-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1585,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} device-1 | {"level":"info","message":"GET /devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a? 200 35ms","method":"GET","requestID":"7c211d40-75da-11ef-ba7c-09eaa4331ae1","responseTime":35,"status":200,"url":"/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7c219270-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/111b9b89-a4cd-46b1-b387-484b95ccdb49? 200 33ms","method":"GET","requestID":"7c219270-75da-11ef-ba7c-09eaa4331ae1","responseTime":33,"status":200,"url":"/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"64011ee0-833a-4590-b4c4-cb514bb28084","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.8016908} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1585,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.030708,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c25d830-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7c25d830-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"99b97d7a11efb367c7aacdd318784c57"} gateway-1 | {"time_local":"18/Sep/2024:16:24:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1220","request_time":"0.153","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"99b97d7a11efb367c7aacdd318784c57"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7c27acf0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"level":"info","message":"POST /experiments? 201 147ms","method":"POST","requestID":"99b97d7a11efb367c7aacdd318784c57","responseTime":147,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7c25d830-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1586,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} device-1 | {"level":"info","message":"POST /devices/111b9b89-a4cd-46b1-b387-484b95ccdb49/signaling 200 16ms","method":"POST","requestID":"7c25d830-75da-11ef-ba7c-09eaa4331ae1","responseTime":16,"status":200,"url":"/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8fba60b3-ba7d-4d31-89b5-d3b7fa293f6f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.812584} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1586,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.520567,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c27acf0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7c27acf0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw","level":"info","message":"auth send jwt","requestID":"0e8befdd7e7025e80193d82eae165304"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0e8befdd7e7025e80193d82eae165304","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0e8befdd7e7025e80193d82eae165304"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7c27acf0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a/signaling 200 12ms","method":"POST","requestID":"7c27acf0-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1587,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1587,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.968498,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0e8befdd7e7025e80193d82eae165304","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676671,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0e8befdd7e7025e80193d82eae165304","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7c2a9320-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:30.998727559Z"}]},"request_id":"9f0584d0-3b9d-44d5-b7b6-5f8019c6d783","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.8263154} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0e8befdd7e7025e80193d82eae165304","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1588,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0e8befdd7e7025e80193d82eae165304"} device-1 | {"level":"info","message":"GET /devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a? 200 15ms","method":"GET","requestID":"0e8befdd7e7025e80193d82eae165304","responseTime":15,"status":200,"url":"/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0e8befdd7e7025e80193d82eae165304"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1ae88100-7f6e-48b1-9b39-93afab4ed406","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.8323529} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1588,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.753554,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c2a9320-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7c2a9320-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw","level":"info","message":"auth send jwt","requestID":"0533ea9e9d062657dfe0e9e215d6c679"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0533ea9e9d062657dfe0e9e215d6c679","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0533ea9e9d062657dfe0e9e215d6c679"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7c2a9320-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/111b9b89-a4cd-46b1-b387-484b95ccdb49/signaling 200 13ms","method":"POST","requestID":"7c2a9320-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"99b97d7a11efb367c7aacdd318784c57"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1589,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1589,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.699325,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7c2cb600-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0533ea9e9d062657dfe0e9e215d6c679","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676671,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0533ea9e9d062657dfe0e9e215d6c679","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7c2d0420-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1590,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1591,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1590,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.902861,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c2cb600-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676671,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7c2cb600-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1591,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.679043,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c2d0420-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676671,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7c2d0420-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:31.047098895Z"}]},"request_id":"be05af63-35ee-4737-b530-36378b57d912","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.8453662} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0533ea9e9d062657dfe0e9e215d6c679","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:30.998727559Z"}]},"request_id":"80ab56b5-f3ec-490d-a8c3-413a410447f6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.8487368} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0533ea9e9d062657dfe0e9e215d6c679"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7c2cb600-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:31.047098895Z"}]},"request_id":"6d96e2a3-2040-462e-95d5-0218152751e7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.849298} gateway-1 | {"time_local":"18/Sep/2024:16:24:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/111b9b89-a4cd-46b1-b387-484b95ccdb49? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0533ea9e9d062657dfe0e9e215d6c679"} device-1 | {"level":"info","message":"GET /devices/111b9b89-a4cd-46b1-b387-484b95ccdb49? 200 13ms","method":"GET","requestID":"0533ea9e9d062657dfe0e9e215d6c679","responseTime":13,"status":200,"url":"/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7c2d0420-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7c2cb600-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a? 200 13ms","method":"GET","requestID":"7c2cb600-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7c2d0420-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/111b9b89-a4cd-46b1-b387-484b95ccdb49? 200 12ms","method":"GET","requestID":"7c2d0420-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"},"level":"info","message":"Building connection plan","requestID":"99b97d7a11efb367c7aacdd318784c57"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"265282da-3ca6-4c2e-9eb4-703aac1e1071"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"e2acd623-dbf4-4de9-910e-f544436b40d6"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"18c976f8-a4a6-49fb-a2d0-a5ba67b80b09"}]},"level":"info","message":"Built pairwise service configurations","requestID":"99b97d7a11efb367c7aacdd318784c57"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"7c2f2700-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"7c2f2700-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"7c2f2700-75da-11ef-9672-db8da4810e4b","responseTime":1,"status":201,"url":"/rooms"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/65e31da0-2500-4abe-bbc4-b8bb5cf8a30c?id=151b6c34-696f-4e0b-8ffa-33546f935fcc","ws://localhost/rooms/65e31da0-2500-4abe-bbc4-b8bb5cf8a30c?id=fd065010-0783-4b32-a936-32587ab8aaed"]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"99b97d7a11efb367c7aacdd318784c57"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"7c2f9c30-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1592,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1592,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.768347,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c2f9c30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676671,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"7c2f9c30-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"819b9644-db16-4b54-a760-9efd2ab03ec8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.8693128} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"10ddf110-6e87-49c3-9f45-7fb97d55d308","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.8695536} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"7c2f9c30-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"7c2f9c30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"7c2f9c30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/fc7b6f9d-07c5-4d88-a712-fff5da5301ee'","requestID":"7c2f9c30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/fc7b6f9d-07c5-4d88-a712-fff5da5301ee'","requestID":"7c2f9c30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"7c2f9c30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 20ms","method":"POST","requestID":"7c2f9c30-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"7c2f9c30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/fc7b6f9d-07c5-4d88-a712-fff5da5301ee' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"fc7b6f9d-07c5-4d88-a712-fff5da5301ee","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"7c33e1f0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"fd065010-0783-4b32-a936-32587ab8aaed\" in room \"http://localhost/rooms/65e31da0-2500-4abe-bbc4-b8bb5cf8a30c\"","requestID":"7c33e1f0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"7c33e1f0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"7c340900-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"151b6c34-696f-4e0b-8ffa-33546f935fcc\" in room \"http://localhost/rooms/65e31da0-2500-4abe-bbc4-b8bb5cf8a30c\"","requestID":"7c340900-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"7c340900-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"fd065010-0783-4b32-a936-32587ab8aaed\" in room \"http://localhost/rooms/65e31da0-2500-4abe-bbc4-b8bb5cf8a30c\""} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"63b00f3d9afdef22624d3e72cc1e2624","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"fd065010-0783-4b32-a936-32587ab8aaed\" in room \"http://localhost/rooms/65e31da0-2500-4abe-bbc4-b8bb5cf8a30c\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"fd065010-0783-4b32-a936-32587ab8aaed\" in room \"http://localhost/rooms/65e31da0-2500-4abe-bbc4-b8bb5cf8a30c\""} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"63b00f3d9afdef22624d3e72cc1e2624","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"fd065010-0783-4b32-a936-32587ab8aaed\" in room \"http://localhost/rooms/65e31da0-2500-4abe-bbc4-b8bb5cf8a30c\""} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/fc7b6f9d-07c5-4d88-a712-fff5da5301ee"}}},"level":"info","message":"received a callback","requestID":"63b00f3d9afdef22624d3e72cc1e2624"} device-1 | {"data":{"peerconnection":"fc7b6f9d-07c5-4d88-a712-fff5da5301ee","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 10ms","method":"POST","requestID":"63b00f3d9afdef22624d3e72cc1e2624","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"63b00f3d9afdef22624d3e72cc1e2624"} device-1 | {"data":{"peerconnection":"fc7b6f9d-07c5-4d88-a712-fff5da5301ee","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"99b97d7a11efb367c7aacdd318784c57"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7c378b70-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1593,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2eb0d29a-de7b-4496-8fba-dcf32c90f8de","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.9158337} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1593,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.483123,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c378b70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7c378b70-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/fc7b6f9d-07c5-4d88-a712-fff5da5301ee' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"fc7b6f9d-07c5-4d88-a712-fff5da5301ee","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1f12e91397c91673e4c5fdac3ce2599a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"1f12e91397c91673e4c5fdac3ce2599a","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7c378b70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a/signaling 200 18ms","method":"POST","requestID":"7c378b70-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a/signaling"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/fc7b6f9d-07c5-4d88-a712-fff5da5301ee"}}},"level":"info","message":"received a callback","requestID":"1f12e91397c91673e4c5fdac3ce2599a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7c3a98b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1594,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5ac04233-c6cc-408c-8679-87883e649507","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.9361281} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"7c3b34f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1594,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.419941,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c3a98b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7c3a98b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1595,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7c3a98b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/111b9b89-a4cd-46b1-b387-484b95ccdb49/signaling 200 9ms","method":"POST","requestID":"7c3a98b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ffc7b6f9d-07c5-4d88-a712-fff5da5301ee","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"05cb9379-0c46-4fde-b43f-79bef3bebe7f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.9406338} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1595,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.337659,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/fc7b6f9d-07c5-4d88-a712-fff5da5301ee","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c3b34f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/fc7b6f9d-07c5-4d88-a712-fff5da5301ee","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7c3b34f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"7c3b34f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/fc7b6f9d-07c5-4d88-a712-fff5da5301ee 200 8ms","method":"GET","requestID":"7c3b34f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/peerconnections/fc7b6f9d-07c5-4d88-a712-fff5da5301ee"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 25ms","method":"POST","requestID":"1f12e91397c91673e4c5fdac3ce2599a","responseTime":25,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.029","http_referrer":"","http_user_agent":"node-fetch","requestID":"1f12e91397c91673e4c5fdac3ce2599a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7c3e9050-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1596,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e65818af-d81e-44fe-b3ab-c15283347e61","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.9617605} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1596,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.8005,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c3e9050-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7c3e9050-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7c3e9050-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a/signaling 200 8ms","method":"POST","requestID":"7c3e9050-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7c4016f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1597,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c70cd010-43df-4787-8157-f8ab83044d26","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676671.97134} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1597,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.119694,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c4016f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7c4016f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7c4016f0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/111b9b89-a4cd-46b1-b387-484b95ccdb49/signaling 200 8ms","method":"POST","requestID":"7c4016f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw","level":"info","message":"auth send jwt","requestID":"ecbaa805bdcefc5f745ec779c457fbc7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ecbaa805bdcefc5f745ec779c457fbc7","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a","requestID":"ecbaa805bdcefc5f745ec779c457fbc7"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1598,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1598,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.071941,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ecbaa805bdcefc5f745ec779c457fbc7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676671,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3MX0.mXZ-Rovgo5dCsvZulRRSOSx1O5fICnAIX0k_jDn88Dw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ecbaa805bdcefc5f745ec779c457fbc7","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a","requestID":"ecbaa805bdcefc5f745ec779c457fbc7"} gateway-1 | {"time_local":"18/Sep/2024:16:24:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a HTTP/1.1","status": "200","body_bytes_sent":"1293","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ecbaa805bdcefc5f745ec779c457fbc7"} experiment-1 | {"level":"info","message":"GET /experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a 200 10ms","method":"GET","requestID":"ecbaa805bdcefc5f745ec779c457fbc7","responseTime":10,"status":200,"url":"/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc","level":"info","message":"auth send jwt","requestID":"7840f88add984e2efa14c36061a3c5b1"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"7840f88add984e2efa14c36061a3c5b1","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a","requestID":"7840f88add984e2efa14c36061a3c5b1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1599,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1599,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.752778,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7840f88add984e2efa14c36061a3c5b1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676672,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7840f88add984e2efa14c36061a3c5b1","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"},"level":"info","message":"Attempting to finish experiment","requestID":"7840f88add984e2efa14c36061a3c5b1"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"7c485450-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1600,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1600,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.211188,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/fc7b6f9d-07c5-4d88-a712-fff5da5301ee","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c485450-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/fc7b6f9d-07c5-4d88-a712-fff5da5301ee","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676672,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7c485450-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:24:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/65e31da0-2500-4abe-bbc4-b8bb5cf8a30c?id=151b6c34-696f-4e0b-8ffa-33546f935fcc HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.151","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"604f695724761fd5a1cc32e304a942f3"} gateway-1 | {"time_local":"18/Sep/2024:16:24:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/65e31da0-2500-4abe-bbc4-b8bb5cf8a30c?id=fd065010-0783-4b32-a936-32587ab8aaed HTTP/1.1","status": "101","body_bytes_sent":"458","request_time":"0.151","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"2cc27b522622b1bef29e8ffe23e5169d"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"151b6c34-696f-4e0b-8ffa-33546f935fcc\" in room \"http://localhost/rooms/65e31da0-2500-4abe-bbc4-b8bb5cf8a30c\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"151b6c34-696f-4e0b-8ffa-33546f935fcc\" from room \"http://localhost/rooms/65e31da0-2500-4abe-bbc4-b8bb5cf8a30c\""} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"fd065010-0783-4b32-a936-32587ab8aaed\" in room \"http://localhost/rooms/65e31da0-2500-4abe-bbc4-b8bb5cf8a30c\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"fd065010-0783-4b32-a936-32587ab8aaed\" from room \"http://localhost/rooms/65e31da0-2500-4abe-bbc4-b8bb5cf8a30c\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/fc7b6f9d-07c5-4d88-a712-fff5da5301ee' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/fc7b6f9d-07c5-4d88-a712-fff5da5301ee' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"fc7b6f9d-07c5-4d88-a712-fff5da5301ee","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ffc7b6f9d-07c5-4d88-a712-fff5da5301ee': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ffc7b6f9d-07c5-4d88-a712-fff5da5301ee","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"32524b9a-c226-4cf0-bfbb-72d36fcdc40c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.0434594} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"241dd39b8696bdcb1d1d191e5df9a677","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"241dd39b8696bdcb1d1d191e5df9a677","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6a53fc778149061daf4b1e29c9dc8310","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"6a53fc778149061daf4b1e29c9dc8310","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/fc7b6f9d-07c5-4d88-a712-fff5da5301ee"}}},"level":"info","message":"received a callback","requestID":"241dd39b8696bdcb1d1d191e5df9a677"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/fc7b6f9d-07c5-4d88-a712-fff5da5301ee"}}},"level":"info","message":"received a callback","requestID":"6a53fc778149061daf4b1e29c9dc8310"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6cd34a7b-41ba-44ba-81b8-51202b2f2058","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.0478902} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"7c485450-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"fc7b6f9d-07c5-4d88-a712-fff5da5301ee","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"7c485450-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/fc7b6f9d-07c5-4d88-a712-fff5da5301ee 204 44ms","method":"DELETE","requestID":"7c485450-75da-11ef-ba7c-09eaa4331ae1","responseTime":44,"status":204,"url":"/peerconnections/fc7b6f9d-07c5-4d88-a712-fff5da5301ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"},"level":"info","message":"Successfully finished experiment","requestID":"7840f88add984e2efa14c36061a3c5b1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7c5302b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1601,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd8f5e18e-15e1-4266-bffb-b45ba229f30a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"24cc7b45-0cc0-4e5c-8c72-d57e41a7e9a4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.0986521} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1601,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.110968,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c5302b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7c5302b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7c5302b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a/signaling 200 15ms","method":"POST","requestID":"7c5302b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F37bdf1fe-1aca-4893-9191-21b0093b0f4a': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F37bdf1fe-1aca-4893-9191-21b0093b0f4a","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"6bc7bd1c-8ef8-4332-9360-8f85a49a822c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.108175} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6e281835-fdbe-41df-b27a-94a40ebbeecb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.1086218} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7c55e8e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"7840f88add984e2efa14c36061a3c5b1","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1602,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F111b9b89-a4cd-46b1-b387-484b95ccdb49","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7e9f07ae-b9a0-4b99-80d0-937c7e817cc3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.1170602} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1602,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.944451,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7c55e8e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"7c55e8e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7c55e8e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/111b9b89-a4cd-46b1-b387-484b95ccdb49/signaling 200 14ms","method":"POST","requestID":"7c55e8e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a","requestID":"7840f88add984e2efa14c36061a3c5b1"} gateway-1 | {"time_local":"18/Sep/2024:16:24:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.172","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7840f88add984e2efa14c36061a3c5b1"} experiment-1 | {"level":"info","message":"DELETE /experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a 204 170ms","method":"DELETE","requestID":"7840f88add984e2efa14c36061a3c5b1","responseTime":170,"status":204,"url":"/experiments/37bdf1fe-1aca-4893-9191-21b0093b0f4a"} gateway-1 | {"time_local":"18/Sep/2024:16:24:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2070","request_time":"0.590","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"7cbcf1ba7bffe18c3bd39ed5529ea43a"} gateway-1 | {"time_local":"18/Sep/2024:16:24:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2067","request_time":"0.602","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"a970b3e4b5dfc02795daf81b92f5e8f8"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 137ms","method":"POST","requestID":"241dd39b8696bdcb1d1d191e5df9a677","responseTime":137,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.141","http_referrer":"","http_user_agent":"node-fetch","requestID":"241dd39b8696bdcb1d1d191e5df9a677"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 135ms","method":"POST","requestID":"6a53fc778149061daf4b1e29c9dc8310","responseTime":135,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.140","http_referrer":"","http_user_agent":"node-fetch","requestID":"6a53fc778149061daf4b1e29c9dc8310"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc","level":"info","message":"auth send jwt","requestID":"e928ceacb901dc88bd045a0d983a1e15"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e928ceacb901dc88bd045a0d983a1e15","responseTime":3,"status":200,"url":"/auth"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/111b9b89-a4cd-46b1-b387-484b95ccdb49' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"e928ceacb901dc88bd045a0d983a1e15"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1603,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1603,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.923627,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e928ceacb901dc88bd045a0d983a1e15","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676672,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e928ceacb901dc88bd045a0d983a1e15","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/d8f5e18e-15e1-4266-bffb-b45ba229f30a' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"2b11ccf9-08fb-47f9-a68a-25f70beecfc7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.2099388} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e928ceacb901dc88bd045a0d983a1e15","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"db925045-2f31-446b-8ece-54d077ca2236","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.2157402} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"e928ceacb901dc88bd045a0d983a1e15","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"d7bb713e-ae0d-4932-a2b2-8230c3ee10f3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.2272546} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5f61940e-7d77-4177-b24d-d71419b639b4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.2274523} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"e928ceacb901dc88bd045a0d983a1e15","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:32.227216242Z"}]},"request_id":"a4138ef5-fff0-45f3-b62e-ec48ff84ade9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.232279} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e928ceacb901dc88bd045a0d983a1e15","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e928ceacb901dc88bd045a0d983a1e15"} gateway-1 | {"time_local":"18/Sep/2024:16:24:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.054","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e928ceacb901dc88bd045a0d983a1e15"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"e928ceacb901dc88bd045a0d983a1e15","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc","level":"info","message":"auth send jwt","requestID":"3f903823ca7e4bd37d9d2b4e037e3dda"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3f903823ca7e4bd37d9d2b4e037e3dda","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"3f903823ca7e4bd37d9d2b4e037e3dda"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1604,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1604,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.907037,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3f903823ca7e4bd37d9d2b4e037e3dda","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676672,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3f903823ca7e4bd37d9d2b4e037e3dda","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"1f037f9c-61e2-4d37-aa94-8d5a02898cf4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.2573879} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3f903823ca7e4bd37d9d2b4e037e3dda","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d321d255-41e6-4fff-b291-b2e6acd62f59","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.262487} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"3f903823ca7e4bd37d9d2b4e037e3dda","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"3efa433b-766d-4d18-8426-0446857a61fc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.2790298} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"750016e1-3f8f-46f8-aad5-4d0fbd57b376","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.27915} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"3f903823ca7e4bd37d9d2b4e037e3dda","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:32.278979324Z"}]},"request_id":"447b7b0f-1906-4126-8181-bab93343e8b2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.2838228} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3f903823ca7e4bd37d9d2b4e037e3dda","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"3f903823ca7e4bd37d9d2b4e037e3dda"} gateway-1 | {"time_local":"18/Sep/2024:16:24:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"445","request_time":"0.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3f903823ca7e4bd37d9d2b4e037e3dda"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"3f903823ca7e4bd37d9d2b4e037e3dda","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc","level":"info","message":"auth send jwt","requestID":"a330e7d904ea2d74a7f5f6843a7077b1"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a330e7d904ea2d74a7f5f6843a7077b1","responseTime":4,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc","level":"info","message":"auth send jwt","requestID":"15df959861ebd435ab68a4a7529f4697"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"15df959861ebd435ab68a4a7529f4697","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"a330e7d904ea2d74a7f5f6843a7077b1"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"15df959861ebd435ab68a4a7529f4697"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1605,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1605,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.689445,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a330e7d904ea2d74a7f5f6843a7077b1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676672,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a330e7d904ea2d74a7f5f6843a7077b1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1606,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1606,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.624993,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"15df959861ebd435ab68a4a7529f4697","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676672,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"15df959861ebd435ab68a4a7529f4697","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:32.227216242Z"}]},"request_id":"b4cd7b91-1873-440c-a51b-dd2266911db4","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.7584155} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a330e7d904ea2d74a7f5f6843a7077b1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:32.278979324Z"}]},"request_id":"c46f00b9-bad9-41c9-9c1d-4bc75ac95748","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.759686} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"15df959861ebd435ab68a4a7529f4697","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"75e57734-9c91-4bb6-8e1f-d913d4e9fdf1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.7643976} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"a330e7d904ea2d74a7f5f6843a7077b1","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6bb20001-145e-44db-9e8a-bcb446e01304","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.7654421} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"15df959861ebd435ab68a4a7529f4697","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:32.278979324Z"}]},"request_id":"f1611f63-185e-4d80-9d75-04bfa3e38449","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.771545} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"15df959861ebd435ab68a4a7529f4697","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"15df959861ebd435ab68a4a7529f4697"} gateway-1 | {"time_local":"18/Sep/2024:16:24:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.032","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"15df959861ebd435ab68a4a7529f4697"} device-1 | {"level":"info","message":"PATCH /devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e 200 24ms","method":"PATCH","requestID":"15df959861ebd435ab68a4a7529f4697","responseTime":24,"status":200,"url":"/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc","level":"info","message":"auth send jwt","requestID":"82e29c1061bfbe83a1d586c23e0b8c0a"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:32.227216242Z"}]},"request_id":"a66052a0-afd8-4654-94be-856bfb09a994","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.7776554} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"82e29c1061bfbe83a1d586c23e0b8c0a","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"82e29c1061bfbe83a1d586c23e0b8c0a"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a330e7d904ea2d74a7f5f6843a7077b1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"a330e7d904ea2d74a7f5f6843a7077b1"} gateway-1 | {"time_local":"18/Sep/2024:16:24:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51 HTTP/1.1","status": "200","body_bytes_sent":"1340","request_time":"0.039","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"a330e7d904ea2d74a7f5f6843a7077b1"} device-1 | {"level":"info","message":"PATCH /devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51 200 34ms","method":"PATCH","requestID":"a330e7d904ea2d74a7f5f6843a7077b1","responseTime":34,"status":200,"url":"/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1607,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1607,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.896722,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"82e29c1061bfbe83a1d586c23e0b8c0a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676672,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"82e29c1061bfbe83a1d586c23e0b8c0a","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc","level":"info","message":"auth send jwt","requestID":"50fb975c67a1827ab46afb835d739440"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"50fb975c67a1827ab46afb835d739440","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"50fb975c67a1827ab46afb835d739440"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1608,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1608,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.988686,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"50fb975c67a1827ab46afb835d739440","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676672,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"50fb975c67a1827ab46afb835d739440","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"82e29c1061bfbe83a1d586c23e0b8c0a"} gateway-1 | {"time_local":"18/Sep/2024:16:24:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.024","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"82e29c1061bfbe83a1d586c23e0b8c0a"} device-1 | {"level":"info","message":"POST /devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e/websocket 200 20ms","method":"POST","requestID":"82e29c1061bfbe83a1d586c23e0b8c0a","responseTime":20,"status":200,"url":"/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"50fb975c67a1827ab46afb835d739440"} gateway-1 | {"time_local":"18/Sep/2024:16:24:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"50fb975c67a1827ab46afb835d739440"} device-1 | {"level":"info","message":"POST /devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51/websocket 200 21ms","method":"POST","requestID":"50fb975c67a1827ab46afb835d739440","responseTime":21,"status":200,"url":"/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc","level":"info","message":"auth send jwt","requestID":"9775345fdf0604658e935b7a1d377dce"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9775345fdf0604658e935b7a1d377dce","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9775345fdf0604658e935b7a1d377dce"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1609,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1609,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.701027,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"9775345fdf0604658e935b7a1d377dce","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676672,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9775345fdf0604658e935b7a1d377dce","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:32.227216242Z"}]},"request_id":"1c2b3f68-015a-4dff-98b5-b77278fe12cc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.8410356} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9775345fdf0604658e935b7a1d377dce","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9775345fdf0604658e935b7a1d377dce"} gateway-1 | {"time_local":"18/Sep/2024:16:24:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9775345fdf0604658e935b7a1d377dce"} device-1 | {"level":"info","message":"GET /devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51? 200 13ms","method":"GET","requestID":"9775345fdf0604658e935b7a1d377dce","responseTime":13,"status":200,"url":"/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc","level":"info","message":"auth send jwt","requestID":"d10fcb8fd75da973a43d3aa8d5e71b44"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d10fcb8fd75da973a43d3aa8d5e71b44","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d10fcb8fd75da973a43d3aa8d5e71b44"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1610,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1610,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.71376,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d10fcb8fd75da973a43d3aa8d5e71b44","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676672,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d10fcb8fd75da973a43d3aa8d5e71b44","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:32.278979324Z"}]},"request_id":"fa759fae-ce22-4e46-a20c-432dc2391d39","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.8588693} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d10fcb8fd75da973a43d3aa8d5e71b44","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d10fcb8fd75da973a43d3aa8d5e71b44"} gateway-1 | {"time_local":"18/Sep/2024:16:24:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d10fcb8fd75da973a43d3aa8d5e71b44"} device-1 | {"level":"info","message":"GET /devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e? 200 11ms","method":"GET","requestID":"d10fcb8fd75da973a43d3aa8d5e71b44","responseTime":11,"status":200,"url":"/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc","level":"info","message":"auth send jwt","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"31a57c3727e1b4fb80bddeb56e968fc9","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1611,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1611,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.644841,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"31a57c3727e1b4fb80bddeb56e968fc9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676672,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"31a57c3727e1b4fb80bddeb56e968fc9","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"},"level":"info","message":"Attempting to run experiment","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"},"level":"info","message":"Attempting to book experiment","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"},"level":"info","message":"Successfully booked experiment","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7cce2620-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7cce4d30-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1612,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1612,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.93447,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7cce2620-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676672,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7cce2620-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1613,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1613,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.886572,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7cce4d30-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676672,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7cce4d30-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:32.227216242Z"}]},"request_id":"199b2bdd-94ac-4259-b165-da1b0d2f9d81","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.9067118} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7cce2620-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:32.278979324Z"}]},"request_id":"81f3ba2c-863b-49ec-bfdf-b4a892d80bf3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.9074066} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7cce4d30-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7cce2620-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51? 200 13ms","method":"GET","requestID":"7cce2620-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7cce4d30-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e? 200 13ms","method":"GET","requestID":"7cce4d30-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"},"level":"info","message":"Setting up experiment","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"},"level":"info","message":"Successfully locked booking for experiment","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"},"level":"info","message":"Attempting to update booking for experiment","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"},"level":"info","message":"Successfully updated booking for experiment","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"},"level":"info","message":"Successfully set up experiment","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7cd7ea20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7cd81130-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7cd85f50-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"},"level":"info","message":"Successfully running experiment","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1614,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1614,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.861137,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1615,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7cd7ea20-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676672,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7cd7ea20-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1615,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.641042,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"client_addr":"127.0.0.1:55260","level":"info","msg":"Received request.","req_id":1616,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7cd81130-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676672,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7cd81130-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:55260","level":"info","msg":"Sent response.","req_id":1616,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.442957,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3ae2751c-7a2b-4448-a8fc-90129560d301","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.9713793} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7cd85f50-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7cd85f50-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:32.227216242Z"}]},"request_id":"28ab6eb6-fce9-49ea-97b7-e218e028ec33","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.975069} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"7cd7ea20-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:32.278979324Z"}]},"request_id":"871b1881-7bf1-4542-94f0-d5f37c873e5b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.9782012} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7cd81130-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7cd85f50-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51/signaling 200 14ms","method":"POST","requestID":"7cd85f50-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7cdb1e70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7cd7ea20-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51? 200 24ms","method":"GET","requestID":"7cd7ea20-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7cd81130-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e? 200 24ms","method":"GET","requestID":"7cd81130-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1617,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b50e40c1-7cb4-4006-ade5-968cf6374ef1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.9899707} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7cdc2fe0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb16fc0ee-11c3-421d-9b66-723ee2bb8bcd#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb16fc0ee-11c3-421d-9b66-723ee2bb8bcd","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"8e45487f-2845-4f98-a111-3aa93f447553","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.9906657} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7ad41358-7251-4544-9555-2d656dc09759","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.9908297} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1617,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.4199,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7cdb1e70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7cdb1e70-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"31a57c3727e1b4fb80bddeb56e968fc9","responseTime":24,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7cdb1e70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e/signaling 200 13ms","method":"POST","requestID":"7cdb1e70-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e/signaling"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1618,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:32Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c9cb90cc-c326-4142-bd54-3d1cb2a9a298","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676672.999425} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1618,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.406479,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7cdc2fe0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"7cdc2fe0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} experiment-1 | {"level":"info","message":"POST /experiments? 201 137ms","method":"POST","requestID":"31a57c3727e1b4fb80bddeb56e968fc9","responseTime":137,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7cdc2fe0-75da-11ef-ba7c-09eaa4331ae1"} gateway-1 | {"time_local":"18/Sep/2024:16:24:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1220","request_time":"0.141","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} device-1 | {"level":"info","message":"POST /devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51/signaling 200 15ms","method":"POST","requestID":"7cdc2fe0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7cdec7f0-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3M30.KhvS-nJR2f-ge2nQvAP5yH-d0u9V0pETnCko6v6XQpw","level":"info","message":"auth send jwt","requestID":"7f20aa929a5f2d4f3d87a95472bce67c"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"7f20aa929a5f2d4f3d87a95472bce67c","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7f20aa929a5f2d4f3d87a95472bce67c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1619,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1620,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9ce36cc1-6d14-4af8-a154-7f63b74b4192","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.0116203} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1620,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.752765,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7f20aa929a5f2d4f3d87a95472bce67c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676673,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3M30.KhvS-nJR2f-ge2nQvAP5yH-d0u9V0pETnCko6v6XQpw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7f20aa929a5f2d4f3d87a95472bce67c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1619,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.30826,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7cdec7f0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7cdec7f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:32.227216242Z"}]},"request_id":"94bf23eb-4195-4b7f-9ec0-17448821619f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.0162292} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7cdec7f0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7f20aa929a5f2d4f3d87a95472bce67c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"POST /devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e/signaling 200 10ms","method":"POST","requestID":"7cdec7f0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7ce09cb0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7ce0c3c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7f20aa929a5f2d4f3d87a95472bce67c"} device-1 | {"level":"info","message":"GET /devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51? 200 12ms","method":"GET","requestID":"7f20aa929a5f2d4f3d87a95472bce67c","responseTime":12,"status":200,"url":"/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7f20aa929a5f2d4f3d87a95472bce67c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1621,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1621,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.873741,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1622,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7ce09cb0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676672,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7ce09cb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1622,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.541808,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7ce0c3c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676672,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7ce0c3c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3M30.KhvS-nJR2f-ge2nQvAP5yH-d0u9V0pETnCko6v6XQpw","level":"info","message":"auth send jwt","requestID":"f137080f6d2323e3e036720f240cbd3c"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f137080f6d2323e3e036720f240cbd3c","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f137080f6d2323e3e036720f240cbd3c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:32.227216242Z"}]},"request_id":"20988023-c493-49f9-a220-7fc7fa8b83d8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.0262341} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7ce09cb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:32.278979324Z"}]},"request_id":"c2eb2f24-b003-4392-92fb-b2dae51c0815","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.0270643} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7ce0c3c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7ce09cb0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1623,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1623,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.684131,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} device-1 | {"level":"info","message":"GET /devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51? 200 11ms","method":"GET","requestID":"7ce09cb0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51?"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f137080f6d2323e3e036720f240cbd3c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676673,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3M30.KhvS-nJR2f-ge2nQvAP5yH-d0u9V0pETnCko6v6XQpw"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"f137080f6d2323e3e036720f240cbd3c","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7ce0c3c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e? 200 13ms","method":"GET","requestID":"7ce0c3c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:32.278979324Z"}]},"request_id":"c9e482f8-90be-4868-9b9c-272a4d4562aa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.0337286} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"},"level":"info","message":"Building connection plan","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device1","serviceId":"electrical","uuid":"6826afd5-3547-4021-bdec-068ffe8b3a95"},{"config":{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}]},"role":"device2","serviceId":"electrical","uuid":"c8a5c1eb-005b-4d3e-89d6-e4dfe6fca095"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"8159c1b9-b9d9-49e9-b448-31e26cd081f5"}]},"level":"info","message":"Built pairwise service configurations","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f137080f6d2323e3e036720f240cbd3c","responseTime":2,"status":200,"url":"/relations/query"} forwarding-1 | {"level":"info","message":"postRooms called","requestID":"7ce30db0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"postRooms succeeded","requestID":"7ce30db0-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"POST /rooms 201 1ms","method":"POST","requestID":"7ce30db0-75da-11ef-9672-db8da4810e4b","responseTime":1,"status":201,"url":"/rooms"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f137080f6d2323e3e036720f240cbd3c"} device-1 | {"level":"info","message":"GET /devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e? 200 11ms","method":"GET","requestID":"f137080f6d2323e3e036720f240cbd3c","responseTime":11,"status":200,"url":"/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e? HTTP/1.1","status": "200","body_bytes_sent":"1339","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f137080f6d2323e3e036720f240cbd3c"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"webSocketUrls":["ws://localhost/rooms/f742feae-e186-45f9-be2c-3b590e822ba1?id=d214eb51-2e98-4506-90e3-099039fa084f","ws://localhost/rooms/f742feae-e186-45f9-be2c-3b590e822ba1?id=fe327b6c-4c39-4c95-a728-4f633a9d4927"]},"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51"}],"type":"websocket"}]},"level":"info","message":"Built connection plan","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"7ce382e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1624,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1624,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.149004,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7ce382e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676672,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Mn0.IBoMB5mnjlDfvtEUXDw0kXybr4zwCRG8x0A4Dw2G9Pc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7ce382e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"49383e91-5ad4-421a-9692-363a44f4521d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.050766} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"da2abf84-ebcb-421e-a9da-2f52deb05a2a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.0511081} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"7ce382e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"7ce382e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"7ce382e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/98740587-5a9a-46b0-a175-d765f7977717'","requestID":"7ce382e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/98740587-5a9a-46b0-a175-d765f7977717'","requestID":"7ce382e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"7ce382e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 26ms","method":"POST","requestID":"7ce382e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"7ce382e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/98740587-5a9a-46b0-a175-d765f7977717' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"98740587-5a9a-46b0-a175-d765f7977717","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"7ce94f40-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"d214eb51-2e98-4506-90e3-099039fa084f\" in room \"http://localhost/rooms/f742feae-e186-45f9-be2c-3b590e822ba1\"","requestID":"7ce94f40-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"7ce94f40-75da-11ef-9672-db8da4810e4b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"05afa5d18cb3c5d84074a775c8f13cb7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"05afa5d18cb3c5d84074a775c8f13cb7","responseTime":1,"status":200,"url":"/auth"} forwarding-1 | {"level":"info","message":"A new connection has been established!","requestID":"7ce97650-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"fe327b6c-4c39-4c95-a728-4f633a9d4927\" in room \"http://localhost/rooms/f742feae-e186-45f9-be2c-3b590e822ba1\"","requestID":"7ce97650-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"The newly established connection was handled successfully!","requestID":"7ce97650-75da-11ef-9672-db8da4810e4b"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"d214eb51-2e98-4506-90e3-099039fa084f\" in room \"http://localhost/rooms/f742feae-e186-45f9-be2c-3b590e822ba1\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"d214eb51-2e98-4506-90e3-099039fa084f\" in room \"http://localhost/rooms/f742feae-e186-45f9-be2c-3b590e822ba1\""} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51"}],"status":"connecting","type":"websocket","url":"http://localhost/peerconnections/98740587-5a9a-46b0-a175-d765f7977717"}}},"level":"info","message":"received a callback","requestID":"05afa5d18cb3c5d84074a775c8f13cb7"} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"d214eb51-2e98-4506-90e3-099039fa084f\" in room \"http://localhost/rooms/f742feae-e186-45f9-be2c-3b590e822ba1\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"d214eb51-2e98-4506-90e3-099039fa084f\" in room \"http://localhost/rooms/f742feae-e186-45f9-be2c-3b590e822ba1\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"d214eb51-2e98-4506-90e3-099039fa084f\" in room \"http://localhost/rooms/f742feae-e186-45f9-be2c-3b590e822ba1\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"d214eb51-2e98-4506-90e3-099039fa084f\" in room \"http://localhost/rooms/f742feae-e186-45f9-be2c-3b590e822ba1\""} forwarding-1 | {"level":"info","message":"Starting forwarding-queue for participant \"d214eb51-2e98-4506-90e3-099039fa084f\" in room \"http://localhost/rooms/f742feae-e186-45f9-be2c-3b590e822ba1\""} forwarding-1 | {"level":"info","message":"Waiting for new messages in forwarding-queue for participant \"d214eb51-2e98-4506-90e3-099039fa084f\" in room \"http://localhost/rooms/f742feae-e186-45f9-be2c-3b590e822ba1\""} device-1 | {"data":{"peerconnection":"98740587-5a9a-46b0-a175-d765f7977717","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"05afa5d18cb3c5d84074a775c8f13cb7","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"05afa5d18cb3c5d84074a775c8f13cb7"} device-1 | {"data":{"peerconnection":"98740587-5a9a-46b0-a175-d765f7977717","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"31a57c3727e1b4fb80bddeb56e968fc9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7ced9500-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1625,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2113dbea-b46f-4894-966c-01d928839ba1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.1087725} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1625,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.632769,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/98740587-5a9a-46b0-a175-d765f7977717' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"98740587-5a9a-46b0-a175-d765f7977717","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7ced9500-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7ced9500-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f8f0bda066b6416b8a743f56c026fa46","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f8f0bda066b6416b8a743f56c026fa46","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51"}],"status":"connected","type":"websocket","url":"http://localhost/peerconnections/98740587-5a9a-46b0-a175-d765f7977717"}}},"level":"info","message":"received a callback","requestID":"f8f0bda066b6416b8a743f56c026fa46"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7ced9500-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51/signaling 200 9ms","method":"POST","requestID":"7ced9500-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7cef42b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1626,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:33Z"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"7cefb7e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b28685c9-2d24-47c2-9385-9b41c369cdd6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.1199055} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1626,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.315994,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1627,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7cef42b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7cef42b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F98740587-5a9a-46b0-a175-d765f7977717","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2f1237fd-5a07-4f2d-987a-896b8ebfa088","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.122153} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1627,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.015694,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/98740587-5a9a-46b0-a175-d765f7977717","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7cefb7e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/98740587-5a9a-46b0-a175-d765f7977717","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7cefb7e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7cef42b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e/signaling 200 10ms","method":"POST","requestID":"7cef42b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e/signaling"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"7cefb7e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/98740587-5a9a-46b0-a175-d765f7977717 200 8ms","method":"GET","requestID":"7cefb7e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/peerconnections/98740587-5a9a-46b0-a175-d765f7977717"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 27ms","method":"POST","requestID":"f8f0bda066b6416b8a743f56c026fa46","responseTime":27,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.030","http_referrer":"","http_user_agent":"node-fetch","requestID":"f8f0bda066b6416b8a743f56c026fa46"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7cf31340-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1628,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4debf7ff-460b-40c4-bee7-507adbfc4404","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.1450915} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1628,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.593123,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7cf31340-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7cf31340-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7cf31340-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e/signaling 200 9ms","method":"POST","requestID":"7cf31340-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7cf499e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1629,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c027eae7-32bf-4145-be3d-f395bb762d5e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.1548586} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1629,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.679047,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7cf499e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7cf499e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7cf499e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51/signaling 200 8ms","method":"POST","requestID":"7cf499e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3M30.KhvS-nJR2f-ge2nQvAP5yH-d0u9V0pETnCko6v6XQpw","level":"info","message":"auth send jwt","requestID":"ca3a91a38d12cc35a321be708deff8f3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ca3a91a38d12cc35a321be708deff8f3","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd","requestID":"ca3a91a38d12cc35a321be708deff8f3"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1630,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1630,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.016581,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ca3a91a38d12cc35a321be708deff8f3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676673,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3M30.KhvS-nJR2f-ge2nQvAP5yH-d0u9V0pETnCko6v6XQpw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ca3a91a38d12cc35a321be708deff8f3","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd","requestID":"ca3a91a38d12cc35a321be708deff8f3"} gateway-1 | {"time_local":"18/Sep/2024:16:24:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd HTTP/1.1","status": "200","body_bytes_sent":"1293","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ca3a91a38d12cc35a321be708deff8f3"} experiment-1 | {"level":"info","message":"GET /experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd 200 13ms","method":"GET","requestID":"ca3a91a38d12cc35a321be708deff8f3","responseTime":13,"status":200,"url":"/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3M30.KhvS-nJR2f-ge2nQvAP5yH-d0u9V0pETnCko6v6XQpw","level":"info","message":"auth send jwt","requestID":"a635298de0b34cddbc14e7f4b9fd8372"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a635298de0b34cddbc14e7f4b9fd8372","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd","requestID":"a635298de0b34cddbc14e7f4b9fd8372"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1631,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1631,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.249159,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"a635298de0b34cddbc14e7f4b9fd8372","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676673,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3M30.KhvS-nJR2f-ge2nQvAP5yH-d0u9V0pETnCko6v6XQpw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a635298de0b34cddbc14e7f4b9fd8372","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"},"level":"info","message":"Attempting to finish experiment","requestID":"a635298de0b34cddbc14e7f4b9fd8372"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"7cfed310-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1632,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1632,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":2.233644,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/98740587-5a9a-46b0-a175-d765f7977717","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7cfed310-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/98740587-5a9a-46b0-a175-d765f7977717","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676673,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3M30.KhvS-nJR2f-ge2nQvAP5yH-d0u9V0pETnCko6v6XQpw"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7cfed310-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"18/Sep/2024:16:24:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/f742feae-e186-45f9-be2c-3b590e822ba1?id=d214eb51-2e98-4506-90e3-099039fa084f HTTP/1.1","status": "101","body_bytes_sent":"916","request_time":"0.160","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"5dd268d55a2feaadee4e5e7b44417ef2"} gateway-1 | {"time_local":"18/Sep/2024:16:24:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /rooms/f742feae-e186-45f9-be2c-3b590e822ba1?id=fe327b6c-4c39-4c95-a728-4f633a9d4927 HTTP/1.1","status": "101","body_bytes_sent":"0","request_time":"0.160","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"9353942b1fc23b208cabdb79f176b5ab"} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"d214eb51-2e98-4506-90e3-099039fa084f\" in room \"http://localhost/rooms/f742feae-e186-45f9-be2c-3b590e822ba1\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"d214eb51-2e98-4506-90e3-099039fa084f\" from room \"http://localhost/rooms/f742feae-e186-45f9-be2c-3b590e822ba1\""} forwarding-1 | {"level":"info","message":"Stopping forwarding-queue for participant \"fe327b6c-4c39-4c95-a728-4f633a9d4927\" in room \"http://localhost/rooms/f742feae-e186-45f9-be2c-3b590e822ba1\""} forwarding-1 | {"level":"info","message":"websocket connection closed for participant \"fe327b6c-4c39-4c95-a728-4f633a9d4927\" from room \"http://localhost/rooms/f742feae-e186-45f9-be2c-3b590e822ba1\""} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/98740587-5a9a-46b0-a175-d765f7977717' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/98740587-5a9a-46b0-a175-d765f7977717' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"98740587-5a9a-46b0-a175-d765f7977717","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e53f14dcd71ceb15204de49db17c2c47","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"e53f14dcd71ceb15204de49db17c2c47","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F98740587-5a9a-46b0-a175-d765f7977717': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F98740587-5a9a-46b0-a175-d765f7977717","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"034d0958-657c-4773-bc74-6532f0116e44","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.24159} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0418344e54ecb2ad1af945d74049f08c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0418344e54ecb2ad1af945d74049f08c","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/98740587-5a9a-46b0-a175-d765f7977717"}}},"level":"info","message":"received a callback","requestID":"e53f14dcd71ceb15204de49db17c2c47"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"879f795a-4f94-4d6d-97b4-e7ff1738cd19","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.2425275} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"7cfed310-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e"},{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["A1","A2","A3","A4","A5","A6","A7","A8","B1","B2","B3","B4","B5","B6","B7","B8","C1","C2","C3","C4","C5","C6","C7","C8","D1","D2","D3","D4","D5","D6","D7","D8","E1","E2","E3","E4","E5","E6","E7","E8","F1","F2","F3","F4","F5","F6","F7","F8","G1","G2","G3","G4","G5","G6","G7","G8","H1","H2","H3","H4","H5","H6","H7","H8"]},"direction":"inout","interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["websocket"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51"}],"status":"closed","type":"websocket","url":"http://localhost/peerconnections/98740587-5a9a-46b0-a175-d765f7977717"}}},"level":"info","message":"received a callback","requestID":"0418344e54ecb2ad1af945d74049f08c"} device-1 | {"data":{"peerconnection":"98740587-5a9a-46b0-a175-d765f7977717","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"7cfed310-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/98740587-5a9a-46b0-a175-d765f7977717 204 45ms","method":"DELETE","requestID":"7cfed310-75da-11ef-ba7c-09eaa4331ae1","responseTime":45,"status":204,"url":"/peerconnections/98740587-5a9a-46b0-a175-d765f7977717"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"},"level":"info","message":"Successfully finished experiment","requestID":"a635298de0b34cddbc14e7f4b9fd8372"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7d093350-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1633,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f44c32f1-ff5c-471d-a227-e33b1f3507d6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.2924314} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1633,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.950931,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7d093350-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"7d093350-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7d093350-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e/signaling 200 14ms","method":"POST","requestID":"7d093350-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb16fc0ee-11c3-421d-9b66-723ee2bb8bcd': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb16fc0ee-11c3-421d-9b66-723ee2bb8bcd","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"34b0e6d8-455d-4622-b2bd-bd6fda35825a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.3012738} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7d0bcb60-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b9673723-c21e-40cf-85cf-a7097556c340","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.3017876} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"a635298de0b34cddbc14e7f4b9fd8372","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1634,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4b0cb018-4cd0-438a-92b9-e07c5258416d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.309447} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1634,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.91712,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7d0bcb60-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"7d0bcb60-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7d0bcb60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51/signaling 200 14ms","method":"POST","requestID":"7d0bcb60-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd","requestID":"a635298de0b34cddbc14e7f4b9fd8372"} gateway-1 | {"time_local":"18/Sep/2024:16:24:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.173","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a635298de0b34cddbc14e7f4b9fd8372"} experiment-1 | {"level":"info","message":"DELETE /experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd 204 170ms","method":"DELETE","requestID":"a635298de0b34cddbc14e7f4b9fd8372","responseTime":170,"status":204,"url":"/experiments/b16fc0ee-11c3-421d-9b66-723ee2bb8bcd"} gateway-1 | {"time_local":"18/Sep/2024:16:24:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2069","request_time":"0.566","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"68b2f9a706969a57bafc78969c12b626"} gateway-1 | {"time_local":"18/Sep/2024:16:24:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2068","request_time":"0.576","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"f80f7853b7c9baba625549bb1a9ec3b6"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 138ms","method":"POST","requestID":"e53f14dcd71ceb15204de49db17c2c47","responseTime":138,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.142","http_referrer":"","http_user_agent":"node-fetch","requestID":"e53f14dcd71ceb15204de49db17c2c47"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3M30.KhvS-nJR2f-ge2nQvAP5yH-d0u9V0pETnCko6v6XQpw","level":"info","message":"auth send jwt","requestID":"c7ff99285fa4622fef27fcbc2865a84e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 137ms","method":"POST","requestID":"0418344e54ecb2ad1af945d74049f08c","responseTime":137,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.143","http_referrer":"","http_user_agent":"node-fetch","requestID":"0418344e54ecb2ad1af945d74049f08c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c7ff99285fa4622fef27fcbc2865a84e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/7c7ef9cb-45ca-4ff3-bd2e-51fc76d8f22e' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"c7ff99285fa4622fef27fcbc2865a84e"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1635,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1635,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.968873,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"c7ff99285fa4622fef27fcbc2865a84e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676673,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3M30.KhvS-nJR2f-ge2nQvAP5yH-d0u9V0pETnCko6v6XQpw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c7ff99285fa4622fef27fcbc2865a84e","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/40dff454-6eeb-4e9e-a7b9-acb7c4a12e51' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"486692a2-0b71-469b-adc6-70901ff22d0c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.4051633} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c7ff99285fa4622fef27fcbc2865a84e","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8da9727c-32eb-42da-8be6-75a7439225c1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.411714} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"c7ff99285fa4622fef27fcbc2865a84e","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"b4d66bf4-d131-44e7-ac97-fef27b4c91ce","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.4227538} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"12ea823f-d5ba-439b-88bc-7844063c1544","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.422861} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"c7ff99285fa4622fef27fcbc2865a84e","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:33.422694567Z"}]},"request_id":"3ddad93e-2c93-44b8-a575-d11d881c404d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.4283645} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c7ff99285fa4622fef27fcbc2865a84e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c7ff99285fa4622fef27fcbc2865a84e"} gateway-1 | {"time_local":"18/Sep/2024:16:24:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c7ff99285fa4622fef27fcbc2865a84e"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"c7ff99285fa4622fef27fcbc2865a84e","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3M30.KhvS-nJR2f-ge2nQvAP5yH-d0u9V0pETnCko6v6XQpw","level":"info","message":"auth send jwt","requestID":"f49df7f4e6e2fbec16491c6bbd5de804"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f49df7f4e6e2fbec16491c6bbd5de804","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"f49df7f4e6e2fbec16491c6bbd5de804"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1636,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1636,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.801352,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:33Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f49df7f4e6e2fbec16491c6bbd5de804","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676673,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3M30.KhvS-nJR2f-ge2nQvAP5yH-d0u9V0pETnCko6v6XQpw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f49df7f4e6e2fbec16491c6bbd5de804","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"caa4e320-5167-40ab-a728-2f9b675d9def","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.45956} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f49df7f4e6e2fbec16491c6bbd5de804","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b54e6f1d-ce4b-4252-804c-02f036ab1082","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.4652777} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"f49df7f4e6e2fbec16491c6bbd5de804","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"3281fd8c-a02d-4a25-a7d4-376e620fcbdb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.4768412} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"48f85d55-6431-4b36-b563-3ce1ffc698cb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.4769444} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"f49df7f4e6e2fbec16491c6bbd5de804","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:33.476792076Z"}]},"request_id":"ea0d4b4b-af1d-4088-8108-ec9e3018e6da","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676673.4813929} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f49df7f4e6e2fbec16491c6bbd5de804","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"f49df7f4e6e2fbec16491c6bbd5de804"} gateway-1 | {"time_local":"18/Sep/2024:16:24:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f49df7f4e6e2fbec16491c6bbd5de804"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"f49df7f4e6e2fbec16491c6bbd5de804","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"37b2a12917e47017f974ac6c6167037a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"37b2a12917e47017f974ac6c6167037a","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"37b2a12917e47017f974ac6c6167037a"} device-1 | {"level":"info","message":"OPTIONS /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d/websocket 200 1ms","method":"OPTIONS","requestID":"37b2a12917e47017f974ac6c6167037a","responseTime":1,"status":200,"url":"/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0","level":"info","message":"auth send jwt","requestID":"ed0f2125ecb323f7b7cba5a250da3506"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ed0f2125ecb323f7b7cba5a250da3506","responseTime":4,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6d42d9fcfff1da59d43af75d157fa7ab","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"6d42d9fcfff1da59d43af75d157fa7ab","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"ed0f2125ecb323f7b7cba5a250da3506"} gateway-1 | {"time_local":"18/Sep/2024:16:24:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"6d42d9fcfff1da59d43af75d157fa7ab"} device-1 | {"level":"info","message":"OPTIONS /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c/websocket 200 1ms","method":"OPTIONS","requestID":"6d42d9fcfff1da59d43af75d157fa7ab","responseTime":1,"status":200,"url":"/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c/websocket"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1637,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1637,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.770784,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"ed0f2125ecb323f7b7cba5a250da3506","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676675,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ed0f2125ecb323f7b7cba5a250da3506","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0","level":"info","message":"auth send jwt","requestID":"316bfa084c404d45711c1570506f8710"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"316bfa084c404d45711c1570506f8710","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"316bfa084c404d45711c1570506f8710"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1638,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1638,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.98839,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"316bfa084c404d45711c1570506f8710","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676675,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"316bfa084c404d45711c1570506f8710","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"ed0f2125ecb323f7b7cba5a250da3506"} device-1 | {"level":"info","message":"POST /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d/websocket 200 21ms","method":"POST","requestID":"ed0f2125ecb323f7b7cba5a250da3506","responseTime":21,"status":200,"url":"/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:24:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ed0f2125ecb323f7b7cba5a250da3506"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"316bfa084c404d45711c1570506f8710"} gateway-1 | {"time_local":"18/Sep/2024:16:24:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"316bfa084c404d45711c1570506f8710"} device-1 | {"level":"info","message":"POST /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c/websocket 200 23ms","method":"POST","requestID":"316bfa084c404d45711c1570506f8710","responseTime":23,"status":200,"url":"/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"48e57cd7b52c82ea50eda463a6958782","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"48e57cd7b52c82ea50eda463a6958782","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.002","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"48e57cd7b52c82ea50eda463a6958782"} device-1 | {"level":"info","message":"OPTIONS /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d? 200 0ms","method":"OPTIONS","requestID":"48e57cd7b52c82ea50eda463a6958782","responseTime":0,"status":200,"url":"/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fbac9afb946ce2910e477c1b69f05817","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"fbac9afb946ce2910e477c1b69f05817","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"fbac9afb946ce2910e477c1b69f05817"} device-1 | {"level":"info","message":"OPTIONS /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c? 200 1ms","method":"OPTIONS","requestID":"fbac9afb946ce2910e477c1b69f05817","responseTime":1,"status":200,"url":"/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0","level":"info","message":"auth send jwt","requestID":"cde87b1f31591b2c7c2cee69244a9f91"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"cde87b1f31591b2c7c2cee69244a9f91","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"cde87b1f31591b2c7c2cee69244a9f91"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1639,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1639,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.298435,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0","level":"info","message":"auth send jwt","requestID":"541f3170c6c84bc5302ee711c4f548dc"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"541f3170c6c84bc5302ee711c4f548dc","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"cde87b1f31591b2c7c2cee69244a9f91","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676675,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"cde87b1f31591b2c7c2cee69244a9f91","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"541f3170c6c84bc5302ee711c4f548dc"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1640,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1640,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.813254,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"541f3170c6c84bc5302ee711c4f548dc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676675,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"541f3170c6c84bc5302ee711c4f548dc","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:33.422694567Z"}]},"request_id":"4c5923ee-d88b-456d-838a-ba9e156eb68f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.5539849} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cde87b1f31591b2c7c2cee69244a9f91","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:33.476792076Z"}]},"request_id":"1cc1e30e-8d3a-46f4-aecf-5fb2b5658446","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.557342} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"541f3170c6c84bc5302ee711c4f548dc","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"23dd6693-e283-4245-848d-c7f25ee02aa9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.5594378} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"cde87b1f31591b2c7c2cee69244a9f91","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0284efe1-aa70-45d5-ba1c-7400a9eee80e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.5638978} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"541f3170c6c84bc5302ee711c4f548dc","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:33.422694567Z"}]},"request_id":"12579fc2-20cc-4746-a1a7-0f3e01542e3a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.5759904} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cde87b1f31591b2c7c2cee69244a9f91","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"cde87b1f31591b2c7c2cee69244a9f91"} gateway-1 | {"time_local":"18/Sep/2024:16:24:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.044","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"cde87b1f31591b2c7c2cee69244a9f91"} device-1 | {"level":"info","message":"PATCH /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d? 200 39ms","method":"PATCH","requestID":"cde87b1f31591b2c7c2cee69244a9f91","responseTime":39,"status":200,"url":"/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:33.476792076Z"}]},"request_id":"c94db338-b575-4549-a3b2-124d7c0c3b6b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.5876782} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"541f3170c6c84bc5302ee711c4f548dc","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"541f3170c6c84bc5302ee711c4f548dc"} device-1 | {"level":"info","message":"PATCH /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c? 200 44ms","method":"PATCH","requestID":"541f3170c6c84bc5302ee711c4f548dc","responseTime":44,"status":200,"url":"/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.049","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"541f3170c6c84bc5302ee711c4f548dc"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0","level":"info","message":"auth send jwt","requestID":"8ef3c69ac49e5b09ebae29589fa8c9ab"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"8ef3c69ac49e5b09ebae29589fa8c9ab","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8ef3c69ac49e5b09ebae29589fa8c9ab"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1641,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1641,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.094344,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8ef3c69ac49e5b09ebae29589fa8c9ab","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676675,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8ef3c69ac49e5b09ebae29589fa8c9ab","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:33.422694567Z"}]},"request_id":"d2bc5e50-1396-4f98-8d8d-d08aa572ea4f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.6140604} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8ef3c69ac49e5b09ebae29589fa8c9ab","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8ef3c69ac49e5b09ebae29589fa8c9ab"} gateway-1 | {"time_local":"18/Sep/2024:16:24:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8ef3c69ac49e5b09ebae29589fa8c9ab"} device-1 | {"level":"info","message":"GET /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d? 200 17ms","method":"GET","requestID":"8ef3c69ac49e5b09ebae29589fa8c9ab","responseTime":17,"status":200,"url":"/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0","level":"info","message":"auth send jwt","requestID":"741f269132e977e6b61e83d4cddccc9c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"741f269132e977e6b61e83d4cddccc9c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"741f269132e977e6b61e83d4cddccc9c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1642,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1642,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.317628,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"741f269132e977e6b61e83d4cddccc9c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676675,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"741f269132e977e6b61e83d4cddccc9c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:33.476792076Z"}]},"request_id":"6b4f374d-8148-4f4c-afc6-9d2515bfbe36","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.6381154} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"741f269132e977e6b61e83d4cddccc9c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"741f269132e977e6b61e83d4cddccc9c"} gateway-1 | {"time_local":"18/Sep/2024:16:24:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"741f269132e977e6b61e83d4cddccc9c"} device-1 | {"level":"info","message":"GET /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c? 200 17ms","method":"GET","requestID":"741f269132e977e6b61e83d4cddccc9c","responseTime":17,"status":200,"url":"/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0","level":"info","message":"auth send jwt","requestID":"5d9b0e6184807d57c90e07b651ce8986"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5d9b0e6184807d57c90e07b651ce8986","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"5d9b0e6184807d57c90e07b651ce8986"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1643,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1643,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.089075,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5d9b0e6184807d57c90e07b651ce8986","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676675,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5d9b0e6184807d57c90e07b651ce8986","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"},"level":"info","message":"Attempting to run experiment","requestID":"5d9b0e6184807d57c90e07b651ce8986"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"},"level":"info","message":"Attempting to book experiment","requestID":"5d9b0e6184807d57c90e07b651ce8986"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"},"level":"info","message":"Successfully booked experiment","requestID":"5d9b0e6184807d57c90e07b651ce8986"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7e787ac0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7e78a1d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1644,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1644,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.401319,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1645,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7e787ac0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676675,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7e787ac0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1645,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.455512,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7e78a1d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676675,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7e78a1d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:33.422694567Z"}]},"request_id":"7300e16f-1f7a-4955-b3bf-6c5f14202508","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.7056887} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"7e787ac0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:33.476792076Z"}]},"request_id":"d57daace-56f2-4ab5-bfa5-4877d4f642fa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.707896} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"7e78a1d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7e787ac0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d? 200 23ms","method":"GET","requestID":"7e787ac0-75da-11ef-ba7c-09eaa4331ae1","responseTime":23,"status":200,"url":"/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7e78a1d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c? 200 24ms","method":"GET","requestID":"7e78a1d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":24,"status":200,"url":"/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"},"level":"info","message":"Setting up experiment","requestID":"5d9b0e6184807d57c90e07b651ce8986"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"5d9b0e6184807d57c90e07b651ce8986"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"},"level":"info","message":"Successfully locked booking for experiment","requestID":"5d9b0e6184807d57c90e07b651ce8986"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"5d9b0e6184807d57c90e07b651ce8986"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"5d9b0e6184807d57c90e07b651ce8986"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"},"level":"info","message":"Attempting to update booking for experiment","requestID":"5d9b0e6184807d57c90e07b651ce8986"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"},"level":"info","message":"Successfully updated booking for experiment","requestID":"5d9b0e6184807d57c90e07b651ce8986"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"},"level":"info","message":"Successfully set up experiment","requestID":"5d9b0e6184807d57c90e07b651ce8986"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7e83ec70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7e843a90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7e8461a0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"},"level":"info","message":"Successfully running experiment","requestID":"5d9b0e6184807d57c90e07b651ce8986"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1646,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1646,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.435291,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1647,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7e83ec70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676675,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7e83ec70-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1647,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.792574,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"client_addr":"127.0.0.1:55260","level":"info","msg":"Received request.","req_id":1648,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"client_addr":"127.0.0.1:55260","level":"info","msg":"Sent response.","req_id":1648,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.136956,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7e843a90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676675,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"7e843a90-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"61a2e59e-1226-4ebd-b453-424db78a2f0e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.7773497} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7e8461a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"7e8461a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:33.422694567Z"}]},"request_id":"05cd044f-fc98-4150-a11c-2ebe228c7b9f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.783264} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7e8461a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d/signaling 200 17ms","method":"POST","requestID":"7e8461a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"7e83ec70-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:33.476792076Z"}]},"request_id":"ee4403aa-85a7-415d-9c27-bdbbd055011f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.7875707} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7e843a90-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7e8747d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7e83ec70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d? 200 27ms","method":"GET","requestID":"7e83ec70-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":200,"url":"/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7e843a90-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1649,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} device-1 | {"level":"info","message":"GET /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c? 200 27ms","method":"GET","requestID":"7e843a90-75da-11ef-ba7c-09eaa4331ae1","responseTime":27,"status":200,"url":"/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c?"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3a89604b-ef39-48dc-b083-99f00a5a6bf6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.7958784} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1649,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.907043,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7e8747d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7e8747d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fac691de1-7e61-4db5-847a-368e190ca1eb#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fac691de1-7e61-4db5-847a-368e190ca1eb","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"42638d17-8552-4ef4-a902-cf4a8b5b2eb7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.7966483} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7e888050-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ceb90660-5d4c-4052-9dcd-55f0427414cc","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.7967663} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7e8747d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c/signaling 200 14ms","method":"POST","requestID":"7e8747d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 29ms","method":"POST","requestID":"5d9b0e6184807d57c90e07b651ce8986","responseTime":29,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1650,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b3af02a7-87f3-4ca3-ad41-dd4fab5783e1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.8097084} experiment-1 | {"data":{"experiment":"http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"5d9b0e6184807d57c90e07b651ce8986"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1650,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.471267,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} experiment-1 | {"level":"info","message":"POST /experiments? 201 159ms","method":"POST","requestID":"5d9b0e6184807d57c90e07b651ce8986","responseTime":159,"status":201,"url":"/experiments?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7e888050-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} gateway-1 | {"time_local":"18/Sep/2024:16:24:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"808","request_time":"0.165","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5d9b0e6184807d57c90e07b651ce8986"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7e888050-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7e888050-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d/signaling 200 20ms","method":"POST","requestID":"7e888050-75da-11ef-ba7c-09eaa4331ae1","responseTime":20,"status":200,"url":"/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0","level":"info","message":"auth send jwt","requestID":"0e9bef438417c9324a1e5d02be82f302"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7e8b8d90-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0e9bef438417c9324a1e5d02be82f302","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0e9bef438417c9324a1e5d02be82f302"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1651,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1651,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.206969,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1652,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"424f7e65-dd67-4971-83f2-671e5139f0f2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.8221684} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7e8b8d90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"7e8b8d90-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1652,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.938432,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"0e9bef438417c9324a1e5d02be82f302","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676675,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0e9bef438417c9324a1e5d02be82f302","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7e8b8d90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c/signaling 200 13ms","method":"POST","requestID":"7e8b8d90-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"5d9b0e6184807d57c90e07b651ce8986"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:33.422694567Z"}]},"request_id":"17fc519d-79f6-4201-a269-3d9aab1f5997","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.8317409} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7e8dd780-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0e9bef438417c9324a1e5d02be82f302","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7e8dfe90-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1653,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1653,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.602357,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1654,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7e8dd780-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676675,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7e8dd780-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0e9bef438417c9324a1e5d02be82f302"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1654,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.722999,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} device-1 | {"level":"info","message":"GET /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d? 200 17ms","method":"GET","requestID":"0e9bef438417c9324a1e5d02be82f302","responseTime":17,"status":200,"url":"/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0e9bef438417c9324a1e5d02be82f302"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7e8dfe90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676675,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"7e8dfe90-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0","level":"info","message":"auth send jwt","requestID":"df2d9241f5d7bdc7fc49535a00e4694c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:33.422694567Z"}]},"request_id":"6e67a2e6-702d-42c6-bc71-622911040ba6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.8395064} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"df2d9241f5d7bdc7fc49535a00e4694c","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7e8dd780-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:33.476792076Z"}]},"request_id":"12e59b71-3b17-402c-8106-a967dc940f38","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.8404064} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"df2d9241f5d7bdc7fc49535a00e4694c"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7e8dfe90-75da-11ef-ba7c-09eaa4331ae1","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1655,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1655,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.720322,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"df2d9241f5d7bdc7fc49535a00e4694c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676675,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"df2d9241f5d7bdc7fc49535a00e4694c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7e8dd780-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d? 200 14ms","method":"GET","requestID":"7e8dd780-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7e8dfe90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c? 200 13ms","method":"GET","requestID":"7e8dfe90-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:33.476792076Z"}]},"request_id":"c938dc9e-2f10-4c77-bbbc-62ce74be8b1e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.8470495} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"},"level":"info","message":"Building connection plan","requestID":"5d9b0e6184807d57c90e07b651ce8986"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"d107b216-7b1b-483f-9419-c218b8b51cd7"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"71683728-df1a-4470-a6b5-a817122e5d47"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"ca7e7c27-2749-4a76-8669-77bf5103fb22"}]},"level":"info","message":"Built pairwise service configurations","requestID":"5d9b0e6184807d57c90e07b651ce8986"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"5d9b0e6184807d57c90e07b651ce8986"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"df2d9241f5d7bdc7fc49535a00e4694c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"7e906f90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"df2d9241f5d7bdc7fc49535a00e4694c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1656,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} gateway-1 | {"time_local":"18/Sep/2024:16:24:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"df2d9241f5d7bdc7fc49535a00e4694c"} device-1 | {"level":"info","message":"GET /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c? 200 11ms","method":"GET","requestID":"df2d9241f5d7bdc7fc49535a00e4694c","responseTime":11,"status":200,"url":"/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1656,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.588999,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7e906f90-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676675,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3NX0.yrwVtymOII2aT7j35L-jLFMwPRuZZR6DGK5mBBazkS0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7e906f90-75da-11ef-ba7c-09eaa4331ae1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"fabca17a-504b-4483-8adb-1a9a81e17603","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.861134} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"819e8ea4-f78d-470a-8f84-956721f05f44","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.8616025} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"7e906f90-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"7e906f90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"7e906f90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/58322943-32b9-4e6c-8836-181842110bf7'","requestID":"7e906f90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/58322943-32b9-4e6c-8836-181842110bf7'","requestID":"7e906f90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"7e906f90-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 25ms","method":"POST","requestID":"7e906f90-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"7e906f90-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"5d9b0e6184807d57c90e07b651ce8986"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7e9837c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1657,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ea71a552-55aa-46be-9d8a-0776124d888c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.9044838} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1657,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.445331,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7e9837c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7e9837c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7e9837c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d/signaling 200 8ms","method":"POST","requestID":"7e9837c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7e99be60-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1658,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} device-1 | {"device":"566c5de1-192a-41d8-92a0-05b16ae7db0d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"566c5de1-192a-41d8-92a0-05b16ae7db0d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c1531273-2ae3-4d21-a7e9-a33dd0981792","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.915315} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1658,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.674211,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7e99be60-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"device":"376c13a9-1232-4552-a668-7ef8f14e8c7c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"376c13a9-1232-4552-a668-7ef8f14e8c7c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7e99be60-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7e99be60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c/signaling 200 12ms","method":"POST","requestID":"7e99be60-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 1354854190791041267 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:FhWz\r\na=ice-pwd:qquQ3s2kVTbV/npeo9JKr18P\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BB:E2:8B:F9:6B:1D:78:AF:99:7F:AB:4B:64:6F:8A:76:8B:30:DC:DF:A2:F5:7F:53:8B:AB:61:DD:A6:C3:18:08\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"376c13a9-1232-4552-a668-7ef8f14e8c7c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 7873134713509894387 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:6/XK\r\na=ice-pwd:HiYYRUQIIa6vXz1XdfyrMbuQ\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BC:39:21:CF:F3:EE:6A:15:76:C7:B5:28:77:FB:BB:DE:3D:2E:87:70:D6:71:2E:79:9D:ED:33:C5:98:DB:BB:5F\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"566c5de1-192a-41d8-92a0-05b16ae7db0d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:603977025 1 udp 2113937151 334bb4e5-4381-43ef-875d-965b5aba867e.local 34794 typ host generation 0 ufrag 6/XK network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"566c5de1-192a-41d8-92a0-05b16ae7db0d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2815598398 1 udp 1677729535 141.24.211.56 34794 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 6/XK network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"566c5de1-192a-41d8-92a0-05b16ae7db0d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d'"} device-1 | {"content":{"candidate":"candidate:3870053601 1 udp 2113937151 7543dcad-f1cb-4f0b-8858-6e28b934915b.local 53940 typ host generation 0 ufrag FhWz network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"376c13a9-1232-4552-a668-7ef8f14e8c7c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1652637342 1 udp 1677729535 141.24.211.56 53940 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag FhWz network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"376c13a9-1232-4552-a668-7ef8f14e8c7c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c'"} device-1 | {"device":"376c13a9-1232-4552-a668-7ef8f14e8c7c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"566c5de1-192a-41d8-92a0-05b16ae7db0d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/58322943-32b9-4e6c-8836-181842110bf7' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"58322943-32b9-4e6c-8836-181842110bf7","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"376c13a9-1232-4552-a668-7ef8f14e8c7c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"566c5de1-192a-41d8-92a0-05b16ae7db0d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"43689d0199192f7775a263d45f23448f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"43689d0199192f7775a263d45f23448f","responseTime":0,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/58322943-32b9-4e6c-8836-181842110bf7"}}},"level":"info","message":"received a callback","requestID":"43689d0199192f7775a263d45f23448f"} device-1 | {"device":"376c13a9-1232-4552-a668-7ef8f14e8c7c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"566c5de1-192a-41d8-92a0-05b16ae7db0d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} gateway-1 | {"time_local":"18/Sep/2024:16:24:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.010","http_referrer":"","http_user_agent":"node-fetch","requestID":"43689d0199192f7775a263d45f23448f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"43689d0199192f7775a263d45f23448f","responseTime":8,"status":200,"url":"/callbacks/experiment"} device-1 | {"device":"566c5de1-192a-41d8-92a0-05b16ae7db0d","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"58322943-32b9-4e6c-8836-181842110bf7","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"58322943-32b9-4e6c-8836-181842110bf7","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/58322943-32b9-4e6c-8836-181842110bf7' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"58322943-32b9-4e6c-8836-181842110bf7","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"639b6562d80577ff458b890b7b45b24d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"639b6562d80577ff458b890b7b45b24d","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/58322943-32b9-4e6c-8836-181842110bf7"}}},"level":"info","message":"received a callback","requestID":"639b6562d80577ff458b890b7b45b24d"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"7ea53010-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1659,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F58322943-32b9-4e6c-8836-181842110bf7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2d336e99-5a88-4126-a057-f0f3455041db","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676675.9894133} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1659,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.052402,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/58322943-32b9-4e6c-8836-181842110bf7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7ea53010-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/58322943-32b9-4e6c-8836-181842110bf7","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7ea53010-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"7ea53010-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/58322943-32b9-4e6c-8836-181842110bf7 200 8ms","method":"GET","requestID":"7ea53010-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/peerconnections/58322943-32b9-4e6c-8836-181842110bf7"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 31ms","method":"POST","requestID":"639b6562d80577ff458b890b7b45b24d","responseTime":31,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.033","http_referrer":"","http_user_agent":"node-fetch","requestID":"639b6562d80577ff458b890b7b45b24d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7ea975d0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1660,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:36Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a726e5e1-5b18-4136-96d2-e3376f85ea83","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676676.0171373} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1660,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.17537,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7ea975d0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7ea975d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7ea975d0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d/signaling 200 8ms","method":"POST","requestID":"7ea975d0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7eaad560-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1661,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:36Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"18bdcb4b-8087-4960-9051-ffa35de44f4a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676676.0271857} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1661,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.234901,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7eaad560-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7eaad560-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7eaad560-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c/signaling 200 8ms","method":"POST","requestID":"7eaad560-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Nn0.D80f932Aiu74wuoy245_443gUkVdEV5S0a9sCMKXdIU","level":"info","message":"auth send jwt","requestID":"fce0344b140f4eeabf9d4503e3bbe55a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"fce0344b140f4eeabf9d4503e3bbe55a","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/ac691de1-7e61-4db5-847a-368e190ca1eb","requestID":"fce0344b140f4eeabf9d4503e3bbe55a"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1662,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1662,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.08884,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"fce0344b140f4eeabf9d4503e3bbe55a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676676,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Nn0.D80f932Aiu74wuoy245_443gUkVdEV5S0a9sCMKXdIU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fce0344b140f4eeabf9d4503e3bbe55a","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/ac691de1-7e61-4db5-847a-368e190ca1eb","requestID":"fce0344b140f4eeabf9d4503e3bbe55a"} gateway-1 | {"time_local":"18/Sep/2024:16:24:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/ac691de1-7e61-4db5-847a-368e190ca1eb HTTP/1.1","status": "200","body_bytes_sent":"881","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"fce0344b140f4eeabf9d4503e3bbe55a"} experiment-1 | {"level":"info","message":"GET /experiments/ac691de1-7e61-4db5-847a-368e190ca1eb 200 13ms","method":"GET","requestID":"fce0344b140f4eeabf9d4503e3bbe55a","responseTime":13,"status":200,"url":"/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Nn0.D80f932Aiu74wuoy245_443gUkVdEV5S0a9sCMKXdIU","level":"info","message":"auth send jwt","requestID":"205e2953114bfd6f5485a15a6f4cb2e8"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"205e2953114bfd6f5485a15a6f4cb2e8","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/ac691de1-7e61-4db5-847a-368e190ca1eb","requestID":"205e2953114bfd6f5485a15a6f4cb2e8"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1663,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1663,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.999885,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:36Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"205e2953114bfd6f5485a15a6f4cb2e8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676676,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Nn0.D80f932Aiu74wuoy245_443gUkVdEV5S0a9sCMKXdIU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"205e2953114bfd6f5485a15a6f4cb2e8","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"},"level":"info","message":"Attempting to finish experiment","requestID":"205e2953114bfd6f5485a15a6f4cb2e8"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"7eb4e780-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1664,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1664,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.94575,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:36Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/58322943-32b9-4e6c-8836-181842110bf7","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7eb4e780-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/58322943-32b9-4e6c-8836-181842110bf7","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676676,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Nn0.D80f932Aiu74wuoy245_443gUkVdEV5S0a9sCMKXdIU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7eb4e780-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/58322943-32b9-4e6c-8836-181842110bf7","device":"376c13a9-1232-4552-a668-7ef8f14e8c7c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/58322943-32b9-4e6c-8836-181842110bf7","device":"566c5de1-192a-41d8-92a0-05b16ae7db0d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/58322943-32b9-4e6c-8836-181842110bf7' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/58322943-32b9-4e6c-8836-181842110bf7' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"58322943-32b9-4e6c-8836-181842110bf7","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c4b3f41a79419dfd84c9842215b627ca","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"c4b3f41a79419dfd84c9842215b627ca","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d40d4a05e35a3d2e5174274408624551","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/58322943-32b9-4e6c-8836-181842110bf7"}}},"level":"info","message":"received a callback","requestID":"c4b3f41a79419dfd84c9842215b627ca"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F58322943-32b9-4e6c-8836-181842110bf7': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F58322943-32b9-4e6c-8836-181842110bf7","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"d9bb76d0-43b6-4885-b1ad-f1b7a2fd9b93","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676676.107524} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d40d4a05e35a3d2e5174274408624551","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"14b6c2b0-96ef-416e-b60b-735207276167","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676676.1077194} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/58322943-32b9-4e6c-8836-181842110bf7"}}},"level":"info","message":"received a callback","requestID":"d40d4a05e35a3d2e5174274408624551"} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"7eb4e780-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"58322943-32b9-4e6c-8836-181842110bf7","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"7eb4e780-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/58322943-32b9-4e6c-8836-181842110bf7 204 37ms","method":"DELETE","requestID":"7eb4e780-75da-11ef-ba7c-09eaa4331ae1","responseTime":37,"status":204,"url":"/peerconnections/58322943-32b9-4e6c-8836-181842110bf7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"},"level":"info","message":"Successfully finished experiment","requestID":"205e2953114bfd6f5485a15a6f4cb2e8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7ebc88a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1665,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:36Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F566c5de1-192a-41d8-92a0-05b16ae7db0d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"037aed4e-5c2a-4dbb-9eef-ffce521bfaa2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676676.144182} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1665,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.938049,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7ebc88a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7ebc88a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7ebc88a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/566c5de1-192a-41d8-92a0-05b16ae7db0d/signaling 200 11ms","method":"POST","requestID":"7ebc88a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7ebe5d60-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fac691de1-7e61-4db5-847a-368e190ca1eb': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fac691de1-7e61-4db5-847a-368e190ca1eb","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"d5228611-2ae4-4d54-a8fb-2f4d80fee246","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676676.1520498} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0dea8d49-9561-4750-8faa-3b978db234e6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676676.153731} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1666,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:36Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"205e2953114bfd6f5485a15a6f4cb2e8","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F376c13a9-1232-4552-a668-7ef8f14e8c7c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d005ebab-1596-4114-a08f-d3058bea20aa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676676.1553533} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1666,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.316049,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"7ebe5d60-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7ebe5d60-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7ebe5d60-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/376c13a9-1232-4552-a668-7ef8f14e8c7c/signaling 200 10ms","method":"POST","requestID":"7ebe5d60-75da-11ef-ba7c-09eaa4331ae1","responseTime":10,"status":200,"url":"/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/ac691de1-7e61-4db5-847a-368e190ca1eb","requestID":"205e2953114bfd6f5485a15a6f4cb2e8"} gateway-1 | {"time_local":"18/Sep/2024:16:24:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/ac691de1-7e61-4db5-847a-368e190ca1eb HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.150","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"205e2953114bfd6f5485a15a6f4cb2e8"} experiment-1 | {"level":"info","message":"DELETE /experiments/ac691de1-7e61-4db5-847a-368e190ca1eb 204 147ms","method":"DELETE","requestID":"205e2953114bfd6f5485a15a6f4cb2e8","responseTime":147,"status":204,"url":"/experiments/ac691de1-7e61-4db5-847a-368e190ca1eb"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 120ms","method":"POST","requestID":"c4b3f41a79419dfd84c9842215b627ca","responseTime":120,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.122","http_referrer":"","http_user_agent":"node-fetch","requestID":"c4b3f41a79419dfd84c9842215b627ca"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 120ms","method":"POST","requestID":"d40d4a05e35a3d2e5174274408624551","responseTime":120,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.123","http_referrer":"","http_user_agent":"node-fetch","requestID":"d40d4a05e35a3d2e5174274408624551"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Nn0.D80f932Aiu74wuoy245_443gUkVdEV5S0a9sCMKXdIU","level":"info","message":"auth send jwt","requestID":"183189a4fd900edc84389dc55ee5410c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"183189a4fd900edc84389dc55ee5410c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"183189a4fd900edc84389dc55ee5410c"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1667,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:36Z"} gateway-1 | {"time_local":"18/Sep/2024:16:24:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3079","request_time":"0.737","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"72f4fcf613bd4d010269cd0206013ae9"} gateway-1 | {"time_local":"18/Sep/2024:16:24:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3078","request_time":"0.727","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d55b5fa427ff571b990339ff9eddb616"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1667,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":2.851934,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"183189a4fd900edc84389dc55ee5410c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676676,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Nn0.D80f932Aiu74wuoy245_443gUkVdEV5S0a9sCMKXdIU"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"183189a4fd900edc84389dc55ee5410c","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/376c13a9-1232-4552-a668-7ef8f14e8c7c' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/566c5de1-192a-41d8-92a0-05b16ae7db0d' closed"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5f737ce3-beb8-4dfb-bb16-352f9ea6ca95","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ba931a41-e54b-4e45-a0ad-b26ee89500f1","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676676.2563367} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"183189a4fd900edc84389dc55ee5410c","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3b043a25-780b-4c35-afb3-ac54e446fef5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676676.2603073} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"183189a4fd900edc84389dc55ee5410c","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5f737ce3-beb8-4dfb-bb16-352f9ea6ca95","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"1ee4d4cf-b579-4da9-b9f1-0616793fdb9a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676676.2713997} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0077ece6-6819-4590-a1d9-42bc2f3e6d76","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676676.271616} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"183189a4fd900edc84389dc55ee5410c","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5f737ce3-beb8-4dfb-bb16-352f9ea6ca95","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5f737ce3-beb8-4dfb-bb16-352f9ea6ca95","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:36.271351062Z"}]},"request_id":"ee30da18-2ee4-4e62-b7e0-88fc5539901f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676676.2748294} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"183189a4fd900edc84389dc55ee5410c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"183189a4fd900edc84389dc55ee5410c"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"183189a4fd900edc84389dc55ee5410c","responseTime":46,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"434","request_time":"0.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"183189a4fd900edc84389dc55ee5410c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Nn0.D80f932Aiu74wuoy245_443gUkVdEV5S0a9sCMKXdIU","level":"info","message":"auth send jwt","requestID":"811a2699c00d0165a3141698604a39bb"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"811a2699c00d0165a3141698604a39bb","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"811a2699c00d0165a3141698604a39bb"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1668,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:36Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1668,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.699266,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"811a2699c00d0165a3141698604a39bb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676676,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3Nn0.D80f932Aiu74wuoy245_443gUkVdEV5S0a9sCMKXdIU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"811a2699c00d0165a3141698604a39bb","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"99fd70dc-6c7c-4c34-b392-8a3136b0bd06","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676676.2952168} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"811a2699c00d0165a3141698604a39bb","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"97b4dc55-34bd-4071-9a60-ecfd4f2e8684","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676676.299292} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"811a2699c00d0165a3141698604a39bb","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"15d9527c-59b9-4bce-b9c6-c753f1bdd83f","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676676.3082745} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bd95a8ea-08db-403b-9c21-4c4bdcc8f595","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676676.308435} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"811a2699c00d0165a3141698604a39bb","responseTime":11,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:36.308241131Z"}]},"request_id":"c0f0bf1a-1424-48a7-8cfb-de5e170b7ad2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676676.3118289} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"811a2699c00d0165a3141698604a39bb","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"811a2699c00d0165a3141698604a39bb"} device-1 | {"level":"info","message":"POST /devices? 201 33ms","method":"POST","requestID":"811a2699c00d0165a3141698604a39bb","responseTime":33,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"437","request_time":"0.037","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"811a2699c00d0165a3141698604a39bb"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"124c429db43a3e5d46e37847da1be7a2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"124c429db43a3e5d46e37847da1be7a2","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/01cb0475-6886-4023-a47b-72d839ff9738/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"124c429db43a3e5d46e37847da1be7a2"} device-1 | {"level":"info","message":"OPTIONS /devices/01cb0475-6886-4023-a47b-72d839ff9738/websocket 200 2ms","method":"OPTIONS","requestID":"124c429db43a3e5d46e37847da1be7a2","responseTime":2,"status":200,"url":"/devices/01cb0475-6886-4023-a47b-72d839ff9738/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3OH0.JDr7Np4MDDZ1FOgFbal3XutYlK5ZDe9-5NXhEVMl7KM","level":"info","message":"auth send jwt","requestID":"e3adfd55d85821d800456a2b99bc1879"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e3adfd55d85821d800456a2b99bc1879","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"e3adfd55d85821d800456a2b99bc1879"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1669,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1669,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.144564,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"e3adfd55d85821d800456a2b99bc1879","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676678,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3OH0.JDr7Np4MDDZ1FOgFbal3XutYlK5ZDe9-5NXhEVMl7KM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e3adfd55d85821d800456a2b99bc1879","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"e3adfd55d85821d800456a2b99bc1879"} device-1 | {"level":"info","message":"POST /devices/01cb0475-6886-4023-a47b-72d839ff9738/websocket 200 22ms","method":"POST","requestID":"e3adfd55d85821d800456a2b99bc1879","responseTime":22,"status":200,"url":"/devices/01cb0475-6886-4023-a47b-72d839ff9738/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:24:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/01cb0475-6886-4023-a47b-72d839ff9738/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.028","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e3adfd55d85821d800456a2b99bc1879"} device-1 | {"level":"info","message":"device 'http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ee4d0ff6ed3ef0b27b8e7c5e1fb77027","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ee4d0ff6ed3ef0b27b8e7c5e1fb77027","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/01cb0475-6886-4023-a47b-72d839ff9738? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.003","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ee4d0ff6ed3ef0b27b8e7c5e1fb77027"} device-1 | {"level":"info","message":"OPTIONS /devices/01cb0475-6886-4023-a47b-72d839ff9738? 200 1ms","method":"OPTIONS","requestID":"ee4d0ff6ed3ef0b27b8e7c5e1fb77027","responseTime":1,"status":200,"url":"/devices/01cb0475-6886-4023-a47b-72d839ff9738?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3OH0.JDr7Np4MDDZ1FOgFbal3XutYlK5ZDe9-5NXhEVMl7KM","level":"info","message":"auth send jwt","requestID":"414cae50048bea2494de01abf05e13bd"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"414cae50048bea2494de01abf05e13bd","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"414cae50048bea2494de01abf05e13bd"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1670,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1670,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.239355,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"414cae50048bea2494de01abf05e13bd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676678,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3OH0.JDr7Np4MDDZ1FOgFbal3XutYlK5ZDe9-5NXhEVMl7KM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"414cae50048bea2494de01abf05e13bd","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:36.308241131Z"}]},"request_id":"71698edb-8f59-4f15-a79e-ee120980565c","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676678.4424524} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"414cae50048bea2494de01abf05e13bd","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"95f79f28-1b57-4322-a23a-10cbb22b5664","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676678.4496858} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"414cae50048bea2494de01abf05e13bd","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:36.308241131Z"}]},"request_id":"99cc4335-dde2-4b3f-8372-0889529df55d","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676678.4630466} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"414cae50048bea2494de01abf05e13bd","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"414cae50048bea2494de01abf05e13bd"} gateway-1 | {"time_local":"18/Sep/2024:16:24:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/01cb0475-6886-4023-a47b-72d839ff9738? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.044","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"414cae50048bea2494de01abf05e13bd"} device-1 | {"level":"info","message":"PATCH /devices/01cb0475-6886-4023-a47b-72d839ff9738? 200 38ms","method":"PATCH","requestID":"414cae50048bea2494de01abf05e13bd","responseTime":38,"status":200,"url":"/devices/01cb0475-6886-4023-a47b-72d839ff9738?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3OH0.JDr7Np4MDDZ1FOgFbal3XutYlK5ZDe9-5NXhEVMl7KM","level":"info","message":"auth send jwt","requestID":"fbac8491715f46a14db3d3bdf7a78895"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"fbac8491715f46a14db3d3bdf7a78895","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fbac8491715f46a14db3d3bdf7a78895"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1671,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1671,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.242355,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"fbac8491715f46a14db3d3bdf7a78895","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676678,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3OH0.JDr7Np4MDDZ1FOgFbal3XutYlK5ZDe9-5NXhEVMl7KM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fbac8491715f46a14db3d3bdf7a78895","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:36.308241131Z"}]},"request_id":"7b9e37e9-f753-42aa-9be5-d1d7516f19ce","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676678.4908638} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"fbac8491715f46a14db3d3bdf7a78895","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fbac8491715f46a14db3d3bdf7a78895"} gateway-1 | {"time_local":"18/Sep/2024:16:24:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/01cb0475-6886-4023-a47b-72d839ff9738? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"fbac8491715f46a14db3d3bdf7a78895"} device-1 | {"level":"info","message":"GET /devices/01cb0475-6886-4023-a47b-72d839ff9738? 200 16ms","method":"GET","requestID":"fbac8491715f46a14db3d3bdf7a78895","responseTime":16,"status":200,"url":"/devices/01cb0475-6886-4023-a47b-72d839ff9738?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3OH0.JDr7Np4MDDZ1FOgFbal3XutYlK5ZDe9-5NXhEVMl7KM","level":"info","message":"auth send jwt","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2a2861bd0c8f55e808baf544e2f51a99","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1672,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1672,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.415451,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"2a2861bd0c8f55e808baf544e2f51a99","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676678,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3OH0.JDr7Np4MDDZ1FOgFbal3XutYlK5ZDe9-5NXhEVMl7KM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"2a2861bd0c8f55e808baf544e2f51a99","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"},"level":"info","message":"Attempting to run experiment","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"},"level":"info","message":"Attempting to book experiment","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"},"level":"info","message":"Successfully booked experiment","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"802c4540-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"802c9360-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1673,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1673,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.072059,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1674,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5f737ce3-beb8-4dfb-bb16-352f9ea6ca95","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"802c4540-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/5f737ce3-beb8-4dfb-bb16-352f9ea6ca95","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676678,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3OH0.JDr7Np4MDDZ1FOgFbal3XutYlK5ZDe9-5NXhEVMl7KM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"802c4540-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1674,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.942585,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"802c9360-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676678,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3OH0.JDr7Np4MDDZ1FOgFbal3XutYlK5ZDe9-5NXhEVMl7KM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"802c9360-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5f737ce3-beb8-4dfb-bb16-352f9ea6ca95","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5f737ce3-beb8-4dfb-bb16-352f9ea6ca95","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:36.271351062Z"}]},"request_id":"3403d75a-634d-49ee-b0f8-4b5ea5c57454","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676678.5592577} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"802c4540-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:36.308241131Z"}]},"request_id":"1cb41d2c-fb71-49b7-b741-1bb2c7e16aba","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676678.5610173} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"802c9360-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"802c4540-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/5f737ce3-beb8-4dfb-bb16-352f9ea6ca95? 200 18ms","method":"GET","requestID":"802c4540-75da-11ef-ba7c-09eaa4331ae1","responseTime":18,"status":200,"url":"/devices/5f737ce3-beb8-4dfb-bb16-352f9ea6ca95?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"802c9360-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/01cb0475-6886-4023-a47b-72d839ff9738? 200 17ms","method":"GET","requestID":"802c9360-75da-11ef-ba7c-09eaa4331ae1","responseTime":17,"status":200,"url":"/devices/01cb0475-6886-4023-a47b-72d839ff9738?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"},"level":"info","message":"Setting up experiment","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"},"level":"info","message":"Successfully locked booking for experiment","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} device-1 | {"level":"info","message":"postDevicesByDeviceId called","requestID":"80319c70-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1675,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1675,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.11713,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"action":"instantiate","level":"info","message":"opa_check","object":"device:http://localhost/devices/5f737ce3-beb8-4dfb-bb16-352f9ea6ca95","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"80319c70-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/5f737ce3-beb8-4dfb-bb16-352f9ea6ca95","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676678,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3OH0.JDr7Np4MDDZ1FOgFbal3XutYlK5ZDe9-5NXhEVMl7KM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"80319c70-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"feea4b55-be17-4584-a33c-05a6a9d5bd46","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676678.6160457} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f3589309-3a4f-470f-9c80-c0e8f45dded3","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676678.6163378} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"80319c70-75da-11ef-ba7c-09eaa4331ae1","responseTime":12,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"registering changed-callback for device 'http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a' to 'http://localhost/callbacks/experiment'","requestID":"80319c70-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceId succeeded","requestID":"80319c70-75da-11ef-ba7c-09eaa4331ae1"} authentication-1 | {"level":"info","message":"POST /token 201 26ms","method":"POST","requestID":"80387a40-75da-11ef-a248-8392457e0b36","responseTime":26,"status":201,"url":"/token"} device-1 | {"level":"info","message":"POST /devices/5f737ce3-beb8-4dfb-bb16-352f9ea6ca95?changedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 79ms","method":"POST","requestID":"80319c70-75da-11ef-ba7c-09eaa4331ae1","responseTime":79,"status":201,"url":"/devices/5f737ce3-beb8-4dfb-bb16-352f9ea6ca95?changedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"},"level":"info","message":"Attempting to update booking for experiment","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"},"level":"info","message":"Successfully updated booking for experiment","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"},"level":"info","message":"Successfully set up experiment","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"804599a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8045e7c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"804635e0-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"},"level":"info","message":"Successfully running experiment","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1676,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1676,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.591313,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Received request.","req_id":1677,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"804599a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676678,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3OH0.JDr7Np4MDDZ1FOgFbal3XutYlK5ZDe9-5NXhEVMl7KM"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"804599a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35910","level":"info","msg":"Sent response.","req_id":1677,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.380395,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8045e7c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676678,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3OH0.JDr7Np4MDDZ1FOgFbal3XutYlK5ZDe9-5NXhEVMl7KM"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"8045e7c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:55260","level":"info","msg":"Received request.","req_id":1678,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"client_addr":"127.0.0.1:55260","level":"info","msg":"Sent response.","req_id":1678,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.75336,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"079fd740-d189-4e47-be13-f8ee19dfa748","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676678.728572} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"804635e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"804635e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:38.615996165Z"}]},"request_id":"218af067-99d6-4680-a196-b372176d0194","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676678.7310483} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:36.308241131Z"}]},"request_id":"caaaf069-5c45-4617-b4e9-bf9542726ef2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676678.7334907} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"804599a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"8045e7c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fac027642-d5f6-4893-bb6c-b6304e1406da#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fac027642-d5f6-4893-bb6c-b6304e1406da","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"1fa36678-1682-4566-8426-a974c8b572df","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676678.7405386} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8d42c639-85f0-48ec-b90b-0556de7cf7cf","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676678.7412949} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"2a2861bd0c8f55e808baf544e2f51a99","responseTime":16,"status":200,"url":"/relations/update"} device-1 | {"data":{"error":"MissingEntityError","message":"Could not find websocket connection for device f7c66691-b588-4c47-a8ae-8944a1a2145a","method":"POST","stack":"MissingEntityError: Could not find websocket connection for device f7c66691-b588-4c47-a8ae-8944a1a2145a\n at Object.postDevicesByDeviceIdSignaling (file:///usr/local/lib/node_modules/@crosslab/service-device/app/operations/devices/device/signaling/post.js:44:15)\n at async file:///usr/local/lib/node_modules/@crosslab/service-device/app/generated/routes.js:276:28","status":404,"url":"/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a/signaling"},"level":"error","message":"An error occurred during the handling of a request","requestID":"804635e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a/signaling 404 26ms","method":"POST","requestID":"804635e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":26,"status":404,"url":"/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"804599a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a? 200 32ms","method":"GET","requestID":"804599a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":32,"status":200,"url":"/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8045e7c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/01cb0475-6886-4023-a47b-72d839ff9738? 200 31ms","method":"GET","requestID":"8045e7c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":31,"status":200,"url":"/devices/01cb0475-6886-4023-a47b-72d839ff9738?"} experiment-1 | {"data":{"response":{"body":{"error":"MissingEntityError","message":"Could not find websocket connection for device f7c66691-b588-4c47-a8ae-8944a1a2145a"},"status":404}},"level":"error","message":"Could not send status-update message","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"804b17e0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1679,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:38Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da","user":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a94eb033-3062-4ac3-8954-e7d5ee684b20","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676678.7567923} gateway-1 | {"time_local":"18/Sep/2024:16:24:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1108","request_time":"0.257","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} experiment-1 | {"level":"info","message":"POST /experiments? 201 251ms","method":"POST","requestID":"2a2861bd0c8f55e808baf544e2f51a99","responseTime":251,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1679,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.004335,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"804b17e0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"804b17e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"804b17e0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/01cb0475-6886-4023-a47b-72d839ff9738/signaling 200 13ms","method":"POST","requestID":"804b17e0-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/01cb0475-6886-4023-a47b-72d839ff9738/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b0244b0d286fa7b207f9e850456ffa29","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"b0244b0d286fa7b207f9e850456ffa29","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.004","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"b0244b0d286fa7b207f9e850456ffa29"} device-1 | {"level":"info","message":"OPTIONS /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a/websocket 200 1ms","method":"OPTIONS","requestID":"b0244b0d286fa7b207f9e850456ffa29","responseTime":1,"status":200,"url":"/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlpBV3FEc1l0aG9JakZndXhLTjNJTmtuN2NRQ1p2OFZseUpuZ1l1WDRDVFZTQl94aDNzUDlpSVY5RFV1SzBSM1JNa05acEREWEptSWN6WllQWjVCWlN3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY4MH0.azSiqWTKg7u3jybKZeZ-5eW7GFrtdBPTSm4djTwZojM","level":"info","message":"auth send jwt","requestID":"f706ae0deec9a4c1ece00967a2a776ef"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f706ae0deec9a4c1ece00967a2a776ef","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"f706ae0deec9a4c1ece00967a2a776ef"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1680,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1680,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.336556,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:40Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"f706ae0deec9a4c1ece00967a2a776ef","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","object_type":"device","payload":{"admin":true,"edgeToken":"ZAWqDsYthoIjFguxKN3INkn7cQCZv8VlyJngYuX4CTVSB_xh3sP9iIV9DUuK0R3RMkNZpDDXJmIczZYPZ5BZSw","iat":1726676680,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlpBV3FEc1l0aG9JakZndXhLTjNJTmtuN2NRQ1p2OFZseUpuZ1l1WDRDVFZTQl94aDNzUDlpSVY5RFV1SzBSM1JNa05acEREWEptSWN6WllQWjVCWlN3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY4MH0.azSiqWTKg7u3jybKZeZ-5eW7GFrtdBPTSm4djTwZojM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f706ae0deec9a4c1ece00967a2a776ef","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"f706ae0deec9a4c1ece00967a2a776ef"} device-1 | {"level":"info","message":"POST /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a/websocket 200 38ms","method":"POST","requestID":"f706ae0deec9a4c1ece00967a2a776ef","responseTime":38,"status":200,"url":"/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a/websocket"} gateway-1 | {"time_local":"18/Sep/2024:16:24:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.044","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f706ae0deec9a4c1ece00967a2a776ef"} device-1 | {"level":"info","message":"Sending changed-callback for device 'http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cf9e9f1859a922283d2950ddabaa8b3e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"cf9e9f1859a922283d2950ddabaa8b3e","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","device":{"announcedAvailability":[],"codeUrl":"http://localhost/cloud_instantiable_device","connected":true,"description":"A JS test device","devices":[],"instantiateUrl":"http://localhost/edge_instantiable_device","isPublic":true,"name":"JS Device 1","services":[],"type":"device","url":"http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a"},"eventType":"device-changed"}},"level":"info","message":"received a callback","requestID":"cf9e9f1859a922283d2950ddabaa8b3e"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9ac02c73c0f6bd0ef33f11bf9e960470","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"9ac02c73c0f6bd0ef33f11bf9e960470","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"18/Sep/2024:16:24:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a? HTTP/1.1","status": "200","body_bytes_sent":"26","request_time":"0.005","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"9ac02c73c0f6bd0ef33f11bf9e960470"} device-1 | {"level":"info","message":"OPTIONS /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a? 200 1ms","method":"OPTIONS","requestID":"9ac02c73c0f6bd0ef33f11bf9e960470","responseTime":1,"status":200,"url":"/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a?"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 19ms","method":"POST","requestID":"cf9e9f1859a922283d2950ddabaa8b3e","responseTime":19,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch","requestID":"cf9e9f1859a922283d2950ddabaa8b3e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlpBV3FEc1l0aG9JakZndXhLTjNJTmtuN2NRQ1p2OFZseUpuZ1l1WDRDVFZTQl94aDNzUDlpSVY5RFV1SzBSM1JNa05acEREWEptSWN6WllQWjVCWlN3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY4MH0.azSiqWTKg7u3jybKZeZ-5eW7GFrtdBPTSm4djTwZojM","level":"info","message":"auth send jwt","requestID":"5d2f8356659888aba09165f73c36c5da"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"5d2f8356659888aba09165f73c36c5da","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"5d2f8356659888aba09165f73c36c5da"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1681,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1681,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.286622,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:40Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"5d2f8356659888aba09165f73c36c5da","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","object_type":"device","payload":{"admin":true,"edgeToken":"ZAWqDsYthoIjFguxKN3INkn7cQCZv8VlyJngYuX4CTVSB_xh3sP9iIV9DUuK0R3RMkNZpDDXJmIczZYPZ5BZSw","iat":1726676680,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlpBV3FEc1l0aG9JakZndXhLTjNJTmtuN2NRQ1p2OFZseUpuZ1l1WDRDVFZTQl94aDNzUDlpSVY5RFV1SzBSM1JNa05acEREWEptSWN6WllQWjVCWlN3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY4MH0.azSiqWTKg7u3jybKZeZ-5eW7GFrtdBPTSm4djTwZojM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5d2f8356659888aba09165f73c36c5da","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:38.615996165Z"}]},"request_id":"84193359-0711-4b2d-82db-4d37df0c6a1b","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676680.8357034} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5d2f8356659888aba09165f73c36c5da","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1ed9059b-726f-4794-8ce7-432d45caa53e","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676680.843028} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"5d2f8356659888aba09165f73c36c5da","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:38.615996165Z"}]},"request_id":"046be7e5-6913-40b7-81a1-ea944e739f96","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676680.8552659} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5d2f8356659888aba09165f73c36c5da","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"Sending changed-callback for device 'http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a' to 'http://localhost/callbacks/experiment'","requestID":"5d2f8356659888aba09165f73c36c5da"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"5d2f8356659888aba09165f73c36c5da"} gateway-1 | {"time_local":"18/Sep/2024:16:24:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.045","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"5d2f8356659888aba09165f73c36c5da"} device-1 | {"level":"info","message":"PATCH /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a? 200 38ms","method":"PATCH","requestID":"5d2f8356659888aba09165f73c36c5da","responseTime":38,"status":200,"url":"/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7c0ef1790d97959a6aec6f019f07363d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"7c0ef1790d97959a6aec6f019f07363d","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","device":{"announcedAvailability":[],"codeUrl":"http://localhost/cloud_instantiable_device","connected":true,"description":"A JS test device","devices":[],"instantiateUrl":"http://localhost/edge_instantiable_device","isPublic":true,"name":"JS Device 1","services":[{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},{"serviceDirection":"producer","serviceId":"file_producer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]},{"serviceDirection":"consumer","serviceId":"file_consumer","serviceType":"https://api.goldi-labs.de/serviceTypes/file","supportedConnectionTypes":["webrtc"]}],"type":"device","url":"http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a"},"eventType":"device-changed"}},"level":"info","message":"received a callback","requestID":"7c0ef1790d97959a6aec6f019f07363d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 7ms","method":"POST","requestID":"7c0ef1790d97959a6aec6f019f07363d","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"7c0ef1790d97959a6aec6f019f07363d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY4MH0.HIpYSjzzzsxj3LMqnw0DZOzN3Io_Ls0ybLAJtTIbSQ4","level":"info","message":"auth send jwt","requestID":"fbc3f7237cc4a24fbcc5fa4f3dd64853"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"fbc3f7237cc4a24fbcc5fa4f3dd64853","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fbc3f7237cc4a24fbcc5fa4f3dd64853"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1682,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1682,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.154413,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"fbc3f7237cc4a24fbcc5fa4f3dd64853","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676680,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY4MH0.HIpYSjzzzsxj3LMqnw0DZOzN3Io_Ls0ybLAJtTIbSQ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fbc3f7237cc4a24fbcc5fa4f3dd64853","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:38.615996165Z"}]},"request_id":"abb1017a-aa72-4c1d-a31f-2228d8fc4fec","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676680.885639} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"fbc3f7237cc4a24fbcc5fa4f3dd64853","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fbc3f7237cc4a24fbcc5fa4f3dd64853"} device-1 | {"level":"info","message":"GET /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a? 200 17ms","method":"GET","requestID":"fbc3f7237cc4a24fbcc5fa4f3dd64853","responseTime":17,"status":200,"url":"/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a?"} gateway-1 | {"time_local":"18/Sep/2024:16:24:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"fbc3f7237cc4a24fbcc5fa4f3dd64853"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY4MH0.HIpYSjzzzsxj3LMqnw0DZOzN3Io_Ls0ybLAJtTIbSQ4","level":"info","message":"auth send jwt","requestID":"d513a054ced47fd02dc9889c8485f546"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d513a054ced47fd02dc9889c8485f546","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d513a054ced47fd02dc9889c8485f546"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1683,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:40Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1683,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.348747,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"d513a054ced47fd02dc9889c8485f546","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676680,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY4MH0.HIpYSjzzzsxj3LMqnw0DZOzN3Io_Ls0ybLAJtTIbSQ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d513a054ced47fd02dc9889c8485f546","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:36.308241131Z"}]},"request_id":"fdd7fc94-872b-48fb-aa4c-a3ea3737cb33","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676680.9099176} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d513a054ced47fd02dc9889c8485f546","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d513a054ced47fd02dc9889c8485f546"} gateway-1 | {"time_local":"18/Sep/2024:16:24:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/01cb0475-6886-4023-a47b-72d839ff9738? HTTP/1.1","status": "200","body_bytes_sent":"998","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d513a054ced47fd02dc9889c8485f546"} device-1 | {"level":"info","message":"GET /devices/01cb0475-6886-4023-a47b-72d839ff9738? 200 16ms","method":"GET","requestID":"d513a054ced47fd02dc9889c8485f546","responseTime":16,"status":200,"url":"/devices/01cb0475-6886-4023-a47b-72d839ff9738?"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8346a4a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8346f2c0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1684,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1684,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.395749,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8346a4a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676678,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3OH0.JDr7Np4MDDZ1FOgFbal3XutYlK5ZDe9-5NXhEVMl7KM"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"8346a4a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44770","level":"info","msg":"Received request.","req_id":1685,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"client_addr":"127.0.0.1:44770","level":"info","msg":"Sent response.","req_id":1685,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.539032,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"8346f2c0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676678,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3OH0.JDr7Np4MDDZ1FOgFbal3XutYlK5ZDe9-5NXhEVMl7KM"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"8346f2c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:38.615996165Z"}]},"request_id":"2c3fa2dc-4033-4666-8817-81c1ac40eeb9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676683.7700975} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"8346a4a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:36.308241131Z"}]},"request_id":"4c5f5422-d1d1-45c6-bd65-223ae79bff15","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676683.7716172} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8346f2c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8346a4a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a? 200 25ms","method":"GET","requestID":"8346a4a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8346f2c0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/01cb0475-6886-4023-a47b-72d839ff9738? 200 25ms","method":"GET","requestID":"8346f2c0-75da-11ef-ba7c-09eaa4331ae1","responseTime":25,"status":200,"url":"/devices/01cb0475-6886-4023-a47b-72d839ff9738?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"834b1170-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1686,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"27d756a5-e9fa-4ec0-9af7-9e25d8ed9af8","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676683.789952} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1686,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.774405,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"834b1170-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"834b1170-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"834b1170-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a/signaling 200 13ms","method":"POST","requestID":"834b1170-75da-11ef-ba7c-09eaa4331ae1","responseTime":13,"status":200,"url":"/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"834d8270-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1687,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"10c82bb7-709e-46aa-a0e9-424451f2b8ae","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676683.8064542} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1687,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.111977,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"834d8270-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"834d8270-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"834d8270-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/01cb0475-6886-4023-a47b-72d839ff9738/signaling 200 14ms","method":"POST","requestID":"834d8270-75da-11ef-ba7c-09eaa4331ae1","responseTime":14,"status":200,"url":"/devices/01cb0475-6886-4023-a47b-72d839ff9738/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"83501a80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"835068a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1688,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1688,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.299319,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"client_addr":"127.0.0.1:44770","level":"info","msg":"Received request.","req_id":1689,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"83501a80-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676678,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3OH0.JDr7Np4MDDZ1FOgFbal3XutYlK5ZDe9-5NXhEVMl7KM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"83501a80-75da-11ef-ba7c-09eaa4331ae1","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44770","level":"info","msg":"Sent response.","req_id":1689,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.67334,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"835068a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676678,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3OH0.JDr7Np4MDDZ1FOgFbal3XutYlK5ZDe9-5NXhEVMl7KM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"835068a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:38.615996165Z"}]},"request_id":"9efc3cde-8fbb-4cd1-bdee-5fb1deb539f5","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676683.8284214} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"83501a80-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"},"timestamp":"2024-09-18T16:24:36.308241131Z"}]},"request_id":"593536e7-22b4-4011-b159-60603e008574","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676683.8297448} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"835068a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"83501a80-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a? 200 21ms","method":"GET","requestID":"83501a80-75da-11ef-ba7c-09eaa4331ae1","responseTime":21,"status":200,"url":"/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"835068a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /devices/01cb0475-6886-4023-a47b-72d839ff9738? 200 21ms","method":"GET","requestID":"835068a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":21,"status":200,"url":"/devices/01cb0475-6886-4023-a47b-72d839ff9738?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"},"level":"info","message":"Building connection plan","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"eaa34625-6880-4f11-92c5-38e1ba34d2f6"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"eb502a62-b9dd-4438-87c7-753e2cddfa96"}],"serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","uuid":"dffbd4a7-32c8-4bbe-886c-185818a6a310"}]},"level":"info","message":"Built pairwise service configurations","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} experiment-1 | {"data":{"connectionPlan":[{"configuration":{"iceServers":[{"urls":"stun:stun.goldi-labs.de:3478"},{"credential":"goldi","urls":"turn:turn.goldi-labs.de:3478","username":"goldi"}]},"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"83541220-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1690,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1690,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.127596,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"83541220-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676678,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY3OH0.JDr7Np4MDDZ1FOgFbal3XutYlK5ZDe9-5NXhEVMl7KM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"83541220-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined#owner@http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]}},"raw_response":{},"request_id":"beeb4a7a-05cf-41fe-8d76-f520fe491038","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676683.8626482} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fb301516-cfee-4167-b5e7-d1611446c3aa","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676683.8631222} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"83541220-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"83541220-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"83541220-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a'","requestID":"83541220-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a'","requestID":"83541220-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"83541220-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 39ms","method":"POST","requestID":"83541220-75da-11ef-ba7c-09eaa4331ae1","responseTime":39,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"83541220-75da-11ef-ba7c-09eaa4331ae1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"2a2861bd0c8f55e808baf544e2f51a99"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"835e9970-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1691,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"40b9f522-c8c1-4001-9548-479f94b9bf4a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676683.9153154} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1691,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.387889,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"835e9970-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"835e9970-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"f7c66691-b588-4c47-a8ae-8944a1a2145a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"f7c66691-b588-4c47-a8ae-8944a1a2145a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"835e9970-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a/signaling 200 9ms","method":"POST","requestID":"835e9970-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"83604720-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1692,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:43Z"} device-1 | {"device":"01cb0475-6886-4023-a47b-72d839ff9738","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"01cb0475-6886-4023-a47b-72d839ff9738","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a840c9cf-c14e-43a1-bcb9-0fe480a61eb9","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676683.9273396} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1692,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.893347,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"83604720-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"83604720-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"83604720-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/01cb0475-6886-4023-a47b-72d839ff9738/signaling 200 9ms","method":"POST","requestID":"83604720-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/01cb0475-6886-4023-a47b-72d839ff9738/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 361506354485516766 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:jUq8\r\na=ice-pwd:BBlcMoBiz4Y1IYVDsNjIN+1v\r\na=ice-options:trickle\r\na=fingerprint:sha-256 E5:27:30:6D:3B:69:A5:02:65:23:86:67:43:93:A0:BF:B8:18:B0:DF:DC:B6:9C:54:A3:F5:AD:C6:14:9E:8B:A0\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"f7c66691-b588-4c47-a8ae-8944a1a2145a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 8826760383630859838 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:IID6\r\na=ice-pwd:Ua0cgYtfrQY451QB1nfgZvMN\r\na=ice-options:trickle\r\na=fingerprint:sha-256 8B:7D:F0:34:41:81:63:F3:61:22:81:DB:D2:02:45:BE:4E:BC:2B:22:68:A7:4F:CB:CB:77:41:F8:EF:80:64:10\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"01cb0475-6886-4023-a47b-72d839ff9738","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1040897656 1 udp 2113937151 21fafca8-fcd9-4ce4-bede-e9ac8e698d22.local 49121 typ host generation 0 ufrag IID6 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"01cb0475-6886-4023-a47b-72d839ff9738","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2904651627 1 udp 1677729535 141.24.211.56 49121 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag IID6 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"01cb0475-6886-4023-a47b-72d839ff9738","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738'"} device-1 | {"content":{"candidate":"candidate:1220766928 1 udp 2113937151 6e698f5b-bbde-4968-a380-cafcabcf8a72.local 48720 typ host generation 0 ufrag jUq8 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"f7c66691-b588-4c47-a8ae-8944a1a2145a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3438151343 1 udp 1677729535 141.24.211.56 48720 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag jUq8 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"f7c66691-b588-4c47-a8ae-8944a1a2145a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a'"} device-1 | {"device":"f7c66691-b588-4c47-a8ae-8944a1a2145a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"5cde8fcf-c8a8-4940-936f-0baa7b4d950a","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"01cb0475-6886-4023-a47b-72d839ff9738","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f87de632d05e9b9bf133663f76713846","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} device-1 | {"device":"f7c66691-b588-4c47-a8ae-8944a1a2145a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f87de632d05e9b9bf133663f76713846","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"01cb0475-6886-4023-a47b-72d839ff9738","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a"}}},"level":"info","message":"received a callback","requestID":"f87de632d05e9b9bf133663f76713846"} device-1 | {"device":"01cb0475-6886-4023-a47b-72d839ff9738","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"f7c66691-b588-4c47-a8ae-8944a1a2145a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"f87de632d05e9b9bf133663f76713846","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.007","http_referrer":"","http_user_agent":"node-fetch","requestID":"f87de632d05e9b9bf133663f76713846"} device-1 | {"device":"01cb0475-6886-4023-a47b-72d839ff9738","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"5cde8fcf-c8a8-4940-936f-0baa7b4d950a","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"5cde8fcf-c8a8-4940-936f-0baa7b4d950a","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"5cde8fcf-c8a8-4940-936f-0baa7b4d950a","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"abf00712b64d1449ca4a62528de1f156","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"abf00712b64d1449ca4a62528de1f156","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a"}}},"level":"info","message":"received a callback","requestID":"abf00712b64d1449ca4a62528de1f156"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"836b43a0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1693,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F5cde8fcf-c8a8-4940-936f-0baa7b4d950a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"af16b7cc-63a9-445e-be51-132c27199b1a","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676683.9985607} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1693,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.134399,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"836b43a0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"836b43a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"836b43a0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"GET /peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a 200 7ms","method":"GET","requestID":"836b43a0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 28ms","method":"POST","requestID":"abf00712b64d1449ca4a62528de1f156","responseTime":28,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.031","http_referrer":"","http_user_agent":"node-fetch","requestID":"abf00712b64d1449ca4a62528de1f156"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"836f1430-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1694,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:44Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"31e40240-389f-4257-b0ee-a5bd89db5ae0","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676684.023811} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1694,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.062814,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"836f1430-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"836f1430-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"836f1430-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/01cb0475-6886-4023-a47b-72d839ff9738/signaling 200 8ms","method":"POST","requestID":"836f1430-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/devices/01cb0475-6886-4023-a47b-72d839ff9738/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"83709ad0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1695,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:44Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d6721dc0-3fff-45e9-b91c-2c73b88588bb","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676684.034181} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1695,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.835258,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"83709ad0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"83709ad0-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"83709ad0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a/signaling 200 9ms","method":"POST","requestID":"83709ad0-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY4NH0.keO8uHi6izVF94EgFwSwAf3t5mtrpMlTEMnSyK-hg6o","level":"info","message":"auth send jwt","requestID":"3a992bf88294d36491b955e7e32578b6"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3a992bf88294d36491b955e7e32578b6","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/ac027642-d5f6-4893-bb6c-b6304e1406da","requestID":"3a992bf88294d36491b955e7e32578b6"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1696,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1696,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.719006,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"3a992bf88294d36491b955e7e32578b6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676684,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY4NH0.keO8uHi6izVF94EgFwSwAf3t5mtrpMlTEMnSyK-hg6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3a992bf88294d36491b955e7e32578b6","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/ac027642-d5f6-4893-bb6c-b6304e1406da","requestID":"3a992bf88294d36491b955e7e32578b6"} experiment-1 | {"level":"info","message":"GET /experiments/ac027642-d5f6-4893-bb6c-b6304e1406da 200 10ms","method":"GET","requestID":"3a992bf88294d36491b955e7e32578b6","responseTime":10,"status":200,"url":"/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"} gateway-1 | {"time_local":"18/Sep/2024:16:24:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/ac027642-d5f6-4893-bb6c-b6304e1406da HTTP/1.1","status": "200","body_bytes_sent":"1181","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3a992bf88294d36491b955e7e32578b6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY4NH0.keO8uHi6izVF94EgFwSwAf3t5mtrpMlTEMnSyK-hg6o","level":"info","message":"auth send jwt","requestID":"45aab3d1ab4e1cb65de6ee60b207e662"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"45aab3d1ab4e1cb65de6ee60b207e662","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/ac027642-d5f6-4893-bb6c-b6304e1406da","requestID":"45aab3d1ab4e1cb65de6ee60b207e662"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1697,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1697,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.272089,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:44Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"45aab3d1ab4e1cb65de6ee60b207e662","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"experiment:http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da","object_type":"experiment","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676684,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY4NH0.keO8uHi6izVF94EgFwSwAf3t5mtrpMlTEMnSyK-hg6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"45aab3d1ab4e1cb65de6ee60b207e662","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"},"level":"info","message":"Attempting to finish experiment","requestID":"45aab3d1ab4e1cb65de6ee60b207e662"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"837b4930-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1698,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1698,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.697456,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:44Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"837b4930-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"peerconnection:http://localhost/peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676684,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY4NH0.keO8uHi6izVF94EgFwSwAf3t5mtrpMlTEMnSyK-hg6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"837b4930-75da-11ef-ba7c-09eaa4331ae1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a","device":"01cb0475-6886-4023-a47b-72d839ff9738","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a","device":"f7c66691-b588-4c47-a8ae-8944a1a2145a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"5cde8fcf-c8a8-4940-936f-0baa7b4d950a","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F5cde8fcf-c8a8-4940-936f-0baa7b4d950a': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F5cde8fcf-c8a8-4940-936f-0baa7b4d950a","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"80642a76-fa1b-4523-bdf0-92a7cd277945","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676684.1209385} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"59c654e2-c56a-4608-9c77-829efed07eb6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676684.1212404} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"837b4930-75da-11ef-ba7c-09eaa4331ae1","responseTime":9,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e47d700344e66b915113f82f3553a6f3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"e47d700344e66b915113f82f3553a6f3","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a"}}},"level":"info","message":"received a callback","requestID":"e47d700344e66b915113f82f3553a6f3"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e6ce47ebecd7cc9dd19086ae97e43395","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"e6ce47ebecd7cc9dd19086ae97e43395","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"837b4930-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a 204 28ms","method":"DELETE","requestID":"837b4930-75da-11ef-ba7c-09eaa4331ae1","responseTime":28,"status":204,"url":"/peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738"},{"config":{"services":[{"interfaces":[],"remoteServiceDescription":{"interfaces":[{"availableSignals":{"gpio":["gpio1","gpio2"]},"interfaceType":"gpio"}],"serviceDirection":"prosumer","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical","supportedConnectionTypes":["webrtc"]},"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"https://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/5cde8fcf-c8a8-4940-936f-0baa7b4d950a"}}},"level":"info","message":"received a callback","requestID":"e6ce47ebecd7cc9dd19086ae97e43395"} device-1 | {"level":"info","message":"deleteDevicesByDeviceId called","requestID":"837fdd10-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1699,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:44Z"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1699,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.197476,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:44Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"837fdd10-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","object_type":"device","payload":{"admin":true,"edgeToken":"UhUBGzfkVKOK0RW8rmmZ-PmdEXS_9_wtyP8VZbWrhNQM-gJWOgXFUyKdh-CIb6LEuXAwtV-txegspVbjpdt7LQ","iat":1726676684,"sub":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40","subject_alt":"http://localhost/users/1b641509-1da0-4d3b-b47b-09a6d3651f40"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFiNjQxNTA5LTFkYTAtNGQzYi1iNDdiLTA5YTZkMzY1MWY0MCIsImVkZ2VUb2tlbiI6IlVoVUJHemZrVktPSzBSVzhybW1aLVBtZEVYU185X3d0eVA4VlpiV3JoTlFNLWdKV09nWEZVeUtkaC1DSWI2TEV1WEF3dFYtdHhlZ3NwVmJqcGR0N0xRIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNjY3NjY4NH0.keO8uHi6izVF94EgFwSwAf3t5mtrpMlTEMnSyK-hg6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"837fdd10-75da-11ef-ba7c-09eaa4331ae1","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738'"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"82dcc341-bfa4-475c-8073-c32727d4d9d6","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676684.146124} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"75f9b30d-105d-4f6f-85b7-4215beed6606","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676684.1464825} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"837fdd10-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"deleteDevicesByDeviceId succeeded","requestID":"837fdd10-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"DELETE /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a 204 33ms","method":"DELETE","requestID":"837fdd10-75da-11ef-ba7c-09eaa4331ae1","responseTime":33,"status":204,"url":"/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"},"level":"info","message":"Successfully finished experiment","requestID":"45aab3d1ab4e1cb65de6ee60b207e662"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"83884180-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1700,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:44Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F01cb0475-6886-4023-a47b-72d839ff9738","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5b649ba4-c9cf-4ef8-b1fa-b23718ed2573","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676684.1918342} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1700,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.471972,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"83884180-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"83884180-75da-11ef-ba7c-09eaa4331ae1","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"83884180-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/01cb0475-6886-4023-a47b-72d839ff9738/signaling 200 15ms","method":"POST","requestID":"83884180-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":200,"url":"/devices/01cb0475-6886-4023-a47b-72d839ff9738/signaling"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fac027642-d5f6-4893-bb6c-b6304e1406da': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fac027642-d5f6-4893-bb6c-b6304e1406da","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1b641509-1da0-4d3b-b47b-09a6d3651f40"}]},"store_id":"01J82Z0ZRQX54QPANANXRRAA61","writes":null},"raw_response":{},"request_id":"fdd8a6b0-8d7f-46fb-a1ae-7ff100c6c2c7","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676684.1992118} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"id":"01J82Z0ZT32NN50CKPEH681RM2","store_id":"01J82Z0ZRQX54QPANANXRRAA61"},"raw_response":{"authorization_model":{"id":"01J82Z0ZT32NN50CKPEH681RM2","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"640f0111-4c9d-4b11-89f9-4a0001811bb2","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676684.1998372} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"838b27b0-75da-11ef-ba7c-09eaa4331ae1"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"45aab3d1ab4e1cb65de6ee60b207e662","responseTime":23,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Received request.","req_id":1701,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-09-18T16:24:44Z"} authorization-1 | {"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:53234","raw_request":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","contextual_tuples":null,"store_id":"01J82Z0ZRQX54QPANANXRRAA61","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff7c66691-b588-4c47-a8ae-8944a1a2145a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"67233018-9c56-4eea-941b-50ed8d9f4529","store_id":"01J82Z0ZRQX54QPANANXRRAA61","subsystem":"openfga","timestamp":1726676684.2118711} authorization-1 | {"client_addr":"127.0.0.1:33636","level":"info","msg":"Sent response.","req_id":1701,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.035431,"resp_status":200,"subsystem":"opa","time":"2024-09-18T16:24:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","openfga":{"authorization_model_id":"01J82Z0ZT32NN50CKPEH681RM2","store":"01J82Z0ZRQX54QPANANXRRAA61"},"requestID":"838b27b0-75da-11ef-ba7c-09eaa4331ae1","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"838b27b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"data":{"error":"MissingEntityError","message":"The requested Device Overview does not exist in the database","method":"POST","stack":"MissingEntityError: The requested Device Overview does not exist in the database\n at DeviceOverviewRepository.findOneOrFail (file:///usr/local/lib/node_modules/@crosslab/service-common/lib/esm/database/abstractRepository.js:63:19)\n at async DeviceRepository.findOneOrFail (file:///usr/local/lib/node_modules/@crosslab/service-device/app/database/repositories/device.js:155:32)\n at async Object.postDevicesByDeviceIdSignaling (file:///usr/local/lib/node_modules/@crosslab/service-device/app/operations/devices/device/signaling/post.js:22:25)\n at async file:///usr/local/lib/node_modules/@crosslab/service-device/app/generated/routes.js:276:28","status":404,"url":"/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a/signaling"},"level":"error","message":"An error occurred during the handling of a request","requestID":"838b27b0-75da-11ef-ba7c-09eaa4331ae1"} device-1 | {"level":"info","message":"POST /devices/f7c66691-b588-4c47-a8ae-8944a1a2145a/signaling 404 15ms","method":"POST","requestID":"838b27b0-75da-11ef-ba7c-09eaa4331ae1","responseTime":15,"status":404,"url":"/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a/signaling"} experiment-1 | {"data":{"response":{"body":{"error":"MissingEntityError","message":"The requested Device Overview does not exist in the database"},"status":404}},"level":"error","message":"Could not send status-update message","requestID":"45aab3d1ab4e1cb65de6ee60b207e662"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/ac027642-d5f6-4893-bb6c-b6304e1406da","requestID":"45aab3d1ab4e1cb65de6ee60b207e662"} gateway-1 | {"time_local":"18/Sep/2024:16:24:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/ac027642-d5f6-4893-bb6c-b6304e1406da HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.197","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"45aab3d1ab4e1cb65de6ee60b207e662"} experiment-1 | {"level":"info","message":"DELETE /experiments/ac027642-d5f6-4893-bb6c-b6304e1406da 204 194ms","method":"DELETE","requestID":"45aab3d1ab4e1cb65de6ee60b207e662","responseTime":194,"status":204,"url":"/experiments/ac027642-d5f6-4893-bb6c-b6304e1406da"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 160ms","method":"POST","requestID":"e47d700344e66b915113f82f3553a6f3","responseTime":160,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.163","http_referrer":"","http_user_agent":"node-fetch","requestID":"e47d700344e66b915113f82f3553a6f3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 159ms","method":"POST","requestID":"e6ce47ebecd7cc9dd19086ae97e43395","responseTime":159,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.162","http_referrer":"","http_user_agent":"node-fetch","requestID":"e6ce47ebecd7cc9dd19086ae97e43395"} gateway-1 | {"time_local":"18/Sep/2024:16:24:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3078","request_time":"5.909","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e816c72a8375393404fbd05c5d746b38"} gateway-1 | {"time_local":"18/Sep/2024:16:24:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2838","request_time":"3.524","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"fd11f76c1118417277583ab760c420f8"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/01cb0475-6886-4023-a47b-72d839ff9738' closed"} device-1 | {"level":"info","message":"Sending changed-callback for device 'http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a' closed"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"47aea22a0dfd241e0fa2cf734a7aae36","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"47aea22a0dfd241e0fa2cf734a7aae36","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","device":{"announcedAvailability":[],"codeUrl":"http://localhost/cloud_instantiable_device","connected":false,"description":"A JS test device","devices":[],"instantiateUrl":"http://localhost/edge_instantiable_device","isPublic":true,"name":"JS Device 1","services":[],"type":"device","url":"http://localhost/devices/f7c66691-b588-4c47-a8ae-8944a1a2145a"},"eventType":"device-changed"}},"level":"info","message":"received a callback","requestID":"47aea22a0dfd241e0fa2cf734a7aae36"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 410 2ms","method":"POST","requestID":"47aea22a0dfd241e0fa2cf734a7aae36","responseTime":2,"status":410,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"18/Sep/2024:16:24:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "410","body_bytes_sent":"5","request_time":"0.004","http_referrer":"","http_user_agent":"node-fetch","requestID":"47aea22a0dfd241e0fa2cf734a7aae36"} authorization-1 | {"level":"info","msg":"Shutting down...","subsystem":"opa","time":"2024-09-18T16:24:49Z"} authorization-1 | {"level":"info","msg":"Server shutdown.","subsystem":"opa","time":"2024-09-18T16:24:49Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"attempting to shutdown gracefully","subsystem":"openfga","timestamp":1726676689.4696653} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"server exited. goodbye ๐Ÿ‘‹","subsystem":"openfga","timestamp":1726676689.470297} forwarding-1 exited with code 0 experiment-1 exited with code 0 federation-1 exited with code 0 authentication-1 exited with code 0 device-1 exited with code 0 authorization-1 exited with code 0 gateway-1 exited with code 0